Wire Sysio Wire Sysion 1.0.0
Loading...
Searching...
No Matches
fc::raw::variant_packer< Stream > Class Template Reference

#include <raw_variant.hpp>

Inheritance diagram for fc::raw::variant_packer< Stream >:
Collaboration diagram for fc::raw::variant_packer< Stream >:

Public Member Functions

 variant_packer (Stream &_s)
 
virtual void handle () const
 handles null_type variants
 
virtual void handle (const int64_t &v) const
 
virtual void handle (const uint64_t &v) const
 
virtual void handle (const double &v) const
 
virtual void handle (const bool &v) const
 
virtual void handle (const string &v) const
 
virtual void handle (const variant_object &v) const
 
virtual void handle (const variants &v) const
 
virtual void handle (const blob &v) const
 
- Public Member Functions inherited from fc::variant::visitor
virtual ~visitor ()
 

Public Attributes

Streams
 

Detailed Description

template<typename Stream>
class fc::raw::variant_packer< Stream >

Definition at line 10 of file raw_variant.hpp.

Constructor & Destructor Documentation

◆ variant_packer()

template<typename Stream >
fc::raw::variant_packer< Stream >::variant_packer ( Stream & _s)
inline

Definition at line 13 of file raw_variant.hpp.

13:s(_s){}

Member Function Documentation

◆ handle() [1/9]

template<typename Stream >
virtual void fc::raw::variant_packer< Stream >::handle ( ) const
inlinevirtual

Implements fc::variant::visitor.

Definition at line 14 of file raw_variant.hpp.

14{ }

◆ handle() [2/9]

template<typename Stream >
virtual void fc::raw::variant_packer< Stream >::handle ( const blob & v) const
inlinevirtual

Implements fc::variant::visitor.

Definition at line 43 of file raw_variant.hpp.

44 {
45 fc::raw::pack( s, v );
46 }
void pack(Stream &s, const std::deque< T > &value)
Definition raw.hpp:531
Here is the call graph for this function:

◆ handle() [3/9]

template<typename Stream >
virtual void fc::raw::variant_packer< Stream >::handle ( const bool & v) const
inlinevirtual

Implements fc::variant::visitor.

Definition at line 27 of file raw_variant.hpp.

28 {
29 fc::raw::pack( s, v );
30 }
Here is the call graph for this function:

◆ handle() [4/9]

template<typename Stream >
virtual void fc::raw::variant_packer< Stream >::handle ( const double & v) const
inlinevirtual

Implements fc::variant::visitor.

Definition at line 23 of file raw_variant.hpp.

24 {
25 fc::raw::pack( s, v );
26 }
Here is the call graph for this function:

◆ handle() [5/9]

template<typename Stream >
virtual void fc::raw::variant_packer< Stream >::handle ( const int64_t & v) const
inlinevirtual

Implements fc::variant::visitor.

Definition at line 15 of file raw_variant.hpp.

16 {
17 fc::raw::pack( s, v );
18 }
Here is the call graph for this function:

◆ handle() [6/9]

template<typename Stream >
virtual void fc::raw::variant_packer< Stream >::handle ( const string & v) const
inlinevirtual

Implements fc::variant::visitor.

Definition at line 31 of file raw_variant.hpp.

32 {
33 fc::raw::pack( s, v );
34 }
Here is the call graph for this function:

◆ handle() [7/9]

template<typename Stream >
virtual void fc::raw::variant_packer< Stream >::handle ( const uint64_t & v) const
inlinevirtual

Implements fc::variant::visitor.

Definition at line 19 of file raw_variant.hpp.

20 {
21 fc::raw::pack( s, v );
22 }
Here is the call graph for this function:

◆ handle() [8/9]

template<typename Stream >
virtual void fc::raw::variant_packer< Stream >::handle ( const variant_object & v) const
inlinevirtual

Implements fc::variant::visitor.

Definition at line 35 of file raw_variant.hpp.

36 {
37 fc::raw::pack( s, v );
38 }
Here is the call graph for this function:

◆ handle() [9/9]

template<typename Stream >
virtual void fc::raw::variant_packer< Stream >::handle ( const variants & v) const
inlinevirtual

Implements fc::variant::visitor.

Definition at line 39 of file raw_variant.hpp.

40 {
41 fc::raw::pack( s, v );
42 }
Here is the call graph for this function:

Member Data Documentation

◆ s

template<typename Stream >
Stream& fc::raw::variant_packer< Stream >::s

Definition at line 48 of file raw_variant.hpp.


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