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

#include <cast.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 (instance *i, const detail::type_info *type, size_t vpos, size_t index)
 
 value_and_holder ()=default
 
 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 210 of file cast.h.

Constructor & Destructor Documentation

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

Definition at line 217 of file cast.h.

value_and_holder::value_and_holder ( )
default
value_and_holder::value_and_holder ( size_t  index)
inline

Definition at line 226 of file cast.h.

Member Function Documentation

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

Definition at line 234 of file cast.h.

bool value_and_holder::holder_constructed ( ) const
inline

Definition at line 237 of file cast.h.

bool value_and_holder::instance_registered ( ) const
inline

Definition at line 250 of file cast.h.

value_and_holder::operator bool ( ) const
inlineexplicit

Definition at line 232 of file cast.h.

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

Definition at line 242 of file cast.h.

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

Definition at line 255 of file cast.h.

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

Definition at line 228 of file cast.h.

Member Data Documentation

size_t value_and_holder::index = 0u

Definition at line 212 of file cast.h.

instance* value_and_holder::inst = nullptr

Definition at line 211 of file cast.h.

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

Definition at line 213 of file cast.h.

void** value_and_holder::vh = nullptr

Definition at line 214 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:58