Template Struct type_caster< kc::ks_ptr< kd::PhysicalSubhingeParams > >

Template Struct type_caster< kc::ks_ptr< kd::PhysicalSubhingeParams > >#

Struct Documentation#

template<>
struct type_caster<kc::ks_ptr<kd::PhysicalSubhingeParams>>#

Convert PhysicalSubhingeParams C++ objects to/from Python PhysicalSubhingeParams DataStruct objects.

Public Types

using T = kc::ks_ptr<kd::PhysicalSubhingeParams>#

Typedef for the type used by this type caster.

Public Functions

PYBIND11_TYPE_CASTER (T, const_name("Karana.Dynamics.SOADyn_types.PhysicalSubhingeParams"))

pybind11 type caster for PhysicalSubhingeParams

inline bool load(handle src, bool)#

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

Load a C++ parameter pointer from a Python PhysicalSubhingeParams.

Parameters:

src – The Python PhysicalSubhingeParams DataStruct

Returns:

A C++ PhysicalSubhingeParams

Public Static Functions

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

Cast a C++ PhysicalSubhingeParams to the Python PhysicalSubhingeParams DataStruct.

Cast a C++ parameter pointer to its concrete Python PhysicalSubhingeParams.

Parameters:

src – The C++ PhysicalSubhingeParams

Returns:

The Python PhysicalSubhingeParams DataStruct