cpp-reflect
C++ Reflection and Annotations Library
Loading...
Searching...
No Matches
refl::field_path Struct Referenceexport
module reflect

Public Member Functions

 field_path (const field_info *field)
 
 field_path (std::initializer_list< const field_info * > fields)
 
const type_infotype () const
 
void * get_ptr (void *obj) const
 
template<typename T>
T & get_ref (void *obj) const
 
bool operator== (const field_path &other) const
 

Detailed Description

Definition at line 68 of file type_info.cppm.

Constructor & Destructor Documentation

◆ field_path() [1/2]

refl::field_path::field_path ( const field_info * field)
inlineexport

Definition at line 71 of file type_info.cppm.

+ Here is the caller graph for this function:

◆ field_path() [2/2]

refl::field_path::field_path ( std::initializer_list< const field_info * > fields)
inlineexport

Definition at line 72 of file type_info.cppm.

Member Function Documentation

◆ get_ptr()

void * refl::field_path::get_ptr ( void * obj) const
inlineexport

Definition at line 78 of file type_info.cppm.

+ Here is the caller graph for this function:

◆ get_ref()

template<typename T>
T & refl::field_path::get_ref ( void * obj) const
inlineexport

Definition at line 89 of file type_info.cppm.

+ Here is the call graph for this function:

◆ operator==()

bool refl::field_path::operator== ( const field_path & other) const
inlineexport

Definition at line 93 of file type_info.cppm.

+ Here is the call graph for this function:

◆ type()

const type_info & refl::field_path::type ( ) const
inlineexport

Definition at line 74 of file type_info.cppm.


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