Public Member Functions | Public Attributes | List of all members
value_and_holder Struct Reference

#include <type_caster_base.h>

Public Member Functions

template<typename H >
Hholder () const
 
bool holder_constructed () const
 
bool instance_registered () const
 
 operator bool () const
 
void set_holder_constructed (bool v=true)
 
void set_instance_registered (bool v=true)
 
 value_and_holder ()=default
 
 value_and_holder (instance *i, const detail::type_info *type, size_t vpos, size_t index)
 
 value_and_holder (size_t index)
 
template<typename V = void>
V *& value_ptr () const
 

Public Attributes

size_t index = 0u
 
instanceinst = nullptr
 
const detail::type_info * type = nullptr
 
void ** vh = nullptr
 

Detailed Description

Definition at line 262 of file type_caster_base.h.

Constructor & Destructor Documentation

◆ value_and_holder() [1/3]

value_and_holder::value_and_holder ( instance i,
const detail::type_info *  type,
size_t  vpos,
size_t  index 
)
inline

Definition at line 269 of file type_caster_base.h.

◆ value_and_holder() [2/3]

value_and_holder::value_and_holder ( )
default

◆ value_and_holder() [3/3]

value_and_holder::value_and_holder ( size_t  index)
inlineexplicit

Definition at line 278 of file type_caster_base.h.

Member Function Documentation

◆ holder()

template<typename H >
H& value_and_holder::holder ( ) const
inline

Definition at line 288 of file type_caster_base.h.

◆ holder_constructed()

bool value_and_holder::holder_constructed ( ) const
inline

Definition at line 291 of file type_caster_base.h.

◆ instance_registered()

bool value_and_holder::instance_registered ( ) const
inline

Definition at line 306 of file type_caster_base.h.

◆ operator bool()

value_and_holder::operator bool ( ) const
inlineexplicit

Definition at line 285 of file type_caster_base.h.

◆ set_holder_constructed()

void value_and_holder::set_holder_constructed ( bool  v = true)
inline

Definition at line 297 of file type_caster_base.h.

◆ set_instance_registered()

void value_and_holder::set_instance_registered ( bool  v = true)
inline

Definition at line 312 of file type_caster_base.h.

◆ value_ptr()

template<typename V = void>
V*& value_and_holder::value_ptr ( ) const
inline

Definition at line 281 of file type_caster_base.h.

Member Data Documentation

◆ index

size_t value_and_holder::index = 0u

Definition at line 264 of file type_caster_base.h.

◆ inst

instance* value_and_holder::inst = nullptr

Definition at line 263 of file type_caster_base.h.

◆ type

const detail::type_info* value_and_holder::type = nullptr

Definition at line 265 of file type_caster_base.h.

◆ vh

void** value_and_holder::vh = nullptr

Definition at line 266 of file type_caster_base.h.


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


gtsam
Author(s):
autogenerated on Sat Nov 16 2024 04:10:18