Public Types | Public Member Functions | Static Public Member Functions | List of all members
map_caster< Type, Key, Value > Struct Template Reference

#include <stl.h>

Public Types

using key_conv = make_caster< Key >
 
using value_conv = make_caster< Value >
 

Public Member Functions

bool load (handle src, bool convert)
 
 PYBIND11_TYPE_CASTER (Type, _("Dict[")+key_conv::name+_(", ")+value_conv::name+_("]"))
 

Static Public Member Functions

template<typename T >
static handle cast (T &&src, return_value_policy policy, handle parent)
 

Detailed Description

template<typename Type, typename Key, typename Value>
struct map_caster< Type, Key, Value >

Definition at line 101 of file stl.h.

Member Typedef Documentation

template<typename Type, typename Key, typename Value>
using map_caster< Type, Key, Value >::key_conv = make_caster<Key>

Definition at line 102 of file stl.h.

template<typename Type, typename Key, typename Value>
using map_caster< Type, Key, Value >::value_conv = make_caster<Value>

Definition at line 103 of file stl.h.

Member Function Documentation

template<typename Type, typename Key, typename Value>
template<typename T >
static handle map_caster< Type, Key, Value >::cast ( T &&  src,
return_value_policy  policy,
handle  parent 
)
inlinestatic

Definition at line 122 of file stl.h.

template<typename Type, typename Key, typename Value>
bool map_caster< Type, Key, Value >::load ( handle  src,
bool  convert 
)
inline

Definition at line 105 of file stl.h.

template<typename Type, typename Key, typename Value>
map_caster< Type, Key, Value >::PYBIND11_TYPE_CASTER ( Type  ,
_("Dict[")+key_conv::name+_(", ")+value_conv::name+_("]")   
)

The documentation for this struct was generated from the following file:


gtsam
Author(s):
autogenerated on Sat May 8 2021 02:51:48