Public Types | Public Member Functions | Static Public Member Functions | Public Attributes | Static Public Attributes | List of all members
type_caster< CharT, enable_if_t< is_std_char_type< CharT >::value > > Struct Template Reference

#include <cast.h>

Public Types

template<typename _T >
using cast_op_type = pybind11::detail::cast_op_type< _T >
 
using StringCaster = type_caster< StringType >
 
using StringType = std::basic_string< CharT >
 

Public Member Functions

bool load (handle src, bool convert)
 
 operator CharT & ()
 
 operator CharT * ()
 

Static Public Member Functions

static handle cast (const CharT *src, return_value_policy policy, handle parent)
 
static handle cast (CharT src, return_value_policy policy, handle parent)
 

Public Attributes

bool none = false
 
CharT one_char = 0
 
StringCaster str_caster
 

Static Public Attributes

static constexpr auto name = _(PYBIND11_STRING_NAME)
 

Detailed Description

template<typename CharT>
struct type_caster< CharT, enable_if_t< is_std_char_type< CharT >::value > >

Definition at line 1319 of file cast.h.

Member Typedef Documentation

template<typename CharT >
template<typename _T >
using type_caster< CharT, enable_if_t< is_std_char_type< CharT >::value > >::cast_op_type = pybind11::detail::cast_op_type<_T>

Definition at line 1401 of file cast.h.

template<typename CharT >
using type_caster< CharT, enable_if_t< is_std_char_type< CharT >::value > >::StringCaster = type_caster<StringType>

Definition at line 1321 of file cast.h.

template<typename CharT >
using type_caster< CharT, enable_if_t< is_std_char_type< CharT >::value > >::StringType = std::basic_string<CharT>

Definition at line 1320 of file cast.h.

Member Function Documentation

template<typename CharT >
static handle type_caster< CharT, enable_if_t< is_std_char_type< CharT >::value > >::cast ( const CharT *  src,
return_value_policy  policy,
handle  parent 
)
inlinestatic

Definition at line 1337 of file cast.h.

template<typename CharT >
static handle type_caster< CharT, enable_if_t< is_std_char_type< CharT >::value > >::cast ( CharT  src,
return_value_policy  policy,
handle  parent 
)
inlinestatic

Definition at line 1342 of file cast.h.

template<typename CharT >
bool type_caster< CharT, enable_if_t< is_std_char_type< CharT >::value > >::load ( handle  src,
bool  convert 
)
inline

Definition at line 1326 of file cast.h.

template<typename CharT >
type_caster< CharT, enable_if_t< is_std_char_type< CharT >::value > >::operator CharT & ( )
inline

Definition at line 1352 of file cast.h.

template<typename CharT >
type_caster< CharT, enable_if_t< is_std_char_type< CharT >::value > >::operator CharT * ( )
inline

Definition at line 1351 of file cast.h.

Member Data Documentation

template<typename CharT >
constexpr auto type_caster< CharT, enable_if_t< is_std_char_type< CharT >::value > >::name = _(PYBIND11_STRING_NAME)
static

Definition at line 1400 of file cast.h.

template<typename CharT >
bool type_caster< CharT, enable_if_t< is_std_char_type< CharT >::value > >::none = false

Definition at line 1323 of file cast.h.

template<typename CharT >
CharT type_caster< CharT, enable_if_t< is_std_char_type< CharT >::value > >::one_char = 0

Definition at line 1324 of file cast.h.

template<typename CharT >
StringCaster type_caster< CharT, enable_if_t< is_std_char_type< CharT >::value > >::str_caster

Definition at line 1322 of file cast.h.


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


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