BitShares-Core  4.0.0
BitShares blockchain implementation and command-line interface software
Namespaces | Typedefs | Functions
variant.cpp File Reference
#include <fc/variant.hpp>
#include <fc/variant_object.hpp>
#include <fc/exception/exception.hpp>
#include <fc/io/sstream.hpp>
#include <fc/io/json.hpp>
#include <fc/io/stdio.hpp>
#include <string.h>
#include <fc/crypto/base64.hpp>
#include <fc/crypto/hex.hpp>
#include <boost/scoped_array.hpp>
#include <fc/reflect/variant.hpp>
#include <algorithm>

Go to the source code of this file.

Namespaces

 fc
 

Typedefs

typedef const variant_object * fc::const_variant_object_ptr
 
typedef const variants * fc::const_variants_ptr
 
typedef const blob * fc::const_blob_ptr
 
typedef const string * fc::const_string_ptr
 

Functions

void fc::set_variant_type (variant *v, variant::type_id t)
 
void fc::from_variant (const variant &var, variants &vo, uint32_t max_depth)
 
void fc::from_variant (const variant &var, variant &vo, uint32_t max_depth)
 
void fc::to_variant (const uint8_t &var, variant &vo, uint32_t max_depth=1)
 
void fc::from_variant (const variant &var, uint8_t &vo, uint32_t max_depth=1)
 
void fc::to_variant (const int8_t &var, variant &vo, uint32_t max_depth=1)
 
void fc::from_variant (const variant &var, int8_t &vo, uint32_t max_depth=1)
 
void fc::to_variant (const uint16_t &var, variant &vo, uint32_t max_depth=1)
 
void fc::from_variant (const variant &var, uint16_t &vo, uint32_t max_depth=1)
 
void fc::to_variant (const int16_t &var, variant &vo, uint32_t max_depth=1)
 
void fc::from_variant (const variant &var, int16_t &vo, uint32_t max_depth=1)
 
void fc::to_variant (const uint32_t &var, variant &vo, uint32_t max_depth=1)
 
void fc::from_variant (const variant &var, uint32_t &vo, uint32_t max_depth=1)
 
void fc::to_variant (const int32_t &var, variant &vo, uint32_t max_depth=1)
 
void fc::from_variant (const variant &var, int32_t &vo, uint32_t max_depth=1)
 
void fc::to_variant (const int64_t &var, variant &vo, uint32_t max_depth=1)
 
void fc::from_variant (const variant &var, int64_t &vo, uint32_t max_depth=1)
 
void fc::to_variant (const uint64_t &var, variant &vo, uint32_t max_depth=1)
 
void fc::from_variant (const variant &var, uint64_t &vo, uint32_t max_depth=1)
 
void fc::to_variant (const bool &var, variant &vo, uint32_t max_depth=1)
 
void fc::from_variant (const variant &var, bool &vo, uint32_t max_depth=1)
 
void fc::from_variant (const variant &var, double &vo, uint32_t max_depth=1)
 
void fc::from_variant (const variant &var, float &vo, uint32_t max_depth=1)
 
void fc::to_variant (const std::string &s, variant &v, uint32_t max_depth=1)
 
void fc::from_variant (const variant &var, string &vo, uint32_t max_depth)
 
void fc::to_variant (const std::vector< char > &var, variant &vo, uint32_t max_depth=1)
 
void fc::from_variant (const variant &var, std::vector< char > &vo, uint32_t max_depth=1)
 
void fc::to_variant (const uint128_t &var, variant &vo, uint32_t max_depth=1)
 
void fc::from_variant (const variant &var, uint128_t &vo, uint32_t max_depth=1)
 
void fc::to_variant (long long int s, variant &v, uint32_t max_depth=1)
 
void fc::to_variant (unsigned long long int s, variant &v, uint32_t max_depth=1)
 
bool fc::operator== (const variant &a, const variant &b)
 
bool fc::operator!= (const variant &a, const variant &b)
 
bool fc::operator! (const variant &a)
 
bool fc::operator< (const variant &a, const variant &b)
 
bool fc::operator> (const variant &a, const variant &b)
 
bool fc::operator<= (const variant &a, const variant &b)
 
variant fc::operator+ (const variant &a, const variant &b)
 
variant fc::operator- (const variant &a, const variant &b)
 
variant fc::operator* (const variant &a, const variant &b)
 
variant fc::operator/ (const variant &a, const variant &b)