Wire Sysio Wire Sysion 1.0.0
Loading...
Searching...
No Matches
fc::raw::detail::unpack_object_visitor< Stream, Class > Struct Template Reference

#include <raw.hpp>

Inheritance diagram for fc::raw::detail::unpack_object_visitor< Stream, Class >:
Collaboration diagram for fc::raw::detail::unpack_object_visitor< Stream, Class >:

Public Member Functions

 unpack_object_visitor (Class &_c, Stream &_s)
 
template<typename T , typename C , TC::* p>
void operator() (const char *name) const
 
- Public Member Functions inherited from fc::reflector_init_visitor< Class >
 reflector_init_visitor (Class &c)
 
void reflector_init () const
 
void reflector_init ()
 

Additional Inherited Members

- Protected Attributes inherited from fc::reflector_init_visitor< Class >
Class & obj
 

Detailed Description

template<typename Stream, typename Class>
struct fc::raw::detail::unpack_object_visitor< Stream, Class >

Definition at line 355 of file raw.hpp.

Constructor & Destructor Documentation

◆ unpack_object_visitor()

template<typename Stream , typename Class >
fc::raw::detail::unpack_object_visitor< Stream, Class >::unpack_object_visitor ( Class & _c,
Stream & _s )
inline

Definition at line 356 of file raw.hpp.

Member Function Documentation

◆ operator()()

template<typename Stream , typename Class >
template<typename T , typename C , TC::* p>
void fc::raw::detail::unpack_object_visitor< Stream, Class >::operator() ( const char * name) const
inline

Definition at line 360 of file raw.hpp.

361 { try {
362 fc::raw::unpack( s, this->obj.*p );
363 } FC_RETHROW_EXCEPTIONS( warn, "Error unpacking field ${field}", ("field",name) ) }
const mie::Vuint & p
Definition bn.cpp:27
std::string name
#define FC_RETHROW_EXCEPTIONS(LOG_LEVEL, FORMAT,...)
Catchs all exception's, std::exceptions, and ... and rethrows them after appending the provided log m...
void unpack(Stream &s, std::deque< T > &value)
Definition raw.hpp:540
Here is the call graph for this function:

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