cpp-reflect
C++ Reflection and Annotations Library
Loading...
Searching...
No Matches
formats::default_fmt< O > Struct Template Referenceexport
+ Inheritance diagram for formats::default_fmt< O >:
+ Collaboration diagram for formats::default_fmt< O >:

Classes

struct  args_t
 

Public Member Functions

 default_fmt (O &out_, args_t args_)
 
template<typename T>
void handle_value (const T &it)
 
template<typename T>
void handle_iterable (const T &iterable)
 
template<typename T, typename Field>
void handle_field (const T &obj)
 
template<typename T>
void handle_obj (const T &obj)
 
template<refl::Reflected R>
void serialize (const R &obj)
 
- Public Member Functions inherited from refl::visitor< default_fmt< O > >
 visitor ()=default
 
virtual ~visitor ()
 
void visit (const R &obj)
 

Additional Inherited Members

- Protected Member Functions inherited from refl::visitor< default_fmt< O > >
void visit_value (const T &obj)
 
void visit_reference (const T &obj)
 
void visit_pointer (const T *obj)
 
void visit_obj (const R &obj)
 
void visit_obj_field (const R &obj)
 
void visit_iterable (const T &iterable)
 
void visit_iterable_element (const T &item)
 
void visit_tuple (const T &it)
 
void visit_tuple_element (const T &item)
 
void visit_any (const T &it)
 

Detailed Description

template<typename O>
struct formats::default_fmt< O >

Definition at line 20 of file default.cppm.

Constructor & Destructor Documentation

◆ default_fmt()

template<typename O>
formats::default_fmt< O >::default_fmt ( O & out_,
args_t args_ )
inlineexplicitexport

Definition at line 26 of file default.cppm.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

Member Function Documentation

◆ handle_field()

template<typename O>
template<typename T, typename Field>
void formats::default_fmt< O >::handle_field ( const T & obj)
inlineexport

Definition at line 71 of file default.cppm.

+ Here is the call graph for this function:

◆ handle_iterable()

template<typename O>
template<typename T>
void formats::default_fmt< O >::handle_iterable ( const T & iterable)
inlineexport

Definition at line 66 of file default.cppm.

+ Here is the call graph for this function:

◆ handle_obj()

template<typename O>
template<typename T>
void formats::default_fmt< O >::handle_obj ( const T & obj)
inlineexport

Definition at line 98 of file default.cppm.

+ Here is the call graph for this function:

◆ handle_value()

template<typename O>
template<typename T>
void formats::default_fmt< O >::handle_value ( const T & it)
inlineexport

Definition at line 29 of file default.cppm.

+ Here is the call graph for this function:

◆ serialize()

template<typename O>
template<refl::Reflected R>
void formats::default_fmt< O >::serialize ( const R & obj)
inlineexport

Definition at line 110 of file default.cppm.

+ Here is the call graph for this function:

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