BitShares-Core
7.0.2
BitShares blockchain node software and command-line wallet software
|
Namespaces | |
asio | |
defines fc wrappers for boost::asio functions. | |
detail | |
ecc | |
http | |
impl | |
ip | |
json_relaxed | |
member_names | |
raw | |
rpc | |
typelist | |
This namespace contains the list type, and all of the operations and queries which can be performed upon it. | |
Enumerations | |
enum | exception_code { unspecified_exception_code = 0, unhandled_exception_code = 1, timeout_exception_code = 2, file_not_found_exception_code = 3, parse_error_exception_code = 4, invalid_arg_exception_code = 5, key_not_found_exception_code = 6, bad_cast_exception_code = 7, out_of_range_exception_code = 8, canceled_exception_code = 9, assert_exception_code = 10, eof_exception_code = 11, std_exception_code = 13, invalid_operation_exception_code = 14, unknown_host_exception_code = 15, null_optional_code = 16, aes_error_code = 18, overflow_code = 19, underflow_code = 20, divide_by_zero_code = 21, method_not_found_exception_code = 22 } |
enum | mode_t { read_only, write_only, read_write } |
Functions | |
bloom_filter | operator& (const bloom_filter &a, const bloom_filter &b) |
bloom_filter | operator| (const bloom_filter &a, const bloom_filter &b) |
bloom_filter | operator^ (const bloom_filter &a, const bloom_filter &b) |
std::string | zlib_compress (const std::string &in) |
template<typename T , typename... A> | |
void | to_variant (const flat_set< T, A... > &var, variant &vo, uint32_t _max_depth) |
template<typename T , typename... A> | |
void | from_variant (const variant &var, flat_set< T, A... > &vo, uint32_t _max_depth) |
template<typename K , typename... T> | |
void | to_variant (const flat_map< K, T... > &var, variant &vo, uint32_t _max_depth) |
template<typename K , typename T , typename... A> | |
void | from_variant (const variant &var, flat_map< K, T, A... > &vo, uint32_t _max_depth) |
template<size_t N> | |
void | to_variant (const zero_initialized_array< unsigned char, N > &bi, variant &v, uint32_t max_depth=1) |
template<size_t N> | |
void | from_variant (const variant &v, zero_initialized_array< unsigned char, N > &bi, uint32_t max_depth=1) |
unsigned | aes_encrypt (unsigned char *plaintext, int plaintext_len, unsigned char *key, unsigned char *iv, unsigned char *ciphertext) |
unsigned | aes_decrypt (unsigned char *ciphertext, int ciphertext_len, unsigned char *key, unsigned char *iv, unsigned char *plaintext) |
unsigned | aes_cfb_decrypt (unsigned char *ciphertext, int ciphertext_len, unsigned char *key, unsigned char *iv, unsigned char *plaintext) |
std::vector< char > | aes_encrypt (const fc::sha512 &key, const std::vector< char > &plain_text) |
std::vector< char > | aes_decrypt (const fc::sha512 &key, const std::vector< char > &cipher_text) |
void | aes_save (const fc::path &file, const fc::sha512 &key, std::vector< char > plain_text) |
std::vector< char > | aes_load (const fc::path &file, const fc::sha512 &key) |
std::string | to_base58 (const char *d, size_t s) |
std::string | to_base58 (const std::vector< char > &data) |
std::vector< char > | from_base58 (const std::string &base58_str) |
size_t | from_base58 (const std::string &base58_str, char *out_data, size_t out_data_len) |
std::string | base64_encode (unsigned char const *bytes_to_encode, unsigned int in_len) |
std::string | base64_encode (char const *bytes_to_encode, unsigned int in_len) |
std::string | base64_encode (const std::string &enc) |
std::string | base64_decode (const std::string &encoded_string) |
void | to_variant (const bigint &bi, variant &v, uint32_t max_depth=1) |
void | from_variant (const variant &v, bigint &bi, uint32_t max_depth=1) |
uint64_t | city_hash64 (const char *buf, size_t len) |
uint32_t | city_hash32 (const char *buf, size_t len) |
size_t | city_hash_size_t (const char *buf, size_t len) |
uint128_t | city_hash_crc_128 (const char *s, size_t len) |
template<typename T > | |
fc::sha256 | digest (const T &value) |
void | to_variant (const ecc::private_key &var, variant &vo, uint32_t max_depth) |
void | from_variant (const variant &var, ecc::private_key &vo, uint32_t max_depth) |
void | to_variant (const ecc::public_key &var, variant &vo, uint32_t max_depth) |
void | from_variant (const variant &var, ecc::public_key &vo, uint32_t max_depth) |
void | to_variant (const hash160 &bi, variant &v, uint32_t max_depth) |
void | from_variant (const variant &v, hash160 &bi, uint32_t max_depth) |
uint8_t | from_hex (char c) |
std::string | to_hex (const char *d, uint32_t s) |
std::string | to_hex (const std::vector< char > &data) |
size_t | from_hex (const std::string &hex_str, char *out_data, size_t out_data_len) |
void | store_configuration_path (const path &filePath) |
int | init_openssl () |
void | rand_bytes (char *buf, int count) |
void | to_variant (const ripemd160 &bi, variant &v, uint32_t max_depth) |
void | from_variant (const variant &v, ripemd160 &bi, uint32_t max_depth) |
void | to_variant (const sha1 &bi, variant &v, uint32_t max_depth) |
void | from_variant (const variant &v, sha1 &bi, uint32_t max_depth) |
void | to_variant (const sha224 &bi, variant &v, uint32_t max_depth) |
void | from_variant (const variant &v, sha224 &bi, uint32_t max_depth) |
void | to_variant (const sha256 &bi, variant &v, uint32_t max_depth) |
void | from_variant (const variant &v, sha256 &bi, uint32_t max_depth) |
void | to_variant (const sha512 &bi, variant &v, uint32_t max_depth) |
void | from_variant (const variant &v, sha512 &bi, uint32_t max_depth) |
void | to_variant (const exception &e, variant &v, uint32_t max_depth) |
void | from_variant (const variant &e, exception &ll, uint32_t max_depth) |
template<typename T > | |
fc::exception_ptr | copy_exception (T &&e) |
FC_DECLARE_EXCEPTION (timeout_exception, timeout_exception_code) | |
FC_DECLARE_EXCEPTION (file_not_found_exception, file_not_found_exception_code) | |
FC_DECLARE_EXCEPTION (parse_error_exception, parse_error_exception_code) | |
reports parse errors More... | |
FC_DECLARE_EXCEPTION (invalid_arg_exception, invalid_arg_exception_code) | |
FC_DECLARE_EXCEPTION (key_not_found_exception, key_not_found_exception_code) | |
reports when a key, guid, or other item is not found. More... | |
FC_DECLARE_EXCEPTION (bad_cast_exception, bad_cast_exception_code) | |
FC_DECLARE_EXCEPTION (out_of_range_exception, out_of_range_exception_code) | |
FC_DECLARE_EXCEPTION (method_not_found_exception, method_not_found_exception_code) | |
FC_DECLARE_EXCEPTION (invalid_operation_exception, invalid_operation_exception_code) | |
if an operation is unsupported or not valid this may be thrown More... | |
FC_DECLARE_EXCEPTION (unknown_host_exception, unknown_host_exception_code) | |
if an host name can not be resolved this may be thrown More... | |
FC_DECLARE_EXCEPTION (canceled_exception, canceled_exception_code) | |
used to report a canceled Operation More... | |
FC_DECLARE_EXCEPTION (assert_exception, assert_exception_code) | |
used inplace of assert() to report violations of pre conditions. More... | |
FC_DECLARE_EXCEPTION (eof_exception, eof_exception_code) | |
FC_DECLARE_EXCEPTION (null_optional, null_optional_code) | |
FC_DECLARE_EXCEPTION (aes_exception, aes_error_code) | |
FC_DECLARE_EXCEPTION (overflow_exception, overflow_code) | |
FC_DECLARE_EXCEPTION (underflow_exception, underflow_code) | |
FC_DECLARE_EXCEPTION (divide_by_zero_exception, divide_by_zero_code) | |
std::string | except_str () |
void | record_assert_trip (const char *filename, uint32_t lineno, const char *expr) |
bool | exists (const path &p) |
bool | is_directory (const path &p) |
bool | is_regular_file (const path &p) |
void | create_directories (const path &p) |
void | remove_all (const path &p) |
path | absolute (const path &p) |
path | make_relative (const path &from, const path &to) |
path | canonical (const path &p) |
uint64_t | file_size (const path &p) |
uint64_t | directory_size (const path &p) |
bool | remove (const path &p) |
void | copy (const path &from, const path &to) |
void | rename (const path &from, const path &to) |
void | resize_file (const path &file, size_t s) |
void | chmod (const path &p, int perm) |
void | create_hard_link (const path &from, const path &to) |
path | unique_path () |
path | temp_directory_path () |
const path & | home_path () |
const path & | app_path () |
const fc::path & | current_path () |
void | to_variant (const fc::path &, fc::variant &, uint32_t max_depth=1) |
void | from_variant (const fc::variant &, fc::path &, uint32_t max_depth=1) |
template<typename T , unsigned int S, typename U , typename A > | |
auto | operator+ (const fwd< T, S, A > &x, U &&u) -> typename detail::add< T, U >::type |
template<typename T , unsigned int S, typename U , typename A > | |
auto | operator- (const fwd< T, S, A > &x, U &&u) -> typename detail::sub< T, U >::type |
template<typename T , unsigned int S, typename U , typename A > | |
auto | operator<< (U &u, const fwd< T, S, A > &f) -> typename detail::insert_op< U, T >::type |
template<typename T , unsigned int S, typename U , typename A > | |
auto | operator>> (U &u, fwd< T, S, A > &f) -> typename detail::extract_op< U, T >::type |
template<uint64_t RequiredSize, uint64_t ProvidedSize> | |
void | check_size () |
std::shared_ptr< boost::asio::signal_set > | set_signal_handler (std::function< void(int)> handler, int signal_num) |
template<typename IntType , typename EnumType > | |
void | to_variant (const enum_type< IntType, EnumType > &var, variant &vo, uint32_t max_depth=1) |
template<typename IntType , typename EnumType > | |
void | from_variant (const variant &var, enum_type< IntType, EnumType > &vo, uint32_t max_depth) |
void | read_file_contents (const fc::path &filename, std::string &result) |
fc::istream & | getline (fc::istream &, std::string &, char delim='\n') |
template<size_t N> | |
ostream & | operator<< (ostream &o, char(&array)[N]) |
ostream & | operator<< (ostream &o, char) |
ostream & | operator<< (ostream &o, const char *v) |
ostream & | operator<< (ostream &o, const std::string &v) |
ostream & | operator<< (ostream &o, const double &v) |
ostream & | operator<< (ostream &o, const float &v) |
ostream & | operator<< (ostream &o, const int64_t &v) |
ostream & | operator<< (ostream &o, const uint64_t &v) |
ostream & | operator<< (ostream &o, const int32_t &v) |
ostream & | operator<< (ostream &o, const uint32_t &v) |
ostream & | operator<< (ostream &o, const int16_t &v) |
ostream & | operator<< (ostream &o, const uint16_t &v) |
ostream & | operator<< (ostream &o, const int8_t &v) |
ostream & | operator<< (ostream &o, const uint8_t &v) |
ostream & | operator<< (ostream &o, const size_t &v) |
istream & | operator>> (istream &o, std::string &v) |
istream & | operator>> (istream &o, char &v) |
istream & | operator>> (istream &o, double &v) |
istream & | operator>> (istream &o, float &v) |
istream & | operator>> (istream &o, int64_t &v) |
istream & | operator>> (istream &o, uint64_t &v) |
istream & | operator>> (istream &o, int32_t &v) |
istream & | operator>> (istream &o, uint32_t &v) |
istream & | operator>> (istream &o, int16_t &v) |
istream & | operator>> (istream &o, uint16_t &v) |
istream & | operator>> (istream &o, int8_t &v) |
istream & | operator>> (istream &o, uint8_t &v) |
void | to_variant (const unsigned_int &var, variant &vo, uint32_t max_depth=1) |
void | from_variant (const variant &var, unsigned_int &vo, uint32_t max_depth=1) |
void | to_variant (log_level e, variant &v, uint32_t max_depth=1) |
void | from_variant (const variant &e, log_level &ll, uint32_t max_depth=1) |
void | to_variant (const log_context &l, variant &v, uint32_t max_depth) |
void | from_variant (const variant &l, log_context &c, uint32_t max_depth) |
void | to_variant (const log_message &l, variant &v, uint32_t max_depth) |
void | from_variant (const variant &l, log_message &c, uint32_t max_depth) |
void | configure_logging (const fc::path &log_config) |
bool | configure_logging (const logging_config &l) |
void | to_variant (const ip::endpoint &var, variant &vo, uint32_t _max_depth=2) |
void | from_variant (const variant &var, ip::endpoint &vo, uint32_t _max_depth=2) |
void | to_variant (const ip::address &var, variant &vo, uint32_t _max_depth=1) |
void | from_variant (const variant &var, ip::address &vo, uint32_t _max_depth=1) |
std::vector< fc::ip::endpoint > | resolve (const std::string &host, uint16_t port) |
void | to_variant (const url &u, fc::variant &v, uint32_t max_depth=1) |
void | from_variant (const fc::variant &v, url &u, uint32_t max_depth=1) |
bool | assert_optional (bool is_valid) |
template<typename T > | |
bool | operator== (const optional< T > &left, const optional< T > &right) |
template<typename T , typename U > | |
bool | operator== (const optional< T > &left, const U &u) |
template<typename T > | |
bool | operator!= (const optional< T > &left, const optional< T > &right) |
template<typename T , typename U > | |
bool | operator!= (const optional< T > &left, const U &u) |
uint8_t | popcount (uint64_t v) |
uint8_t | popcount (const fc::uint128_t &v) |
void | throw_bad_enum_cast (int64_t i, const char *e) |
void | throw_bad_enum_cast (const char *k, const char *e) |
template<typename T > | |
void | to_variant (const T &o, variant &v, uint32_t max_depth) |
template<typename T > | |
void | from_variant (const variant &v, T &o, uint32_t max_depth) |
template<typename T > | |
T | wait (boost::signals2::signal< void(T)> &sig, const microseconds &timeout_us=microseconds::maximum()) |
void | wait (boost::signals2::signal< void()> &sig, const microseconds &timeout_us=microseconds::maximum()) |
void | print_stacktrace (std::ostream &out) |
void | print_stacktrace_on_segfault () |
template<typename... T> | |
void | to_variant (const fc::static_variant< T... > &s, fc::variant &v, uint32_t max_depth) |
template<typename... T> | |
void | from_variant (const fc::variant &v, fc::static_variant< T... > &s, uint32_t max_depth) |
int64_t | to_int64 (const std::string &) |
uint64_t | to_uint64 (const std::string &) |
double | to_double (const std::string &) |
std::string | to_string (double) |
std::string | to_string (uint64_t) |
std::string | to_string (int64_t) |
std::string | to_string (uint16_t) |
std::string | to_pretty_string (int64_t) |
std::string | to_string (int32_t v) |
std::string | to_string (uint32_t v) |
std::string | format_string (const std::string &, const variant_object &, uint32_t max_object_depth=200) |
std::string | trim (const std::string &) |
std::string | to_lower (const std::string &) |
string | trim_and_normalize_spaces (const string &s) |
uint64_t | parse_size (const string &s) |
template<typename Functor > | |
auto | do_parallel (Functor &&f, const char *desc FC_TASK_NAME_DEFAULT_ARG) -> fc::future< decltype(f())> |
void | yield () |
void | usleep (const microseconds &u) |
void | sleep_until (const time_point &tp) |
void | exec () |
template<typename T1 , typename T2 > | |
int | wait_any (const fc::future< T1 > &f1, const fc::future< T2 > &f2, const microseconds timeout_us=microseconds::maximum()) |
int | wait_any (std::vector< promise_base::ptr > &&v, const microseconds &timeout_us=microseconds::maximum()) |
int | wait_any_until (std::vector< promise_base::ptr > &&v, const time_point &tp) |
template<typename Functor > | |
auto | async (Functor &&f, const char *desc FC_TASK_NAME_DEFAULT_ARG, priority prio=priority()) -> fc::future< decltype(f())> |
template<typename Functor > | |
auto | schedule (Functor &&f, const fc::time_point &t, const char *desc FC_TASK_NAME_DEFAULT_ARG, priority prio=priority()) -> fc::future< decltype(f())> |
template<typename Functor > | |
auto | sync_call (thread *t, Functor &&f, const char *desc FC_TASK_NAME_DEFAULT_ARG, priority prio=priority()) -> decltype(f()) |
microseconds | seconds (int64_t s) |
microseconds | milliseconds (int64_t s) |
microseconds | minutes (int64_t m) |
microseconds | hours (int64_t h) |
microseconds | days (int64_t d) |
void | to_variant (const fc::microseconds &, fc::variant &, uint32_t max_depth=1) |
void | from_variant (const fc::variant &, fc::microseconds &, uint32_t max_depth=1) |
std::string | get_approximate_relative_time_string (const time_point_sec &event_time, const time_point_sec &relative_to_time=fc::time_point::now(), const std::string &ago=" ago") |
std::string | get_approximate_relative_time_string (const time_point &event_time, const time_point &relative_to_time=fc::time_point::now(), const std::string &ago=" ago") |
uint64_t | uint128_lo64 (const uint128_t &x) |
uint64_t | uint128_hi64 (const uint128_t &x) |
uint128_t | uint128 (const uint64_t hi, const uint64_t lo) |
std::string | prune_invalid_utf8 (const std::string &str) |
bool | is_utf8 (const std::string &str) |
void | decodeUtf8 (const std::string &input, std::wstring *storage) |
void | encodeUtf8 (const std::wstring &input, std::string *storage) |
void | throw_assertion_failure (const std::string &message) |
void | to_variant (const blob &var, variant &vo, uint32_t max_depth=1) |
void | from_variant (const variant &var, blob &vo, uint32_t max_depth=1) |
template<typename T , typename... Args> | |
void | to_variant (const boost::multi_index_container< T, Args... > &s, variant &v, uint32_t max_depth) |
template<typename T , typename... Args> | |
void | from_variant (const variant &v, boost::multi_index_container< T, Args... > &s, uint32_t max_depth) |
template<typename T > | |
void | to_variant (const safe< T > &s, variant &v, uint32_t max_depth) |
template<typename T > | |
void | from_variant (const variant &v, safe< T > &s, uint32_t max_depth) |
template<typename T > | |
void | to_variant (const std::unique_ptr< T > &s, variant &v, uint32_t max_depth) |
template<typename T > | |
void | from_variant (const variant &v, std::unique_ptr< T > &s, uint32_t max_depth) |
void | to_variant (const uint8_t &var, variant &vo, uint32_t max_depth=1) |
void | from_variant (const variant &var, uint8_t &vo, uint32_t max_depth=1) |
void | to_variant (const int8_t &var, variant &vo, uint32_t max_depth=1) |
void | from_variant (const variant &var, int8_t &vo, uint32_t max_depth=1) |
void | to_variant (const uint16_t &var, variant &vo, uint32_t max_depth=1) |
void | from_variant (const variant &var, uint16_t &vo, uint32_t max_depth=1) |
void | to_variant (const int16_t &var, variant &vo, uint32_t max_depth=1) |
void | from_variant (const variant &var, int16_t &vo, uint32_t max_depth=1) |
void | to_variant (const uint32_t &var, variant &vo, uint32_t max_depth=1) |
void | from_variant (const variant &var, uint32_t &vo, uint32_t max_depth=1) |
void | to_variant (const int32_t &var, variant &vo, uint32_t max_depth=1) |
void | from_variant (const variant &var, int32_t &vo, uint32_t max_depth=1) |
void | to_variant (const uint64_t &var, variant &vo, uint32_t max_depth=1) |
void | to_variant (const int64_t &var, variant &vo, uint32_t max_depth=1) |
void | to_variant (const bool &var, variant &vo, uint32_t max_depth=1) |
void | to_variant (const variant_object &var, variant &vo, uint32_t max_depth) |
void | from_variant (const variant &var, variant_object &vo, uint32_t max_depth) |
void | to_variant (const mutable_variant_object &var, variant &vo, uint32_t max_depth) |
void | from_variant (const variant &var, mutable_variant_object &vo, uint32_t max_depth) |
void | to_variant (const std::vector< char > &var, variant &vo, uint32_t max_depth=1) |
void | from_variant (const variant &var, std::vector< char > &vo, uint32_t max_depth=1) |
template<typename K , typename T > | |
void | to_variant (const std::unordered_map< K, T > &var, variant &vo, uint32_t max_depth) |
template<typename K , typename T > | |
void | from_variant (const variant &var, std::unordered_map< K, T > &vo, uint32_t max_depth) |
template<typename K , typename... T> | |
void | to_variant (const std::map< K, T... > &var, variant &vo, uint32_t max_depth) |
template<typename K , typename T , typename... A> | |
void | from_variant (const variant &var, std::map< K, T, A... > &vo, uint32_t max_depth) |
template<typename K , typename T > | |
void | to_variant (const std::multimap< K, T > &var, variant &vo, uint32_t max_depth) |
template<typename K , typename T > | |
void | from_variant (const variant &var, std::multimap< K, T > &vo, uint32_t max_depth) |
template<typename T > | |
void | to_variant (const std::unordered_set< T > &var, variant &vo, uint32_t max_depth) |
template<typename T > | |
void | from_variant (const variant &var, std::unordered_set< T > &vo, uint32_t max_depth) |
template<typename T > | |
void | to_variant (const std::deque< T > &var, variant &vo, uint32_t max_depth) |
template<typename T > | |
void | from_variant (const variant &var, std::deque< T > &vo, uint32_t max_depth) |
template<typename T > | |
void | to_variant (const std::set< T > &var, variant &vo, uint32_t max_depth) |
template<typename T > | |
void | from_variant (const variant &var, std::set< T > &vo, uint32_t max_depth) |
void | to_variant (const time_point &var, variant &vo, uint32_t max_depth) |
void | from_variant (const variant &var, time_point &vo, uint32_t max_depth) |
void | to_variant (const time_point_sec &var, variant &vo, uint32_t max_depth) |
void | from_variant (const variant &var, time_point_sec &vo, uint32_t max_depth) |
void | to_variant (const uint128_t &var, variant &vo, uint32_t max_depth=1) |
void | from_variant (const variant &var, uint128_t &vo, uint32_t max_depth=1) |
void | to_variant (long long int s, variant &v, uint32_t max_depth=1) |
void | to_variant (unsigned long long int s, variant &v, uint32_t max_depth=1) |
void | to_variant (const std::string &s, variant &v, uint32_t max_depth=1) |
template<typename T > | |
void | to_variant (const std::shared_ptr< T > &var, variant &vo, uint32_t max_depth) |
template<typename T > | |
void | from_variant (const variant &var, std::shared_ptr< T > &vo, uint32_t max_depth) |
template<typename A , typename B > | |
void | to_variant (const std::pair< A, B > &t, variant &v, uint32_t max_depth) |
template<typename A , typename B > | |
void | from_variant (const variant &v, std::pair< A, B > &p, uint32_t max_depth) |
template<boost::endian::order O, class T , std::size_t N, boost::endian::align A> | |
void | to_variant (const boost::endian::endian_buffer< O, T, N, A > &var, variant &vo, uint32_t max_depth) |
template<boost::endian::order O, class T , std::size_t N, boost::endian::align A> | |
void | from_variant (const variant &var, boost::endian::endian_buffer< O, T, N, A > &vo, uint32_t max_depth) |
void | from_variant (const variant &var, std::string &vo, uint32_t max_depth=1) |
void | from_variant (const variant &var, variants &vo, uint32_t max_depth) |
void | from_variant (const variant &var, variant &vo, uint32_t max_depth) |
void | from_variant (const variant &var, int64_t &vo, uint32_t max_depth=1) |
void | from_variant (const variant &var, uint64_t &vo, uint32_t max_depth=1) |
void | from_variant (const variant &var, bool &vo, uint32_t max_depth=1) |
void | from_variant (const variant &var, double &vo, uint32_t max_depth=1) |
void | from_variant (const variant &var, float &vo, uint32_t max_depth=1) |
template<typename T > | |
void | from_variant (const variant &var, optional< T > &vo, uint32_t max_depth) |
template<typename T > | |
void | from_variant (const variant &var, std::vector< T > &dest, uint32_t max_depth) |
template<typename T > | |
void | to_variant (const std::vector< T > &t, variant &v, uint32_t max_depth) |
template<size_t N> | |
void | to_variant (const std::array< char, N > &bi, variant &v, uint32_t max_depth=1) |
template<size_t N> | |
void | from_variant (const variant &v, std::array< char, N > &bi, uint32_t max_depth=1) |
template<size_t N> | |
void | to_variant (const std::array< unsigned char, N > &bi, variant &v, uint32_t max_depth=1) |
template<size_t N> | |
void | from_variant (const variant &v, std::array< unsigned char, N > &bi, uint32_t max_depth=1) |
variant | operator+ (const variant &a, const variant &b) |
variant | operator- (const variant &a, const variant &b) |
variant | operator* (const variant &a, const variant &b) |
variant | operator/ (const variant &a, const variant &b) |
bool | operator== (const variant &a, const variant &b) |
bool | operator!= (const variant &a, const variant &b) |
bool | operator< (const variant &a, const variant &b) |
bool | operator> (const variant &a, const variant &b) |
bool | operator! (const variant &a) |
const std::string & | base64_chars () |
uint64_t | Hash128to64 (const uint128_t &x) |
uint64_t | CityHash64WithSeeds (const char *s, size_t len, uint64_t seed0, uint64_t seed1) |
uint64_t | CityHash64WithSeed (const char *s, size_t len, uint64_t seed) |
uint128_t | CityMurmur (const char *s, size_t len, uint128_t seed) |
uint128_t | CityHash128WithSeed (const char *s, size_t len, uint128_t seed) |
uint128_t | city_hash128 (const char *s, size_t len) |
void | CityHashCrc256 (const char *s, size_t len, uint64_t *result) |
array< uint64_t, 4 > | city_hash_crc_256 (const char *s, size_t len) |
uint128_t | CityHashCrc128WithSeed (const char *s, size_t len, uint128_t seed) |
hash160 | operator<< (const hash160 &h1, uint32_t i) |
hash160 | operator^ (const hash160 &h1, const hash160 &h2) |
bool | operator>= (const hash160 &h1, const hash160 &h2) |
bool | operator> (const hash160 &h1, const hash160 &h2) |
bool | operator< (const hash160 &h1, const hash160 &h2) |
bool | operator!= (const hash160 &h1, const hash160 &h2) |
bool | operator== (const hash160 &h1, const hash160 &h2) |
ripemd160 | operator<< (const ripemd160 &h1, uint32_t i) |
ripemd160 | operator^ (const ripemd160 &h1, const ripemd160 &h2) |
bool | operator>= (const ripemd160 &h1, const ripemd160 &h2) |
bool | operator> (const ripemd160 &h1, const ripemd160 &h2) |
bool | operator< (const ripemd160 &h1, const ripemd160 &h2) |
bool | operator!= (const ripemd160 &h1, const ripemd160 &h2) |
bool | operator== (const ripemd160 &h1, const ripemd160 &h2) |
sha1 | operator<< (const sha1 &h1, uint32_t i) |
sha1 | operator^ (const sha1 &h1, const sha1 &h2) |
bool | operator>= (const sha1 &h1, const sha1 &h2) |
bool | operator> (const sha1 &h1, const sha1 &h2) |
bool | operator< (const sha1 &h1, const sha1 &h2) |
bool | operator!= (const sha1 &h1, const sha1 &h2) |
bool | operator== (const sha1 &h1, const sha1 &h2) |
sha224 | operator<< (const sha224 &h1, uint32_t i) |
sha224 | operator^ (const sha224 &h1, const sha224 &h2) |
bool | operator>= (const sha224 &h1, const sha224 &h2) |
bool | operator> (const sha224 &h1, const sha224 &h2) |
bool | operator< (const sha224 &h1, const sha224 &h2) |
bool | operator!= (const sha224 &h1, const sha224 &h2) |
bool | operator== (const sha224 &h1, const sha224 &h2) |
sha256 | operator<< (const sha256 &h1, uint32_t i) |
sha256 | operator>> (const sha256 &h1, uint32_t i) |
sha256 | operator^ (const sha256 &h1, const sha256 &h2) |
bool | operator>= (const sha256 &h1, const sha256 &h2) |
bool | operator> (const sha256 &h1, const sha256 &h2) |
bool | operator< (const sha256 &h1, const sha256 &h2) |
bool | operator!= (const sha256 &h1, const sha256 &h2) |
bool | operator== (const sha256 &h1, const sha256 &h2) |
sha512 | operator<< (const sha512 &h1, uint32_t i) |
sha512 | operator^ (const sha512 &h1, const sha512 &h2) |
bool | operator>= (const sha512 &h1, const sha512 &h2) |
bool | operator> (const sha512 &h1, const sha512 &h2) |
bool | operator< (const sha512 &h1, const sha512 &h2) |
bool | operator!= (const sha512 &h1, const sha512 &h2) |
bool | operator== (const sha512 &h1, const sha512 &h2) |
FC_IMPLEMENT_EXCEPTION (method_not_found_exception, method_not_found_exception_code, "Method Not Found") | |
() file_not_found_exception() parse_error_exception() invalid_arg_exception() invalid_operation_exception() key_not_found_exception() bad_cast_exception() out_of_range_exception() canceled_exception() assert_exception() eof_exception() unknown_host_exception() null_optional() aes_exception() overflow_exception() | underflow_exception (divide_by_zero_exception)) namespace detail |
bool | operator< (const fc::path &l, const fc::path &r) |
bool | operator== (const fc::path &l, const fc::path &r) |
bool | operator!= (const fc::path &l, const fc::path &r) |
path | operator/ (const fc::path &p, const fc::path &o) |
bool | operator== (const directory_iterator &r, const directory_iterator &l) |
bool | operator!= (const directory_iterator &r, const directory_iterator &l) |
bool | operator== (const recursive_directory_iterator &r, const recursive_directory_iterator &l) |
bool | operator!= (const recursive_directory_iterator &r, const recursive_directory_iterator &l) |
cin_buffer & | get_cin_buffer () |
fc::thread & | cin_thread () |
template<typename T , json::parse_type parser_type> | |
variant | variant_from_stream (T &in, uint32_t max_depth) |
template<typename T > | |
char | parseEscape (T &in) |
template<typename T > | |
std::string | stringFromStream (T &in) |
template<typename T > | |
bool | skip_white_space (T &in) |
template<typename T > | |
std::string | stringFromToken (T &in) |
template<typename T > | |
variant_object | objectFromStreamBase (T &in, std::function< std::string(T &)> &get_key, std::function< variant(T &)> &get_value) |
template<typename T , json::parse_type parser_type> | |
variant_object | objectFromStream (T &in, uint32_t max_depth) |
template<typename T > | |
variants | arrayFromStreamBase (T &in, std::function< variant(T &)> &get_value) |
template<typename T , json::parse_type parser_type> | |
variants | arrayFromStream (T &in, uint32_t max_depth) |
template<typename T , json::parse_type parser_type> | |
variant | number_from_stream (T &in) |
template<typename T > | |
variant | token_from_stream (T &in) |
void | escape_string (const string &str, ostream &os) |
Escape a string. More... | |
template<typename T > | |
void | to_stream (T &os, const variants &a, json::output_formatting format, uint32_t max_depth) |
template<typename T > | |
void | to_stream (T &os, const variant_object &o, json::output_formatting format, uint32_t max_depth) |
template<typename T > | |
void | to_stream (T &os, const variant &v, json::output_formatting format, uint32_t max_depth) |
std::string | pretty_print (const std::string &v, uint8_t indent) |
std::unordered_map< std::string, appender::ptr > & | get_appender_map () |
std::unordered_map< std::string, appender_factory::ptr > & | get_appender_factory_map () |
boost::mutex & | log_mutex () |
bool | operator== (const logger &l, std::nullptr_t) |
bool | operator!= (const logger &l, std::nullptr_t) |
std::unordered_map< std::string, logger > & | get_logger_map () |
boost::asio::ip::udp::endpoint | to_asio_ep (const fc::ip::endpoint &e) |
fc::ip::endpoint | to_fc_ep (const boost::asio::ip::udp::endpoint &e) |
std::shared_ptr< detail::url_impl > | get_null_url () |
string | format_string (const string &format, const variant_object &args, uint32_t max_object_depth) |
const char * | thread_name () |
void * | thread_ptr () |
thread *& | current_thread () |
string | prune_invalid_utf8 (const string &str) |
void | set_variant_type (variant *v, variant::type_id t) |
void | from_variant (const variant &var, string &vo, uint32_t max_depth) |
bool | operator<= (const variant &a, const variant &b) |
void | to_variant (const graphene::protocol::address &var, variant &vo, uint32_t max_depth) |
void | from_variant (const variant &var, graphene::protocol::address &vo, uint32_t max_depth) |
template<typename T > | |
void | from_variant (const fc::variant &var, graphene::protocol::extension< T > &value, uint32_t max_depth) |
template<typename T > | |
void | to_variant (const graphene::protocol::extension< T > &value, fc::variant &var, uint32_t max_depth) |
void | to_variant (const graphene::db::object_id_type &var, fc::variant &vo, uint32_t max_depth=1) |
void | from_variant (const fc::variant &var, graphene::db::object_id_type &vo, uint32_t max_depth=1) |
template<uint8_t SpaceID, uint8_t TypeID> | |
void | to_variant (const graphene::db::object_id< SpaceID, TypeID > &var, fc::variant &vo, uint32_t max_depth=1) |
template<uint8_t SpaceID, uint8_t TypeID> | |
void | from_variant (const fc::variant &var, graphene::db::object_id< SpaceID, TypeID > &vo, uint32_t max_depth=1) |
void | to_variant (const graphene::protocol::pts_address &var, fc::variant &vo, uint32_t max_depth=1) |
void | from_variant (const fc::variant &var, graphene::protocol::pts_address &vo, uint32_t max_depth=1) |
void | to_variant (const graphene::protocol::public_key_type &var, fc::variant &vo, uint32_t max_depth=2) |
void | from_variant (const fc::variant &var, graphene::protocol::public_key_type &vo, uint32_t max_depth=2) |
void | from_variant (const fc::variant &var, std::shared_ptr< const graphene::protocol::fee_schedule > &vo, uint32_t max_depth=2) |
void | to_variant (const graphene::protocol::vote_id_type &var, fc::variant &vo, uint32_t max_depth=1) |
void | from_variant (const fc::variant &var, graphene::protocol::vote_id_type &vo, uint32_t max_depth=1) |
void | to_variant (const account_multi_index_type &accts, variant &vo, uint32_t max_depth) |
void | from_variant (const variant &var, account_multi_index_type &vo, uint32_t max_depth) |
Variables | |
const typedef variant_object * | const_variant_object_ptr |
const typedef variants * | const_variants_ptr |
const typedef blob * | const_blob_ptr |
const typedef string * | const_string_ptr |
bool | enable_record_assert_trip = false |
const char *const | git_revision_sha |
const uint32_t | git_revision_unix_timestamp |
cout_t & | cout = *cout_ptr |
cerr_t & | cerr = *cerr_ptr |
cin_t & | cin = *cin_ptr |
std::shared_ptr< cin_t > | cin_ptr = std::make_shared<cin_t>() |
std::shared_ptr< cout_t > | cout_ptr = std::make_shared<cout_t>() |
std::shared_ptr< cerr_t > | cerr_ptr = std::make_shared<cerr_t>() |
openssl_thread_config | openssl_thread_config_manager |
bool | do_default_config = configure_logging( logging_config::default_config() ) |
typedef uint32_t fc::api_id_type |
typedef std::shared_ptr< api_base > fc::api_ptr |
typedef std::shared_ptr<buffered_istream> fc::buffered_istream_ptr |
Definition at line 46 of file buffered_iostream.hpp.
typedef std::shared_ptr<buffered_ostream> fc::buffered_ostream_ptr |
Definition at line 72 of file buffered_iostream.hpp.
typedef std::shared_ptr<exception> fc::exception_ptr |
Definition at line 131 of file exception.hpp.
typedef hmac<fc::sha224> fc::hmac_sha224 |
typedef hmac<fc::sha256> fc::hmac_sha256 |
typedef hmac<fc::sha512> fc::hmac_sha512 |
typedef std::shared_ptr<istream> fc::istream_ptr |
Definition at line 35 of file iostream.hpp.
typedef std::vector<log_message> fc::log_messages |
Definition at line 134 of file log_message.hpp.
typedef optional<exception> fc::oexception |
Definition at line 133 of file exception.hpp.
typedef fc::optional<fc::path> fc::opath |
typedef std::shared_ptr<ostream> fc::ostream_ptr |
Definition at line 59 of file iostream.hpp.
typedef fc::optional< std::string > fc::ostring |
typedef fc::optional<time_point> fc::otime_point |
typedef optional<variant> fc::ovariant |
Definition at line 377 of file variant.hpp.
typedef std::shared_ptr<rate_limiting_group> fc::rate_limiting_group_ptr |
Definition at line 38 of file rate_limiting.hpp.
using fc::scoped_connection = typedef boost::signals2::scoped_connection |
Definition at line 22 of file signals.hpp.
using fc::signal = typedef boost::signals2::signal<T> |
Definition at line 20 of file signals.hpp.
typedef std::shared_ptr<tcp_socket> fc::tcp_socket_ptr |
Definition at line 67 of file tcp_socket.hpp.
typedef ripemd160 fc::uint160 |
Definition at line 93 of file ripemd160.hpp.
typedef ripemd160 fc::uint160_t |
Definition at line 92 of file ripemd160.hpp.
typedef sha256 fc::uint256 |
Definition at line 88 of file sha256.hpp.
typedef fc::sha512 fc::uint512 |
Definition at line 84 of file sha512.hpp.
typedef std::vector<variant> fc::variants |
Definition at line 170 of file variant.hpp.
enum fc::exception_code |
Definition at line 16 of file exception.hpp.
enum fc::mode_t |
Enumerator | |
---|---|
read_only | |
write_only | |
read_write |
Definition at line 13 of file file_mapping.hpp.
Definition at line 341 of file filesystem.cpp.
unsigned fc::aes_cfb_decrypt | ( | unsigned char * | ciphertext, |
int | ciphertext_len, | ||
unsigned char * | key, | ||
unsigned char * | iv, | ||
unsigned char * | plaintext | ||
) |
std::vector< char > fc::aes_decrypt | ( | const fc::sha512 & | key, |
const std::vector< char > & | cipher_text | ||
) |
unsigned fc::aes_decrypt | ( | unsigned char * | ciphertext, |
int | ciphertext_len, | ||
unsigned char * | key, | ||
unsigned char * | iv, | ||
unsigned char * | plaintext | ||
) |
std::vector< char > fc::aes_encrypt | ( | const fc::sha512 & | key, |
const std::vector< char > & | plain_text | ||
) |
unsigned fc::aes_encrypt | ( | unsigned char * | plaintext, |
int | plaintext_len, | ||
unsigned char * | key, | ||
unsigned char * | iv, | ||
unsigned char * | ciphertext | ||
) |
std::vector< char > fc::aes_load | ( | const fc::path & | file, |
const fc::sha512 & | key | ||
) |
recovers the plain_text saved via aes_save()
void fc::aes_save | ( | const fc::path & | file, |
const fc::sha512 & | key, | ||
std::vector< char > | plain_text | ||
) |
const fc::path & fc::app_path | ( | ) |
Definition at line 480 of file filesystem.cpp.
variants fc::arrayFromStream | ( | T & | in, |
uint32_t | max_depth | ||
) |
bool fc::assert_optional | ( | bool | is_valid | ) |
Definition at line 290 of file exception.cpp.
auto fc::async | ( | Functor && | f, |
const char *desc | FC_TASK_NAME_DEFAULT_ARG, | ||
priority | prio = priority() |
||
) | -> fc::future<decltype(f())> |
Definition at line 227 of file thread.hpp.
|
inline |
Definition at line 32 of file base64.cpp.
std::string fc::base64_decode | ( | const std::string & | encoded_string | ) |
Definition at line 96 of file base64.cpp.
|
inline |
Definition at line 6 of file base64.hpp.
std::string fc::base64_encode | ( | const std::string & | enc | ) |
Definition at line 47 of file base64.cpp.
std::string fc::base64_encode | ( | unsigned char const * | bytes_to_encode, |
unsigned int | in_len | ||
) |
Definition at line 51 of file base64.cpp.
Definition at line 334 of file filesystem.cpp.
void fc::check_size | ( | ) |
Definition at line 60 of file fwd_impl.hpp.
void fc::chmod | ( | const path & | p, |
int | perm | ||
) |
Definition at line 278 of file filesystem.cpp.
fc::thread& fc::cin_thread | ( | ) |
Definition at line 76 of file iostream.cpp.
uint128_t fc::city_hash_crc_128 | ( | const char * | s, |
size_t | len | ||
) |
array<uint64_t,4> fc::city_hash_crc_256 | ( | const char * | s, |
size_t | len | ||
) |
|
inline |
uint128_t fc::CityHash128WithSeed | ( | const char * | s, |
size_t | len, | ||
uint128_t | seed | ||
) |
uint64_t fc::CityHash64WithSeed | ( | const char * | s, |
size_t | len, | ||
uint64_t | seed | ||
) |
uint64_t fc::CityHash64WithSeeds | ( | const char * | s, |
size_t | len, | ||
uint64_t | seed0, | ||
uint64_t | seed1 | ||
) |
uint128_t fc::CityHashCrc128WithSeed | ( | const char * | s, |
size_t | len, | ||
uint128_t | seed | ||
) |
void fc::CityHashCrc256 | ( | const char * | s, |
size_t | len, | ||
uint64_t * | result | ||
) |
uint128_t fc::CityMurmur | ( | const char * | s, |
size_t | len, | ||
uint128_t | seed | ||
) |
void fc::configure_logging | ( | const fc::path & | log_config | ) |
Definition at line 18 of file logger_config.cpp.
bool fc::configure_logging | ( | const logging_config & | l | ) |
Definition at line 22 of file logger_config.cpp.
Definition at line 241 of file filesystem.cpp.
fc::exception_ptr fc::copy_exception | ( | T && | e | ) |
Definition at line 165 of file exception.hpp.
void fc::create_directories | ( | const path & | p | ) |
Definition at line 210 of file filesystem.cpp.
Definition at line 319 of file filesystem.cpp.
const fc::path & fc::current_path | ( | ) |
Definition at line 498 of file filesystem.cpp.
thread*& fc::current_thread | ( | ) |
Definition at line 65 of file thread.cpp.
|
inline |
void fc::decodeUtf8 | ( | const std::string & | input, |
std::wstring * | storage | ||
) |
fc::sha256 fc::digest | ( | const T & | value | ) |
Definition at line 9 of file digest.hpp.
uint64_t fc::directory_size | ( | const path & | p | ) |
Definition at line 221 of file filesystem.cpp.
auto fc::do_parallel | ( | Functor && | f, |
const char *desc | FC_TASK_NAME_DEFAULT_ARG | ||
) | -> fc::future<decltype(f())> |
Calls function f
in a separate thread and returns a future that can be used to wait on the result.
f | the operation to perform |
desc | task name |
Definition at line 98 of file parallel.hpp.
void fc::encodeUtf8 | ( | const std::wstring & | input, |
std::string * | storage | ||
) |
void fc::escape_string | ( | const string & | str, |
ostream & | os | ||
) |
Escape a string.
std::string fc::except_str | ( | ) |
Definition at line 272 of file exception.cpp.
void fc::exec | ( | ) |
Enters the main loop processing tasks until quit() is called.
Definition at line 375 of file thread.cpp.
bool fc::exists | ( | const path & | p | ) |
Definition at line 209 of file filesystem.cpp.
fc::FC_DECLARE_EXCEPTION | ( | aes_exception | , |
aes_error_code | |||
) |
fc::FC_DECLARE_EXCEPTION | ( | assert_exception | , |
assert_exception_code | |||
) |
used inplace of assert() to report violations of pre conditions.
fc::FC_DECLARE_EXCEPTION | ( | bad_cast_exception | , |
bad_cast_exception_code | |||
) |
fc::FC_DECLARE_EXCEPTION | ( | canceled_exception | , |
canceled_exception_code | |||
) |
used to report a canceled Operation
fc::FC_DECLARE_EXCEPTION | ( | divide_by_zero_exception | , |
divide_by_zero_code | |||
) |
fc::FC_DECLARE_EXCEPTION | ( | eof_exception | , |
eof_exception_code | |||
) |
fc::FC_DECLARE_EXCEPTION | ( | file_not_found_exception | , |
file_not_found_exception_code | |||
) |
fc::FC_DECLARE_EXCEPTION | ( | invalid_arg_exception | , |
invalid_arg_exception_code | |||
) |
fc::FC_DECLARE_EXCEPTION | ( | invalid_operation_exception | , |
invalid_operation_exception_code | |||
) |
if an operation is unsupported or not valid this may be thrown
fc::FC_DECLARE_EXCEPTION | ( | key_not_found_exception | , |
key_not_found_exception_code | |||
) |
reports when a key, guid, or other item is not found.
fc::FC_DECLARE_EXCEPTION | ( | method_not_found_exception | , |
method_not_found_exception_code | |||
) |
fc::FC_DECLARE_EXCEPTION | ( | null_optional | , |
null_optional_code | |||
) |
fc::FC_DECLARE_EXCEPTION | ( | out_of_range_exception | , |
out_of_range_exception_code | |||
) |
fc::FC_DECLARE_EXCEPTION | ( | overflow_exception | , |
overflow_code | |||
) |
fc::FC_DECLARE_EXCEPTION | ( | parse_error_exception | , |
parse_error_exception_code | |||
) |
reports parse errors
fc::FC_DECLARE_EXCEPTION | ( | timeout_exception | , |
timeout_exception_code | |||
) |
fc::FC_DECLARE_EXCEPTION | ( | underflow_exception | , |
underflow_code | |||
) |
fc::FC_DECLARE_EXCEPTION | ( | unknown_host_exception | , |
unknown_host_exception_code | |||
) |
if an host name can not be resolved this may be thrown
fc::FC_IMPLEMENT_EXCEPTION | ( | method_not_found_exception | , |
method_not_found_exception_code | , | ||
"Method Not Found" | |||
) |
uint64_t fc::file_size | ( | const path & | p | ) |
Definition at line 219 of file filesystem.cpp.
std::string fc::format_string | ( | const std::string & | , |
const variant_object & | , | ||
uint32_t | max_object_depth = 200 |
||
) |
string fc::format_string | ( | const string & | format, |
const variant_object & | args, | ||
uint32_t | max_object_depth | ||
) |
Definition at line 196 of file string.cpp.
std::vector< char > fc::from_base58 | ( | const std::string & | base58_str | ) |
Definition at line 622 of file base58.cpp.
size_t fc::from_base58 | ( | const std::string & | base58_str, |
char * | out_data, | ||
size_t | out_data_len | ||
) |
Definition at line 633 of file base58.cpp.
size_t fc::from_hex | ( | const std::string & | hex_str, |
char * | out_data, | ||
size_t | out_data_len | ||
) |
void fc::from_variant | ( | const fc::variant & | input_variant, |
fc::microseconds & | output_microseconds, | ||
uint32_t | max_depth = 1 |
||
) |
void fc::from_variant | ( | const fc::variant & | variant_to_convert, |
fc::path & | path_output, | ||
uint32_t | max_depth = 1 |
||
) |
Definition at line 37 of file filesystem.cpp.
void fc::from_variant | ( | const fc::variant & | v, |
fc::static_variant< T... > & | s, | ||
uint32_t | max_depth | ||
) |
Definition at line 376 of file static_variant.hpp.
void fc::from_variant | ( | const fc::variant & | v, |
url & | u, | ||
uint32_t | max_depth = 1 |
||
) |
void fc::from_variant | ( | const fc::variant & | var, |
graphene::db::object_id< SpaceID, TypeID > & | vo, | ||
uint32_t | max_depth = 1 |
||
) |
Definition at line 252 of file object_id.hpp.
|
inline |
Definition at line 228 of file object_id.hpp.
void fc::from_variant | ( | const fc::variant & | var, |
graphene::protocol::extension< T > & | value, | ||
uint32_t | max_depth | ||
) |
void fc::from_variant | ( | const fc::variant & | var, |
graphene::protocol::pts_address & | vo, | ||
uint32_t | max_depth = 1 |
||
) |
Definition at line 93 of file pts_address.cpp.
void fc::from_variant | ( | const fc::variant & | var, |
graphene::protocol::public_key_type & | vo, | ||
uint32_t | max_depth = 2 |
||
) |
void fc::from_variant | ( | const fc::variant & | var, |
graphene::protocol::vote_id_type & | vo, | ||
uint32_t | max_depth = 1 |
||
) |
void fc::from_variant | ( | const fc::variant & | var, |
std::shared_ptr< const graphene::protocol::fee_schedule > & | vo, | ||
uint32_t | max_depth = 2 |
||
) |
Definition at line 158 of file exception.cpp.
Definition at line 137 of file log_message.cpp.
void fc::from_variant | ( | const variant & | l, |
log_context & | c, | ||
uint32_t | max_depth | ||
) |
Definition at line 99 of file log_message.cpp.
void fc::from_variant | ( | const variant & | l, |
log_message & | c, | ||
uint32_t | max_depth | ||
) |
Definition at line 104 of file log_message.cpp.
decodes the big int as base64 string, or a number
Definition at line 222 of file bigint.cpp.
void fc::from_variant | ( | const variant & | v, |
boost::multi_index_container< T, Args... > & | s, | ||
uint32_t | max_depth | ||
) |
Definition at line 654 of file variant.hpp.
Definition at line 135 of file hash160.cpp.
Definition at line 106 of file ripemd160.cpp.
void fc::from_variant | ( | const variant & | v, |
safe< T > & | s, | ||
uint32_t | max_depth | ||
) |
Definition at line 638 of file variant.hpp.
Definition at line 86 of file sha224.cpp.
Definition at line 106 of file sha256.cpp.
Definition at line 92 of file sha512.cpp.
void fc::from_variant | ( | const variant & | v, |
std::array< char, N > & | bi, | ||
uint32_t | max_depth = 1 |
||
) |
Definition at line 669 of file variant.hpp.
void fc::from_variant | ( | const variant & | v, |
std::array< unsigned char, N > & | bi, | ||
uint32_t | max_depth = 1 |
||
) |
Definition at line 684 of file variant.hpp.
void fc::from_variant | ( | const variant & | v, |
std::pair< A, B > & | p, | ||
uint32_t | max_depth | ||
) |
Definition at line 568 of file variant.hpp.
void fc::from_variant | ( | const variant & | v, |
std::unique_ptr< T > & | s, | ||
uint32_t | max_depth | ||
) |
Definition at line 620 of file variant.hpp.
void fc::from_variant | ( | const variant & | v, |
T & | o, | ||
uint32_t | max_depth | ||
) |
Definition at line 108 of file variant.hpp.
void fc::from_variant | ( | const variant & | v, |
zero_initialized_array< unsigned char, N > & | bi, | ||
uint32_t | max_depth = 1 |
||
) |
Definition at line 57 of file zeroed_array.hpp.
void fc::from_variant | ( | const variant & | var, |
account_multi_index_type & | vo, | ||
uint32_t | max_depth | ||
) |
Definition at line 1969 of file wallet.cpp.
void fc::from_variant | ( | const variant & | var, |
bool & | vo, | ||
uint32_t | max_depth = 1 |
||
) |
Definition at line 638 of file variant.cpp.
void fc::from_variant | ( | const variant & | var, |
boost::endian::endian_buffer< O, T, N, A > & | vo, | ||
uint32_t | max_depth | ||
) |
Definition at line 182 of file variant.hpp.
void fc::from_variant | ( | const variant & | var, |
double & | vo, | ||
uint32_t | max_depth = 1 |
||
) |
Definition at line 643 of file variant.cpp.
void fc::from_variant | ( | const variant & | var, |
ecc::private_key & | vo, | ||
uint32_t | max_depth | ||
) |
Definition at line 386 of file elliptic_common.cpp.
void fc::from_variant | ( | const variant & | var, |
ecc::public_key & | vo, | ||
uint32_t | max_depth | ||
) |
Definition at line 398 of file elliptic_common.cpp.
void fc::from_variant | ( | const variant & | var, |
enum_type< IntType, EnumType > & | vo, | ||
uint32_t | max_depth | ||
) |
Definition at line 56 of file enum_type.hpp.
void fc::from_variant | ( | const variant & | var, |
flat_map< K, T, A... > & | vo, | ||
uint32_t | _max_depth | ||
) |
void fc::from_variant | ( | const variant & | var, |
flat_set< T, A... > & | vo, | ||
uint32_t | _max_depth | ||
) |
void fc::from_variant | ( | const variant & | var, |
float & | vo, | ||
uint32_t | max_depth = 1 |
||
) |
Definition at line 648 of file variant.cpp.
void fc::from_variant | ( | const variant & | var, |
graphene::protocol::address & | vo, | ||
uint32_t | max_depth | ||
) |
Definition at line 108 of file address.cpp.
void fc::from_variant | ( | const variant & | var, |
int16_t & | vo, | ||
uint32_t | max_depth = 1 |
||
) |
Definition at line 611 of file variant.cpp.
void fc::from_variant | ( | const variant & | var, |
int32_t & | vo, | ||
uint32_t | max_depth = 1 |
||
) |
Definition at line 620 of file variant.cpp.
void fc::from_variant | ( | const variant & | var, |
int64_t & | vo, | ||
uint32_t | max_depth = 1 |
||
) |
Definition at line 626 of file variant.cpp.
void fc::from_variant | ( | const variant & | var, |
int8_t & | vo, | ||
uint32_t | max_depth = 1 |
||
) |
Definition at line 603 of file variant.cpp.
void fc::from_variant | ( | const variant & | var, |
ip::address & | vo, | ||
uint32_t | _max_depth = 1 |
||
) |
void fc::from_variant | ( | const variant & | var, |
ip::endpoint & | vo, | ||
uint32_t | _max_depth = 2 |
||
) |
void fc::from_variant | ( | const variant & | var, |
mutable_variant_object & | vo, | ||
uint32_t | max_depth = 1 |
||
) |
Definition at line 405 of file variant_object.cpp.
void fc::from_variant | ( | const variant & | var, |
optional< T > & | vo, | ||
uint32_t | max_depth | ||
) |
Definition at line 396 of file variant.hpp.
void fc::from_variant | ( | const variant & | var, |
std::deque< T > & | vo, | ||
uint32_t | max_depth | ||
) |
Definition at line 511 of file variant.hpp.
void fc::from_variant | ( | const variant & | var, |
std::map< K, T, A... > & | vo, | ||
uint32_t | max_depth | ||
) |
Definition at line 459 of file variant.hpp.
void fc::from_variant | ( | const variant & | var, |
std::multimap< K, T > & | vo, | ||
uint32_t | max_depth | ||
) |
Definition at line 479 of file variant.hpp.
void fc::from_variant | ( | const variant & | var, |
std::set< T > & | vo, | ||
uint32_t | max_depth | ||
) |
Definition at line 500 of file variant.hpp.
void fc::from_variant | ( | const variant & | var, |
std::shared_ptr< T > & | vo, | ||
uint32_t | max_depth | ||
) |
Definition at line 598 of file variant.hpp.
void fc::from_variant | ( | const variant & | var, |
std::string & | vo, | ||
uint32_t | max_depth = 1 |
||
) |
void fc::from_variant | ( | const variant & | var, |
std::unordered_map< K, T > & | vo, | ||
uint32_t | max_depth | ||
) |
Definition at line 439 of file variant.hpp.
void fc::from_variant | ( | const variant & | var, |
std::unordered_set< T > & | vo, | ||
uint32_t | max_depth | ||
) |
Definition at line 417 of file variant.hpp.
void fc::from_variant | ( | const variant & | var, |
std::vector< char > & | vo, | ||
uint32_t | max_depth = 1 |
||
) |
Definition at line 669 of file variant.cpp.
void fc::from_variant | ( | const variant & | var, |
std::vector< T > & | dest, | ||
uint32_t | max_depth | ||
) |
Definition at line 535 of file variant.hpp.
void fc::from_variant | ( | const variant & | var, |
string & | vo, | ||
uint32_t | max_depth | ||
) |
Definition at line 658 of file variant.cpp.
void fc::from_variant | ( | const variant & | var, |
fc::time_point & | t, | ||
uint32_t | max_depth | ||
) |
void fc::from_variant | ( | const variant & | var, |
fc::time_point_sec & | t, | ||
uint32_t | max_depth | ||
) |
void fc::from_variant | ( | const variant & | var, |
uint128_t & | vo, | ||
uint32_t | max_depth = 1 |
||
) |
Definition at line 692 of file variant.cpp.
void fc::from_variant | ( | const variant & | var, |
uint16_t & | vo, | ||
uint32_t | max_depth = 1 |
||
) |
Definition at line 607 of file variant.cpp.
void fc::from_variant | ( | const variant & | var, |
uint32_t & | vo, | ||
uint32_t | max_depth = 1 |
||
) |
Definition at line 614 of file variant.cpp.
void fc::from_variant | ( | const variant & | var, |
uint64_t & | vo, | ||
uint32_t | max_depth = 1 |
||
) |
Definition at line 632 of file variant.cpp.
void fc::from_variant | ( | const variant & | var, |
uint8_t & | vo, | ||
uint32_t | max_depth = 1 |
||
) |
Definition at line 599 of file variant.cpp.
void fc::from_variant | ( | const variant & | var, |
unsigned_int & | vo, | ||
uint32_t | max_depth = 1 |
||
) |
Definition at line 7 of file varint.cpp.
Definition at line 595 of file variant.cpp.
void fc::from_variant | ( | const variant & | var, |
variant_object & | vo, | ||
uint32_t | max_depth = 1 |
||
) |
Definition at line 170 of file variant_object.cpp.
Definition at line 590 of file variant.cpp.
std::unordered_map<std::string,appender_factory::ptr>& fc::get_appender_factory_map | ( | ) |
Definition at line 21 of file appender.cpp.
std::unordered_map< std::string, appender::ptr > & fc::get_appender_map | ( | ) |
Definition at line 17 of file appender.cpp.
string fc::get_approximate_relative_time_string | ( | const time_point & | event_time, |
const time_point & | relative_to_time = fc::time_point::now() , |
||
const std::string & | ago = " ago" |
||
) |
string fc::get_approximate_relative_time_string | ( | const time_point_sec & | event_time, |
const time_point_sec & | relative_to_time = fc::time_point::now() , |
||
const std::string & | ago = " ago" |
||
) |
cin_buffer& fc::get_cin_buffer | ( | ) |
Definition at line 70 of file iostream.cpp.
std::unordered_map< std::string, logger > & fc::get_logger_map | ( | ) |
Definition at line 79 of file logger.cpp.
std::shared_ptr<detail::url_impl> fc::get_null_url | ( | ) |
fc::istream & fc::getline | ( | fc::istream & | i, |
std::string & | s, | ||
char | delim = '\n' |
||
) |
Definition at line 78 of file iostream.cpp.
const fc::path & fc::home_path | ( | ) |
Definition at line 448 of file filesystem.cpp.
|
inline |
int fc::init_openssl | ( | ) |
Definition at line 63 of file openssl.cpp.
bool fc::is_directory | ( | const path & | p | ) |
Definition at line 217 of file filesystem.cpp.
bool fc::is_regular_file | ( | const path & | p | ) |
Definition at line 218 of file filesystem.cpp.
boost::mutex& fc::log_mutex | ( | ) |
Definition at line 86 of file console_appender.cpp.
Definition at line 346 of file filesystem.cpp.
|
inline |
|
inline |
variant fc::number_from_stream | ( | T & | in | ) |
variant_object fc::objectFromStream | ( | T & | in, |
uint32_t | max_depth | ||
) |
variant_object fc::objectFromStreamBase | ( | T & | in, |
std::function< std::string(T &)> & | get_key, | ||
std::function< variant(T &)> & | get_value | ||
) |
bool fc::operator! | ( | const variant & | a | ) |
Definition at line 729 of file variant.cpp.
bool fc::operator!= | ( | const directory_iterator & | r, |
const directory_iterator & | l | ||
) |
Definition at line 183 of file filesystem.cpp.
bool fc::operator!= | ( | const fc::path & | l, |
const fc::path & | r | ||
) |
Definition at line 77 of file filesystem.cpp.
bool fc::operator!= | ( | const hash160 & | h1, |
const hash160 & | h2 | ||
) |
Definition at line 122 of file hash160.cpp.
bool fc::operator!= | ( | const logger & | l, |
std::nullptr_t | |||
) |
Definition at line 58 of file logger.cpp.
bool fc::operator!= | ( | const optional< T > & | left, |
const optional< T > & | right | ||
) |
Definition at line 257 of file optional.hpp.
bool fc::operator!= | ( | const optional< T > & | left, |
const U & | u | ||
) |
Definition at line 261 of file optional.hpp.
bool fc::operator!= | ( | const recursive_directory_iterator & | r, |
const recursive_directory_iterator & | l | ||
) |
Definition at line 204 of file filesystem.cpp.
bool fc::operator!= | ( | const ripemd160 & | h1, |
const ripemd160 & | h2 | ||
) |
Definition at line 95 of file ripemd160.cpp.
bool fc::operator!= | ( | const sha1 & | h1, |
const sha1 & | h2 | ||
) |
bool fc::operator!= | ( | const sha224 & | h1, |
const sha224 & | h2 | ||
) |
Definition at line 75 of file sha224.cpp.
bool fc::operator!= | ( | const sha256 & | h1, |
const sha256 & | h2 | ||
) |
Definition at line 95 of file sha256.cpp.
bool fc::operator!= | ( | const sha512 & | h1, |
const sha512 & | h2 | ||
) |
Definition at line 81 of file sha512.cpp.
bool fc::operator!= | ( | const variant & | a, |
const variant & | b | ||
) |
Definition at line 720 of file variant.cpp.
|
inline |
Definition at line 636 of file bloom_filter.hpp.
Definition at line 815 of file variant.cpp.
auto fc::operator+ | ( | const fwd< T, S, A > & | x, |
U && | u | ||
) | -> typename detail::add<T,U>::type |
Definition at line 44 of file fwd_impl.hpp.
Definition at line 762 of file variant.cpp.
auto fc::operator- | ( | const fwd< T, S, A > & | x, |
U && | u | ||
) | -> typename detail::sub<T,U>::type |
Definition at line 47 of file fwd_impl.hpp.
Definition at line 789 of file variant.cpp.
Definition at line 83 of file filesystem.cpp.
Definition at line 840 of file variant.cpp.
Definition at line 75 of file filesystem.cpp.
Definition at line 118 of file hash160.cpp.
Definition at line 92 of file ripemd160.cpp.
Definition at line 72 of file sha224.cpp.
Definition at line 92 of file sha256.cpp.
Definition at line 78 of file sha512.cpp.
Definition at line 734 of file variant.cpp.
Definition at line 94 of file hash160.cpp.
Definition at line 72 of file ripemd160.cpp.
Definition at line 55 of file sha224.cpp.
Definition at line 68 of file sha256.cpp.
Definition at line 55 of file sha512.cpp.
Definition at line 66 of file iostream.hpp.
Definition at line 180 of file iostream.cpp.
Definition at line 185 of file iostream.cpp.
Definition at line 197 of file iostream.cpp.
Definition at line 202 of file iostream.cpp.
Definition at line 227 of file iostream.cpp.
Definition at line 217 of file iostream.cpp.
Definition at line 207 of file iostream.cpp.
Definition at line 237 of file iostream.cpp.
Definition at line 191 of file iostream.cpp.
Definition at line 232 of file iostream.cpp.
Definition at line 222 of file iostream.cpp.
Definition at line 212 of file iostream.cpp.
Definition at line 242 of file iostream.cpp.
auto fc::operator<< | ( | U & | u, |
const fwd< T, S, A > & | f | ||
) | -> typename detail::insert_op<U,T>::type |
Definition at line 50 of file fwd_impl.hpp.
Definition at line 752 of file variant.cpp.
bool fc::operator== | ( | const directory_iterator & | r, |
const directory_iterator & | l | ||
) |
Definition at line 180 of file filesystem.cpp.
Definition at line 76 of file filesystem.cpp.
Definition at line 126 of file hash160.cpp.
bool fc::operator== | ( | const logger & | l, |
std::nullptr_t | |||
) |
Definition at line 57 of file logger.cpp.
bool fc::operator== | ( | const optional< T > & | left, |
const optional< T > & | right | ||
) |
Definition at line 249 of file optional.hpp.
bool fc::operator== | ( | const optional< T > & | left, |
const U & | u | ||
) |
Definition at line 253 of file optional.hpp.
bool fc::operator== | ( | const recursive_directory_iterator & | r, |
const recursive_directory_iterator & | l | ||
) |
Definition at line 201 of file filesystem.cpp.
Definition at line 98 of file ripemd160.cpp.
Definition at line 78 of file sha224.cpp.
Definition at line 98 of file sha256.cpp.
Definition at line 84 of file sha512.cpp.
Definition at line 711 of file variant.cpp.
Definition at line 114 of file hash160.cpp.
Definition at line 89 of file ripemd160.cpp.
Definition at line 69 of file sha224.cpp.
Definition at line 89 of file sha256.cpp.
Definition at line 75 of file sha512.cpp.
Definition at line 743 of file variant.cpp.
Definition at line 110 of file hash160.cpp.
Definition at line 86 of file ripemd160.cpp.
Definition at line 66 of file sha224.cpp.
Definition at line 86 of file sha256.cpp.
Definition at line 72 of file sha512.cpp.
Definition at line 73 of file sha256.cpp.
Definition at line 261 of file iostream.cpp.
Definition at line 255 of file iostream.cpp.
auto fc::operator>> | ( | U & | u, |
fwd< T, S, A > & | f | ||
) | -> typename detail::extract_op<U,T>::type |
Definition at line 53 of file fwd_impl.hpp.
|
inline |
Definition at line 650 of file bloom_filter.hpp.
Definition at line 100 of file hash160.cpp.
Definition at line 77 of file ripemd160.cpp.
Definition at line 60 of file sha224.cpp.
Definition at line 78 of file sha256.cpp.
Definition at line 60 of file sha512.cpp.
|
inline |
Definition at line 643 of file bloom_filter.hpp.
uint64_t fc::parse_size | ( | const string & | s | ) |
Parses a size including an optional multiplicative suffix.
M -> 1024*1024 bytes MB -> 1000*1000 bytes MiB -> 1024*1024 bytes
The 'M' may be any of KMGTPEZY (upper or lower case)
Definition at line 121 of file string.cpp.
uint8_t fc::popcount | ( | const fc::uint128_t & | v | ) |
Definition at line 48 of file popcount.cpp.
uint8_t fc::popcount | ( | uint64_t | v | ) |
Definition at line 31 of file popcount.cpp.
std::string fc::pretty_print | ( | const std::string & | v, |
uint8_t | indent | ||
) |
void fc::print_stacktrace | ( | std::ostream & | out | ) |
Definition at line 66 of file stacktrace.cpp.
void fc::print_stacktrace_on_segfault | ( | ) |
Definition at line 65 of file stacktrace.cpp.
std::string fc::prune_invalid_utf8 | ( | const std::string & | str | ) |
void fc::read_file_contents | ( | const fc::path & | filename, |
std::string & | result | ||
) |
Grab the full contents of a file into a string object. NB reading a full file into memory is a poor choice if the file may be very large.
Definition at line 107 of file fstream.cpp.
void fc::record_assert_trip | ( | const char * | filename, |
uint32_t | lineno, | ||
const char * | expr | ||
) |
Definition at line 313 of file exception.cpp.
bool fc::remove | ( | const path & | p | ) |
Definition at line 327 of file filesystem.cpp.
void fc::remove_all | ( | const path & | p | ) |
Definition at line 240 of file filesystem.cpp.
Definition at line 302 of file filesystem.cpp.
void fc::resize_file | ( | const path & | file, |
size_t | s | ||
) |
Definition at line 258 of file filesystem.cpp.
std::vector< fc::ip::endpoint > fc::resolve | ( | const std::string & | host, |
uint16_t | port | ||
) |
Definition at line 7 of file resolve.cpp.
auto fc::schedule | ( | Functor && | f, |
const fc::time_point & | t, | ||
const char *desc | FC_TASK_NAME_DEFAULT_ARG, | ||
priority | prio = priority() |
||
) | -> fc::future<decltype(f())> |
Definition at line 231 of file thread.hpp.
|
inline |
std::shared_ptr< boost::asio::signal_set > fc::set_signal_handler | ( | std::function< void(int)> | handler, |
int | signal_num | ||
) |
Set a handler to process an IPC (inter process communication) signal. Handler will be called from ASIO thread.
Definition at line 6 of file signals.cpp.
void fc::set_variant_type | ( | variant * | v, |
variant::type_id | t | ||
) |
The TypeID is stored in the 'last byte' of the variant.
Definition at line 24 of file variant.cpp.
void fc::sleep_until | ( | const time_point & | tp | ) |
Yields until the specified time in the future.
Definition at line 371 of file thread.cpp.
void fc::store_configuration_path | ( | const path & | filePath | ) |
Allows to explicitly specify OpenSSL configuration file path to be loaded at OpenSSL library init. If not set OpenSSL will try to load the conf. file (openssl.cnf) from the path it was configured with what caused serious Keyhotee startup bugs on some Win7, Win8 machines.
Definition at line 58 of file openssl.cpp.
std::string fc::stringFromStream | ( | T & | in | ) |
std::string fc::stringFromToken | ( | T & | in | ) |
auto fc::sync_call | ( | thread * | t, |
Functor && | f, | ||
const char *desc | FC_TASK_NAME_DEFAULT_ARG, | ||
priority | prio = priority() |
||
) | -> decltype(f()) |
Call f() in thread t and block the current thread until it returns.
If t is null, simply execute f in the current thread.
Definition at line 241 of file thread.hpp.
path fc::temp_directory_path | ( | ) |
Definition at line 343 of file filesystem.cpp.
const char* fc::thread_name | ( | ) |
Definition at line 58 of file thread.cpp.
void* fc::thread_ptr | ( | ) |
Definition at line 61 of file thread.cpp.
void fc::throw_assertion_failure | ( | const std::string & | message | ) |
Definition at line 308 of file exception.cpp.
void fc::throw_bad_enum_cast | ( | const char * | k, |
const char * | e | ||
) |
Definition at line 283 of file exception.cpp.
void fc::throw_bad_enum_cast | ( | int64_t | i, |
const char * | e | ||
) |
Definition at line 277 of file exception.cpp.
boost::asio::ip::udp::endpoint fc::to_asio_ep | ( | const fc::ip::endpoint & | e | ) |
Definition at line 19 of file udp_socket.cpp.
std::string fc::to_base58 | ( | const char * | d, |
size_t | s | ||
) |
Definition at line 612 of file base58.cpp.
std::string fc::to_base58 | ( | const std::vector< char > & | data | ) |
Definition at line 616 of file base58.cpp.
double fc::to_double | ( | const std::string & | i | ) |
Definition at line 60 of file string.cpp.
fc::ip::endpoint fc::to_fc_ep | ( | const boost::asio::ip::udp::endpoint & | e | ) |
Definition at line 22 of file udp_socket.cpp.
int64_t fc::to_int64 | ( | const std::string & | i | ) |
Definition at line 34 of file string.cpp.
std::string fc::to_lower | ( | const std::string & | s | ) |
Definition at line 98 of file string.cpp.
std::string fc::to_pretty_string | ( | int64_t | value | ) |
Definition at line 26 of file string.cpp.
void fc::to_stream | ( | T & | os, |
const variant & | v, | ||
json::output_formatting | format, | ||
uint32_t | max_depth | ||
) |
void fc::to_stream | ( | T & | os, |
const variant_object & | o, | ||
json::output_formatting | format, | ||
uint32_t | max_depth | ||
) |
void fc::to_stream | ( | T & | os, |
const variants & | a, | ||
json::output_formatting | format, | ||
uint32_t | max_depth | ||
) |
std::string fc::to_string | ( | double | d | ) |
Definition at line 73 of file string.cpp.
|
inline |
Definition at line 18 of file string.hpp.
std::string fc::to_string | ( | int64_t | d | ) |
Definition at line 86 of file string.cpp.
std::string fc::to_string | ( | uint16_t | d | ) |
Definition at line 90 of file string.cpp.
|
inline |
Definition at line 19 of file string.hpp.
std::string fc::to_string | ( | uint64_t | d | ) |
Definition at line 81 of file string.cpp.
uint64_t fc::to_uint64 | ( | const std::string & | i | ) |
Definition at line 47 of file string.cpp.
void fc::to_variant | ( | const account_multi_index_type & | accts, |
variant & | vo, | ||
uint32_t | max_depth | ||
) |
Definition at line 1964 of file wallet.cpp.
encodes the big int as base64 string, or a number
Definition at line 215 of file bigint.cpp.
void fc::to_variant | ( | const bool & | var, |
variant & | vo, | ||
uint32_t | max_depth = 1 |
||
) |
Definition at line 637 of file variant.cpp.
void fc::to_variant | ( | const boost::endian::endian_buffer< O, T, N, A > & | var, |
variant & | vo, | ||
uint32_t | max_depth | ||
) |
Definition at line 177 of file variant.hpp.
void fc::to_variant | ( | const boost::multi_index_container< T, Args... > & | s, |
variant & | v, | ||
uint32_t | max_depth | ||
) |
Definition at line 643 of file variant.hpp.
void fc::to_variant | ( | const ecc::private_key & | var, |
variant & | vo, | ||
uint32_t | max_depth | ||
) |
Definition at line 381 of file elliptic_common.cpp.
void fc::to_variant | ( | const ecc::public_key & | var, |
variant & | vo, | ||
uint32_t | max_depth | ||
) |
Definition at line 393 of file elliptic_common.cpp.
void fc::to_variant | ( | const enum_type< IntType, EnumType > & | var, |
variant & | vo, | ||
uint32_t | max_depth = 1 |
||
) |
Definition at line 51 of file enum_type.hpp.
Definition at line 145 of file exception.cpp.
void fc::to_variant | ( | const fc::microseconds & | input_microseconds, |
fc::variant & | output_variant, | ||
uint32_t | max_depth = 1 |
||
) |
void fc::to_variant | ( | const fc::path & | path_to_convert, |
fc::variant & | variant_output, | ||
uint32_t | max_depth = 1 |
||
) |
Definition at line 29 of file filesystem.cpp.
void fc::to_variant | ( | const fc::static_variant< T... > & | s, |
fc::variant & | v, | ||
uint32_t | max_depth | ||
) |
Definition at line 368 of file static_variant.hpp.
void fc::to_variant | ( | const flat_map< K, T... > & | var, |
variant & | vo, | ||
uint32_t | _max_depth | ||
) |
void fc::to_variant | ( | const flat_set< T, A... > & | var, |
variant & | vo, | ||
uint32_t | _max_depth | ||
) |
void fc::to_variant | ( | const graphene::db::object_id< SpaceID, TypeID > & | var, |
fc::variant & | vo, | ||
uint32_t | max_depth = 1 |
||
) |
Definition at line 246 of file object_id.hpp.
|
inline |
Definition at line 223 of file object_id.hpp.
void fc::to_variant | ( | const graphene::protocol::address & | var, |
variant & | vo, | ||
uint32_t | max_depth | ||
) |
Definition at line 104 of file address.cpp.
void fc::to_variant | ( | const graphene::protocol::extension< T > & | value, |
fc::variant & | var, | ||
uint32_t | max_depth | ||
) |
void fc::to_variant | ( | const graphene::protocol::pts_address & | var, |
fc::variant & | vo, | ||
uint32_t | max_depth = 1 |
||
) |
Definition at line 89 of file pts_address.cpp.
void fc::to_variant | ( | const graphene::protocol::public_key_type & | var, |
fc::variant & | vo, | ||
uint32_t | max_depth = 2 |
||
) |
void fc::to_variant | ( | const graphene::protocol::vote_id_type & | var, |
fc::variant & | vo, | ||
uint32_t | max_depth = 1 |
||
) |
Definition at line 130 of file hash160.cpp.
void fc::to_variant | ( | const int16_t & | var, |
variant & | vo, | ||
uint32_t | max_depth = 1 |
||
) |
Definition at line 609 of file variant.cpp.
void fc::to_variant | ( | const int32_t & | var, |
variant & | vo, | ||
uint32_t | max_depth = 1 |
||
) |
Definition at line 619 of file variant.cpp.
void fc::to_variant | ( | const int64_t & | var, |
variant & | vo, | ||
uint32_t | max_depth = 1 |
||
) |
Definition at line 625 of file variant.cpp.
void fc::to_variant | ( | const int8_t & | var, |
variant & | vo, | ||
uint32_t | max_depth = 1 |
||
) |
Definition at line 601 of file variant.cpp.
void fc::to_variant | ( | const ip::address & | var, |
variant & | vo, | ||
uint32_t | _max_depth = 1 |
||
) |
void fc::to_variant | ( | const ip::endpoint & | var, |
variant & | vo, | ||
uint32_t | _max_depth = 2 |
||
) |
void fc::to_variant | ( | const log_context & | l, |
variant & | v, | ||
uint32_t | max_depth | ||
) |
Definition at line 94 of file log_message.cpp.
void fc::to_variant | ( | const log_message & | l, |
variant & | v, | ||
uint32_t | max_depth | ||
) |
Definition at line 108 of file log_message.cpp.
void fc::to_variant | ( | const mutable_variant_object & | var, |
variant & | vo, | ||
uint32_t | max_depth = 1 |
||
) |
Definition at line 400 of file variant_object.cpp.
Definition at line 102 of file ripemd160.cpp.
Definition at line 633 of file variant.hpp.
Definition at line 82 of file sha224.cpp.
Definition at line 102 of file sha256.cpp.
Definition at line 88 of file sha512.cpp.
void fc::to_variant | ( | const std::array< char, N > & | bi, |
variant & | v, | ||
uint32_t | max_depth = 1 |
||
) |
Definition at line 664 of file variant.hpp.
void fc::to_variant | ( | const std::array< unsigned char, N > & | bi, |
variant & | v, | ||
uint32_t | max_depth = 1 |
||
) |
Definition at line 679 of file variant.hpp.
void fc::to_variant | ( | const std::deque< T > & | var, |
variant & | vo, | ||
uint32_t | max_depth | ||
) |
Definition at line 523 of file variant.hpp.
void fc::to_variant | ( | const std::map< K, T... > & | var, |
variant & | vo, | ||
uint32_t | max_depth | ||
) |
Definition at line 449 of file variant.hpp.
void fc::to_variant | ( | const std::multimap< K, T > & | var, |
variant & | vo, | ||
uint32_t | max_depth | ||
) |
Definition at line 469 of file variant.hpp.
void fc::to_variant | ( | const std::pair< A, B > & | t, |
variant & | v, | ||
uint32_t | max_depth | ||
) |
Definition at line 559 of file variant.hpp.
void fc::to_variant | ( | const std::set< T > & | var, |
variant & | vo, | ||
uint32_t | max_depth | ||
) |
Definition at line 490 of file variant.hpp.
void fc::to_variant | ( | const std::shared_ptr< T > & | var, |
variant & | vo, | ||
uint32_t | max_depth | ||
) |
Definition at line 587 of file variant.hpp.
void fc::to_variant | ( | const std::string & | s, |
variant & | v, | ||
uint32_t | max_depth = 1 |
||
) |
Definition at line 653 of file variant.cpp.
void fc::to_variant | ( | const std::unique_ptr< T > & | s, |
variant & | v, | ||
uint32_t | max_depth | ||
) |
Definition at line 609 of file variant.hpp.
void fc::to_variant | ( | const std::unordered_map< K, T > & | var, |
variant & | vo, | ||
uint32_t | max_depth | ||
) |
Definition at line 429 of file variant.hpp.
void fc::to_variant | ( | const std::unordered_set< T > & | var, |
variant & | vo, | ||
uint32_t | max_depth | ||
) |
Definition at line 407 of file variant.hpp.
void fc::to_variant | ( | const std::vector< char > & | var, |
variant & | vo, | ||
uint32_t | max_depth = 1 |
||
) |
Definition at line 663 of file variant.cpp.
void fc::to_variant | ( | const std::vector< T > & | t, |
variant & | v, | ||
uint32_t | max_depth | ||
) |
Definition at line 547 of file variant.hpp.
void fc::to_variant | ( | const T & | o, |
variant & | v, | ||
uint32_t | max_depth | ||
) |
Definition at line 102 of file variant.hpp.
void fc::to_variant | ( | const time_point & | var, |
variant & | vo, | ||
uint32_t | max_depth | ||
) |
void fc::to_variant | ( | const time_point_sec & | var, |
variant & | vo, | ||
uint32_t | max_depth | ||
) |
void fc::to_variant | ( | const uint128_t & | var, |
variant & | vo, | ||
uint32_t | max_depth = 1 |
||
) |
Definition at line 680 of file variant.cpp.
void fc::to_variant | ( | const uint16_t & | var, |
variant & | vo, | ||
uint32_t | max_depth = 1 |
||
) |
Definition at line 605 of file variant.cpp.
void fc::to_variant | ( | const uint32_t & | var, |
variant & | vo, | ||
uint32_t | max_depth = 1 |
||
) |
Definition at line 613 of file variant.cpp.
void fc::to_variant | ( | const uint64_t & | var, |
variant & | vo, | ||
uint32_t | max_depth = 1 |
||
) |
Definition at line 631 of file variant.cpp.
void fc::to_variant | ( | const uint8_t & | var, |
variant & | vo, | ||
uint32_t | max_depth = 1 |
||
) |
Definition at line 597 of file variant.cpp.
void fc::to_variant | ( | const unsigned_int & | var, |
variant & | vo, | ||
uint32_t | max_depth = 1 |
||
) |
Definition at line 6 of file varint.cpp.
void fc::to_variant | ( | const url & | u, |
fc::variant & | v, | ||
uint32_t | max_depth = 1 |
||
) |
void fc::to_variant | ( | const variant_object & | var, |
variant & | vo, | ||
uint32_t | max_depth = 1 |
||
) |
Definition at line 165 of file variant_object.cpp.
void fc::to_variant | ( | const zero_initialized_array< unsigned char, N > & | bi, |
variant & | v, | ||
uint32_t | max_depth = 1 |
||
) |
Definition at line 52 of file zeroed_array.hpp.
Definition at line 113 of file log_message.cpp.
void fc::to_variant | ( | long long int | s, |
variant & | v, | ||
uint32_t | max_depth = 1 |
||
) |
Definition at line 707 of file variant.cpp.
void fc::to_variant | ( | unsigned long long int | s, |
variant & | v, | ||
uint32_t | max_depth = 1 |
||
) |
Definition at line 708 of file variant.cpp.
variant fc::token_from_stream | ( | T & | in | ) |
std::string fc::trim | ( | const std::string & | s | ) |
Definition at line 94 of file string.cpp.
string fc::trim_and_normalize_spaces | ( | const string & | s | ) |
Definition at line 104 of file string.cpp.
|
inline |
Definition at line 67 of file uint128.hpp.
|
inline |
Definition at line 57 of file uint128.hpp.
|
inline |
Definition at line 54 of file uint128.hpp.
() file_not_found_exception() parse_error_exception() invalid_arg_exception() invalid_operation_exception() key_not_found_exception() bad_cast_exception() out_of_range_exception() canceled_exception() assert_exception() eof_exception() unknown_host_exception() null_optional() aes_exception() overflow_exception() fc::underflow_exception | ( | divide_by_zero_exception | ) |
Definition at line 46 of file exception.cpp.
path fc::unique_path | ( | ) |
Definition at line 342 of file filesystem.cpp.
void fc::usleep | ( | const microseconds & | u | ) |
Yields to other ready tasks for u microseconds.
Definition at line 368 of file thread.cpp.
variant fc::variant_from_stream | ( | T & | in, |
uint32_t | max_depth | ||
) |
|
inline |
Definition at line 44 of file signals.hpp.
|
inline |
Definition at line 38 of file signals.hpp.
int fc::wait_any | ( | const fc::future< T1 > & | f1, |
const fc::future< T2 > & | f2, | ||
const microseconds | timeout_us = microseconds::maximum() |
||
) |
Wait until either f1 or f2 is ready.
Definition at line 220 of file thread.hpp.
int fc::wait_any | ( | std::vector< promise_base::ptr > && | v, |
const microseconds & | timeout_us = microseconds::maximum() |
||
) |
Definition at line 380 of file thread.cpp.
int fc::wait_any_until | ( | std::vector< promise_base::ptr > && | v, |
const time_point & | tp | ||
) |
Definition at line 385 of file thread.cpp.
void fc::yield | ( | ) |
Yields to other ready tasks before returning.
Definition at line 365 of file thread.cpp.
Definition at line 176 of file iostream.cpp.
Definition at line 174 of file iostream.cpp.
Definition at line 177 of file iostream.cpp.
Definition at line 172 of file iostream.cpp.
const typedef blob* fc::const_blob_ptr |
Definition at line 178 of file variant.cpp.
const typedef string* fc::const_string_ptr |
Definition at line 179 of file variant.cpp.
const typedef variant_object* fc::const_variant_object_ptr |
Definition at line 176 of file variant.cpp.
const typedef variants* fc::const_variants_ptr |
Definition at line 177 of file variant.cpp.
Definition at line 175 of file iostream.cpp.
Definition at line 173 of file iostream.cpp.
bool fc::do_default_config = configure_logging( logging_config::default_config() ) |
Definition at line 115 of file logger.cpp.
bool fc::enable_record_assert_trip = false |
Definition at line 337 of file exception.cpp.
const char* const fc::git_revision_sha |
const uint32_t fc::git_revision_unix_timestamp |
openssl_thread_config fc::openssl_thread_config_manager |