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

#include <stl.h>

Public Types

using key_conv = make_caster< Key >
 
using type = Type
 

Public Member Functions

bool load (handle src, bool convert)
 
 PYBIND11_TYPE_CASTER (type, const_name("Set[")+key_conv::name+const_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>
struct set_caster< Type, Key >

Definition at line 53 of file stl.h.

Member Typedef Documentation

◆ key_conv

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

Definition at line 55 of file stl.h.

◆ type

template<typename Type, typename Key>
using set_caster< Type, Key >::type = Type

Definition at line 54 of file stl.h.

Member Function Documentation

◆ cast()

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

Definition at line 74 of file stl.h.

◆ load()

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

Definition at line 57 of file stl.h.

◆ PYBIND11_TYPE_CASTER()

template<typename Type, typename Key>
set_caster< Type, Key >::PYBIND11_TYPE_CASTER ( type  ,
const_name("Set[")+key_conv::name+const_name("]")   
)

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


gtsam
Author(s):
autogenerated on Tue Jul 4 2023 02:41:06