BitShares-Core  7.0.2
BitShares blockchain node software and command-line wallet software
Public Member Functions | List of all members
fc::variant::visitor Class Referenceabstract

#include <variant.hpp>

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

Public Member Functions

virtual ~visitor ()
 
virtual void handle () const =0
 handles null_type variants More...
 
virtual void handle (const int64_t &v) const =0
 
virtual void handle (const uint64_t &v) const =0
 
virtual void handle (const double &v) const =0
 
virtual void handle (const bool &v) const =0
 
virtual void handle (const std::string &v) const =0
 
virtual void handle (const variant_object &v) const =0
 
virtual void handle (const variants &v) const =0
 

Detailed Description

Read-only access to the content of the variant.

Definition at line 251 of file variant.hpp.

Constructor & Destructor Documentation

◆ ~visitor()

virtual fc::variant::visitor::~visitor ( )
inlinevirtual

Definition at line 254 of file variant.hpp.

Member Function Documentation

◆ handle() [1/8]

virtual void fc::variant::visitor::handle ( ) const
pure virtual

handles null_type variants

Implemented in fc::raw::variant_packer< Stream >.

◆ handle() [2/8]

virtual void fc::variant::visitor::handle ( const bool &  v) const
pure virtual

◆ handle() [3/8]

virtual void fc::variant::visitor::handle ( const double &  v) const
pure virtual

◆ handle() [4/8]

virtual void fc::variant::visitor::handle ( const int64_t &  v) const
pure virtual

◆ handle() [5/8]

virtual void fc::variant::visitor::handle ( const std::string &  v) const
pure virtual

◆ handle() [6/8]

virtual void fc::variant::visitor::handle ( const uint64_t &  v) const
pure virtual

◆ handle() [7/8]

virtual void fc::variant::visitor::handle ( const variant_object v) const
pure virtual

◆ handle() [8/8]

virtual void fc::variant::visitor::handle ( const variants v) const
pure virtual

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