BitShares-Core  5.0.0
BitShares blockchain implementation and command-line interface software
Classes | Functions | Variables
fc::detail Namespace Reference

Classes

struct  add
 
struct  add_eq
 
struct  all_optionals
 This metafunction determines whether all of its template arguments are instantiations of fc::optional. More...
 
struct  all_optionals< fc::optional< T >, Ts... >
 
struct  all_optionals< T, Ts... >
 
struct  all_optionals<>
 
class  any_api
 
class  appender_factory_impl
 
class  average_rate_meter
 
class  bignum_error
 
class  buffered_istream_impl
 
class  buffered_ostream_impl
 
class  callback_functor
 
class  callback_functor< void(Args...)>
 
class  CAutoBN_CTX
 
class  CBigNum
 
class  completion_handler
 
class  completion_handler_impl
 
class  completion_handler_impl< Functor, void >
 
struct  extract_op
 
struct  functor_destructor
 
struct  functor_run
 
class  idle_guard
 
class  idle_notifier_impl
 
struct  insert_op
 
struct  is_operation_shorter
 
struct  is_optional
 This metafunction determines whether its template argument is an instantiation of fc::optional. More...
 
struct  is_optional< fc::optional< T > >
 
class  log_context_impl
 
class  log_message_impl
 
struct  optionals_callable
 
class  path_wrapper
 
class  pool_impl
 
class  rate_limited_operation
 
class  rate_limited_tcp_read_operation
 
class  rate_limited_tcp_write_operation
 
class  rate_limiting_group_impl
 
struct  specific_data_info
 
struct  sub
 
struct  sub_eq
 
class  url_impl
 
struct  void_functor_run
 
class  worker_pool
 

Functions

void throw_datastream_range_error (const char *file, size_t len, int64_t over)
 
template<typename R , typename Arg0 , typename... Args>
std::function< R(Args...)> bind_first_arg (const std::function< R(Arg0, Args...)> &f, Arg0 a0)
 
template<typename R >
call_generic (const std::function< R()> &f, variants::const_iterator a0, variants::const_iterator e, uint32_t max_depth=1)
 
template<typename R , typename Arg0 , typename... Args>
call_generic (const std::function< R(Arg0, Args...)> &f, variants::const_iterator a0, variants::const_iterator e, uint32_t max_depth)
 
template<typename R , typename... Args>
std::function< variant(const fc::variants &, uint32_t)> to_generic (const std::function< R(Args...)> &f)
 
template<typename... Args>
std::function< variant(const fc::variants &, uint32_t)> to_generic (const std::function< void(Args...)> &f)
 
worker_poolget_worker_pool ()
 
void * get_task_specific_data (unsigned slot)
 
void set_task_specific_data (unsigned slot, void *new_value, void(*cleanup)(void *))
 
void * get_thread_specific_data (unsigned slot)
 
void set_thread_specific_data (unsigned slot, void *new_value, void(*cleanup)(void *))
 
unsigned get_next_unused_task_storage_slot ()
 
unsigned get_next_unused_thread_storage_slot ()
 
void shift_l (const char *in, char *out, std::size_t n, unsigned int i)
 
void shift_r (const char *in, char *out, std::size_t n, unsigned int i)
 
const CBigNum operator+ (const CBigNum &a, const CBigNum &b)
 
const CBigNum operator- (const CBigNum &a, const CBigNum &b)
 
const CBigNum operator- (const CBigNum &a)
 
const CBigNum operator* (const CBigNum &a, const CBigNum &b)
 
const CBigNum operator/ (const CBigNum &a, const CBigNum &b)
 
const CBigNum operator% (const CBigNum &a, const CBigNum &b)
 
const CBigNum operator<< (const CBigNum &a, unsigned int shift)
 
const CBigNum operator>> (const CBigNum &a, unsigned int shift)
 
bool operator== (const CBigNum &a, const CBigNum &b)
 
bool operator!= (const CBigNum &a, const CBigNum &b)
 
bool operator<= (const CBigNum &a, const CBigNum &b)
 
bool operator>= (const CBigNum &a, const CBigNum &b)
 
bool operator< (const CBigNum &a, const CBigNum &b)
 
bool operator> (const CBigNum &a, const CBigNum &b)
 
std::string EncodeBase58 (const unsigned char *pbegin, const unsigned char *pend)
 
std::string EncodeBase58 (const std::vector< unsigned char > &vch)
 
bool DecodeBase58 (const char *psz, std::vector< unsigned char > &vchRet)
 
bool DecodeBase58 (const std::string &str, std::vector< unsigned char > &vchRet)
 
void * get_specific_data (std::vector< detail::specific_data_info > *specific_data, unsigned slot)
 
void set_specific_data (std::vector< detail::specific_data_info > *specific_data, unsigned slot, void *new_value, void(*cleanup)(void *))
 

Variables

bool have_so_reuseport = true
 
boost::atomic< unsigned > thread_specific_slot_counter
 

Function Documentation

template<typename R , typename Arg0 , typename... Args>
std::function<R(Args...)> fc::detail::bind_first_arg ( const std::function< R(Arg0, Args...)> &  f,
Arg0  a0 
)

Definition at line 34 of file api_connection.hpp.

template<typename R >
R fc::detail::call_generic ( const std::function< R()> &  f,
variants::const_iterator  a0,
variants::const_iterator  e,
uint32_t  max_depth = 1 
)

Definition at line 41 of file api_connection.hpp.

template<typename R , typename Arg0 , typename... Args>
R fc::detail::call_generic ( const std::function< R(Arg0, Args...)> &  f,
variants::const_iterator  a0,
variants::const_iterator  e,
uint32_t  max_depth 
)

Definition at line 47 of file api_connection.hpp.

bool fc::detail::DecodeBase58 ( const char *  psz,
std::vector< unsigned char > &  vchRet 
)
inline

Definition at line 555 of file base58.cpp.

bool fc::detail::DecodeBase58 ( const std::string &  str,
std::vector< unsigned char > &  vchRet 
)
inline

Definition at line 605 of file base58.cpp.

std::string fc::detail::EncodeBase58 ( const unsigned char *  pbegin,
const unsigned char *  pend 
)
inline

Definition at line 506 of file base58.cpp.

std::string fc::detail::EncodeBase58 ( const std::vector< unsigned char > &  vch)
inline

Definition at line 548 of file base58.cpp.

unsigned fc::detail::get_next_unused_task_storage_slot ( )

Definition at line 37 of file thread_specific.cpp.

unsigned fc::detail::get_next_unused_thread_storage_slot ( )

Definition at line 11 of file thread_specific.cpp.

void* fc::detail::get_specific_data ( std::vector< detail::specific_data_info > *  specific_data,
unsigned  slot 
)

Definition at line 16 of file thread_specific.cpp.

void * fc::detail::get_task_specific_data ( unsigned  slot)

Definition at line 41 of file thread_specific.cpp.

void * fc::detail::get_thread_specific_data ( unsigned  slot)

Definition at line 28 of file thread_specific.cpp.

worker_pool & fc::detail::get_worker_pool ( )

Definition at line 152 of file parallel.cpp.

bool fc::detail::operator!= ( const CBigNum a,
const CBigNum b 
)
inline

Definition at line 496 of file base58.cpp.

const CBigNum fc::detail::operator% ( const CBigNum a,
const CBigNum b 
)
inline

Definition at line 471 of file base58.cpp.

const CBigNum fc::detail::operator* ( const CBigNum a,
const CBigNum b 
)
inline

Definition at line 453 of file base58.cpp.

const CBigNum fc::detail::operator+ ( const CBigNum a,
const CBigNum b 
)
inline

Definition at line 430 of file base58.cpp.

const CBigNum fc::detail::operator- ( const CBigNum a,
const CBigNum b 
)
inline

Definition at line 438 of file base58.cpp.

const CBigNum fc::detail::operator- ( const CBigNum a)
inline

Definition at line 446 of file base58.cpp.

const CBigNum fc::detail::operator/ ( const CBigNum a,
const CBigNum b 
)
inline

Definition at line 462 of file base58.cpp.

bool fc::detail::operator< ( const CBigNum a,
const CBigNum b 
)
inline

Definition at line 499 of file base58.cpp.

const CBigNum fc::detail::operator<< ( const CBigNum a,
unsigned int  shift 
)
inline

Definition at line 480 of file base58.cpp.

bool fc::detail::operator<= ( const CBigNum a,
const CBigNum b 
)
inline

Definition at line 497 of file base58.cpp.

bool fc::detail::operator== ( const CBigNum a,
const CBigNum b 
)
inline

Definition at line 495 of file base58.cpp.

bool fc::detail::operator> ( const CBigNum a,
const CBigNum b 
)
inline

Definition at line 500 of file base58.cpp.

bool fc::detail::operator>= ( const CBigNum a,
const CBigNum b 
)
inline

Definition at line 498 of file base58.cpp.

const CBigNum fc::detail::operator>> ( const CBigNum a,
unsigned int  shift 
)
inline

Definition at line 488 of file base58.cpp.

void fc::detail::set_specific_data ( std::vector< detail::specific_data_info > *  specific_data,
unsigned  slot,
void *  new_value,
void(*)(void *)  cleanup 
)

Definition at line 21 of file thread_specific.cpp.

void fc::detail::set_task_specific_data ( unsigned  slot,
void *  new_value,
void(*)(void *)  cleanup 
)

Definition at line 51 of file thread_specific.cpp.

void fc::detail::set_thread_specific_data ( unsigned  slot,
void *  new_value,
void(*)(void *)  cleanup 
)

Definition at line 32 of file thread_specific.cpp.

void fc::detail::shift_l ( const char *  in,
char *  out,
std::size_t  n,
unsigned int  i 
)

Definition at line 14 of file _digest_common.cpp.

void fc::detail::shift_r ( const char *  in,
char *  out,
std::size_t  n,
unsigned int  i 
)

Definition at line 38 of file _digest_common.cpp.

void fc::detail::throw_datastream_range_error ( const char *  file,
size_t  len,
int64_t  over 
)

Definition at line 4 of file datastream.cpp.

template<typename R , typename... Args>
std::function<variant(const fc::variants&, uint32_t)> fc::detail::to_generic ( const std::function< R(Args...)> &  f)

Definition at line 62 of file api_connection.hpp.

template<typename... Args>
std::function<variant(const fc::variants&, uint32_t)> fc::detail::to_generic ( const std::function< void(Args...)> &  f)

Definition at line 71 of file api_connection.hpp.

Variable Documentation

bool fc::detail::have_so_reuseport = true

Definition at line 25 of file tcp_socket.cpp.

boost::atomic<unsigned> fc::detail::thread_specific_slot_counter

Definition at line 10 of file thread_specific.cpp.