Wire Sysio Wire Sysion 1.0.0
Loading...
Searching...
No Matches
fc::to_variant_visitor< T > Class Template Reference

#include <variant.hpp>

Public Member Functions

 to_variant_visitor (mutable_variant_object &mvo, const T &v)
 
template<typename Member , class Class , Member Class::* member>
void operator() (const char *name) const
 

Detailed Description

template<typename T>
class fc::to_variant_visitor< T >

Definition at line 14 of file variant.hpp.

Constructor & Destructor Documentation

◆ to_variant_visitor()

template<typename T >
fc::to_variant_visitor< T >::to_variant_visitor ( mutable_variant_object & mvo,
const T & v )
inline

Definition at line 17 of file variant.hpp.

18 :vo(mvo),val(v){}

Member Function Documentation

◆ operator()()

template<typename T >
template<typename Member , class Class , Member Class::* member>
void fc::to_variant_visitor< T >::operator() ( const char * name) const
inline

Definition at line 21 of file variant.hpp.

22 {
23 this->add(vo,name,(val.*member));
24 }
std::string name

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