Public Types | Public Member Functions | Static Public Attributes | Private Attributes | List of all members
type_caster< ConstRefCasted > Class Reference

Public Types

template<typename T_ >
using cast_op_type = conditional_t< std::is_same< remove_reference_t< T_ >, const ConstRefCasted * >::value, const ConstRefCasted *, conditional_t< std::is_same< T_, const ConstRefCasted & >::value, const ConstRefCasted &, conditional_t< std::is_same< remove_reference_t< T_ >, ConstRefCasted * >::value, ConstRefCasted *, conditional_t< std::is_same< T_, ConstRefCasted & >::value, ConstRefCasted &, ConstRefCasted && > >> >
 

Public Member Functions

bool load (handle, bool)
 
 operator const ConstRefCasted & ()
 
 operator const ConstRefCasted * ()
 
 operator ConstRefCasted & ()
 
 operator ConstRefCasted && ()
 
 operator ConstRefCasted * ()
 

Static Public Attributes

static constexpr auto name = const_name<ConstRefCasted>()
 

Private Attributes

ConstRefCasted value = {0}
 

Detailed Description

Definition at line 21 of file test_builtin_casters.cpp.

Member Typedef Documentation

◆ cast_op_type

template<typename T_ >
using type_caster< ConstRefCasted >::cast_op_type = conditional_t< std::is_same<remove_reference_t<T_>, const ConstRefCasted *>::value, const ConstRefCasted *, conditional_t< std::is_same<T_, const ConstRefCasted &>::value, const ConstRefCasted &, conditional_t<std::is_same<remove_reference_t<T_>, ConstRefCasted *>::value, ConstRefCasted *, conditional_t<std::is_same<T_, ConstRefCasted &>::value, ConstRefCasted &, ConstRefCasted &&> >> >

Definition at line 67 of file test_builtin_casters.cpp.

Member Function Documentation

◆ load()

bool type_caster< ConstRefCasted >::load ( handle  ,
bool   
)
inline

Definition at line 27 of file test_builtin_casters.cpp.

◆ operator const ConstRefCasted &()

type_caster< ConstRefCasted >::operator const ConstRefCasted & ( )
inlineexplicit

Definition at line 43 of file test_builtin_casters.cpp.

◆ operator const ConstRefCasted *()

type_caster< ConstRefCasted >::operator const ConstRefCasted * ( )
inlineexplicit

Definition at line 47 of file test_builtin_casters.cpp.

◆ operator ConstRefCasted &()

type_caster< ConstRefCasted >::operator ConstRefCasted & ( )
inlineexplicit

Definition at line 34 of file test_builtin_casters.cpp.

◆ operator ConstRefCasted &&()

type_caster< ConstRefCasted >::operator ConstRefCasted && ( )
inlineexplicit

Definition at line 29 of file test_builtin_casters.cpp.

◆ operator ConstRefCasted *()

type_caster< ConstRefCasted >::operator ConstRefCasted * ( )
inlineexplicit

Definition at line 38 of file test_builtin_casters.cpp.

Member Data Documentation

◆ name

constexpr auto type_caster< ConstRefCasted >::name = const_name<ConstRefCasted>()
staticconstexpr

Definition at line 23 of file test_builtin_casters.cpp.

◆ value

ConstRefCasted type_caster< ConstRefCasted >::value = {0}
private

Definition at line 70 of file test_builtin_casters.cpp.


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


gtsam
Author(s):
autogenerated on Tue Jun 25 2024 03:08:22