Electroneum
epee::serialization::get_value_visitor< to_type > Struct Template Reference

#include <portable_storage.h>

Inheritance diagram for epee::serialization::get_value_visitor< to_type >:
Collaboration diagram for epee::serialization::get_value_visitor< to_type >:

Public Member Functions

 get_value_visitor (to_type &target)
 
template<class from_type >
void operator() (const from_type &v)
 

Public Attributes

to_type & m_target
 

Detailed Description

template<class to_type>
struct epee::serialization::get_value_visitor< to_type >

Definition at line 207 of file portable_storage.h.

Constructor & Destructor Documentation

◆ get_value_visitor()

template<class to_type>
epee::serialization::get_value_visitor< to_type >::get_value_visitor ( to_type &  target)
inline

Definition at line 210 of file portable_storage.h.

Member Function Documentation

◆ operator()()

template<class to_type>
template<class from_type >
void epee::serialization::get_value_visitor< to_type >::operator() ( const from_type &  v)
inline

Definition at line 212 of file portable_storage.h.

212 {convert_t(v, m_target);}
void convert_t(const from_type &from, to_type &to)
Here is the call graph for this function:

Member Data Documentation

◆ m_target

template<class to_type>
to_type& epee::serialization::get_value_visitor< to_type >::m_target

Definition at line 209 of file portable_storage.h.


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