Template Struct ConcreteSubhingeParamsCaster#

Struct Documentation#

template<typename Params>
struct ConcreteSubhingeParamsCaster#

General type caster that can be used on all concerte PhysicalSubhingeParams subtypes.

Public Types

using T = kc::ks_ptr<Params>#

The type this pybind11 caster uses.

Public Functions

PYBIND11_TYPE_CASTER(T, SubhingeParamsDSName<Params>::value)#

A pybind11 caster for PhysicalSubhingeParams subtypes.

inline bool load(handle src, bool)#

Load a C++ PhysicalSubhingeParams subtype from its Python DataStruct.

Parameters:

src – The associated Python DataStruct

Returns:

The C++ PhysicalSubhingeParams subtype associated with the DataStruct

Public Static Functions

static inline handle cast(const T &src, return_value_policy, handle)#

Convert a C++ PhysicalSubhingeParams subtype to its Python DataStruct.

Parameters:

src – A C++ PhysicalSubhingeParams subtype

Returns:

The associated Python DataStruct