BitShares-Core  6.1.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

◆ entry() [1/4]

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

Definition at line 11 of file variant_object.cpp.

◆ entry() [2/4]

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

Definition at line 12 of file variant_object.cpp.

◆ entry() [3/4]

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

Definition at line 13 of file variant_object.cpp.

◆ entry() [4/4]

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

Definition at line 14 of file variant_object.cpp.

Member Function Documentation

◆ key()

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

Definition at line 31 of file variant_object.cpp.

◆ operator=() [1/2]

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

Definition at line 15 of file variant_object.cpp.

◆ operator=() [2/2]

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

Definition at line 24 of file variant_object.cpp.

◆ set()

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

Definition at line 45 of file variant_object.cpp.

◆ value() [1/2]

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

Definition at line 36 of file variant_object.cpp.

◆ value() [2/2]

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: