Proxy class to access XML-RPC values by library users. More...
#include <value.h>
Classes | |
class | Bad_cast |
Public Member Functions | |
Value (Value_type *) | |
Value (const Value &) | |
Value (Nil) | |
Value (int) | |
Value (bool) | |
Value (double) | |
Value (std::string) | |
Value (const char *) | |
Value (const Binary_data &) | |
Value (const Date_time &) | |
Value (const struct tm *) | |
Value (const Array &) | |
Value (const Struct &) | |
const Value & | operator= (const Value &) |
void | apply_visitor (Value_type_visitor &) const |
Type identification | |
bool | is_nil () const |
bool | is_int () const |
bool | is_bool () const |
bool | is_double () const |
bool | is_string () const |
bool | is_binary () const |
bool | is_datetime () const |
bool | is_array () const |
bool | is_struct () const |
const std::string & | type_name () const |
Access scalar value | |
int | get_int () const |
bool | get_bool () const |
double | get_double () const |
std::string | get_string () const |
Binary_data | get_binary () const |
Date_time | get_datetime () const |
operator int () const | |
operator bool () const | |
operator double () const | |
operator std::string () const | |
operator Binary_data () const | |
operator struct tm () const | |
Array functions | |
Access inner Array value | |
Array & | the_array () |
const Array & | the_array () const |
size_t | size () const |
const Value & | operator[] (int) const |
Value & | operator[] (int) |
void | push_back (const Value &v) |
Array::const_iterator | arr_begin () const |
Array::const_iterator | arr_end () const |
Struct functions | |
Access inner Struct value. | |
Struct & | the_struct () |
const Struct & | the_struct () const |
bool | has_field (const std::string &f) const |
const Value & | operator[] (const char *) const |
Value & | operator[] (const char *) |
const Value & | operator[] (const std::string &) const |
Value & | operator[] (const std::string &) |
void | insert (const std::string &n, const Value &v) |
Proxy class to access XML-RPC values by library users.
Bad_cast |