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

#include <variant_object.hpp>

Inheritance diagram for fc::limited_mutable_variant_object:
fc::mutable_variant_object

Public Member Functions

 limited_mutable_variant_object (uint32_t max_depth, bool skip_on_exception=false)
 
template<typename T >
limited_mutable_variant_objectoperator() (string key, T &&var)
 
limited_mutable_variant_objectoperator() (const variant_object &vo)
 
- Public Member Functions inherited from fc::mutable_variant_object
variantoperator[] (const string &key)
 
variantoperator[] (const char *key)
 
template<typename T >
 mutable_variant_object (T &&v)
 
 mutable_variant_object ()
 
 mutable_variant_object (string key, variant val)
 
template<typename T >
 mutable_variant_object (string key, T &&val)
 
 mutable_variant_object (mutable_variant_object &&)
 
 mutable_variant_object (const mutable_variant_object &)
 
 mutable_variant_object (const variant_object &)
 
mutable_variant_objectoperator= (mutable_variant_object &&)
 
mutable_variant_objectoperator= (const mutable_variant_object &)
 
mutable_variant_objectoperator= (const variant_object &)
 
iterator begin () const
 
iterator end () const
 
iterator find (const string &key) const
 
iterator find (const char *key) const
 
const variantoperator[] (const string &key) const
 
const variantoperator[] (const char *key) const
 
size_t size () const
 
void reserve (size_t s)
 
iterator begin ()
 
iterator end ()
 
void erase (const string &key)
 
iterator find (const string &key)
 
iterator find (const char *key)
 
mutable_variant_objectset (string key, variant var)
 
mutable_variant_objectoperator() (string key, variant var, uint32_t max_depth=1)
 
template<typename T >
mutable_variant_objectoperator() (string key, T &&var, uint32_t max_depth)
 
mutable_variant_objectoperator() (const variant_object &vo)
 
mutable_variant_objectoperator() (const mutable_variant_object &mvo)
 

Additional Inherited Members

- Public Types inherited from fc::mutable_variant_object
typedef variant_object::entry entry
 a key/value pair More...
 
typedef std::vector< entry >::iterator iterator
 
typedef std::vector< entry >::const_iterator const_iterator
 

Detailed Description

Definition at line 220 of file variant_object.hpp.

Constructor & Destructor Documentation

fc::limited_mutable_variant_object::limited_mutable_variant_object ( uint32_t  max_depth,
bool  skip_on_exception = false 
)

Definition at line 368 of file variant_object.cpp.

Member Function Documentation

template<typename T >
limited_mutable_variant_object& fc::limited_mutable_variant_object::operator() ( string  key,
T &&  var 
)
inline

Definition at line 226 of file variant_object.hpp.

limited_mutable_variant_object & fc::limited_mutable_variant_object::operator() ( const variant_object vo)

Definition at line 380 of file variant_object.cpp.


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