BitShares-Core  7.0.2
BitShares blockchain node software and command-line wallet 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:

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

◆ limited_mutable_variant_object()

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

◆ operator()() [1/2]

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

Definition at line 380 of file variant_object.cpp.

◆ operator()() [2/2]

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

Definition at line 226 of file variant_object.hpp.

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