BitShares-Core  5.0.0
BitShares blockchain implementation and command-line interface software
Public Member Functions | Public Attributes | List of all members
fc::raw::variant_packer< Stream > Class Template Reference

#include <raw_variant.hpp>

Inheritance diagram for fc::raw::variant_packer< Stream >:
fc::variant::visitor

Public Member Functions

 variant_packer (Stream &_s, uint32_t _max_depth)
 
virtual void handle () const
 handles null_type variants More...
 
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
 
- Public Member Functions inherited from fc::variant::visitor
virtual ~visitor ()
 
virtual void handle (const std::string &v) const =0
 

Public Attributes

Stream & s
 
const uint32_t max_depth
 

Detailed Description

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

Definition at line 11 of file raw_variant.hpp.

Constructor & Destructor Documentation

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

Definition at line 14 of file raw_variant.hpp.

Member Function Documentation

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

handles null_type variants

Implements fc::variant::visitor.

Definition at line 18 of file raw_variant.hpp.

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

Implements fc::variant::visitor.

Definition at line 19 of file raw_variant.hpp.

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

Implements fc::variant::visitor.

Definition at line 23 of file raw_variant.hpp.

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

Implements fc::variant::visitor.

Definition at line 27 of file raw_variant.hpp.

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

Implements fc::variant::visitor.

Definition at line 31 of file raw_variant.hpp.

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

Definition at line 35 of file raw_variant.hpp.

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

Implements fc::variant::visitor.

Definition at line 39 of file raw_variant.hpp.

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

Implements fc::variant::visitor.

Definition at line 43 of file raw_variant.hpp.

Member Data Documentation

template<typename Stream >
const uint32_t fc::raw::variant_packer< Stream >::max_depth

Definition at line 49 of file raw_variant.hpp.

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: