BitShares-Core  5.0.0
BitShares blockchain implementation and command-line interface software
Public Member Functions | List of all members
fc::variant_object::entry Class Reference

a key/value pair More...

#include <variant_object.hpp>

Public Member Functions

 entry ()
 
 entry (string k, variant v)
 
 entry (entry &&e)
 
 entry (const entry &e)
 
entryoperator= (const entry &)
 
entryoperator= (entry &&)
 
const string & key () const
 
const variantvalue () const
 
void set (variant v)
 
variantvalue ()
 

Detailed Description

a key/value pair

Definition at line 24 of file variant_object.hpp.

Constructor & Destructor Documentation

fc::variant_object::entry::entry ( )

Definition at line 11 of file variant_object.cpp.

fc::variant_object::entry::entry ( string  k,
variant  v 
)

Definition at line 12 of file variant_object.cpp.

fc::variant_object::entry::entry ( entry &&  e)

Definition at line 13 of file variant_object.cpp.

fc::variant_object::entry::entry ( const entry e)

Definition at line 14 of file variant_object.cpp.

Member Function Documentation

const string & fc::variant_object::entry::key ( ) const

Definition at line 31 of file variant_object.cpp.

variant_object::entry & fc::variant_object::entry::operator= ( const entry e)

Definition at line 15 of file variant_object.cpp.

variant_object::entry & fc::variant_object::entry::operator= ( variant_object::entry &&  e)

Definition at line 24 of file variant_object.cpp.

void fc::variant_object::entry::set ( variant  v)

Definition at line 45 of file variant_object.cpp.

const variant & fc::variant_object::entry::value ( ) const

Definition at line 36 of file variant_object.cpp.

variant & fc::variant_object::entry::value ( )

Definition at line 40 of file variant_object.cpp.


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