libiqxmlrpc  0.12.4
 All Classes Namespaces Files Functions Typedefs Enumerations
Classes | Public Member Functions | List of all members
iqxmlrpc::Value Class Reference

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 Valueoperator= (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

Arraythe_array ()
 
const Arraythe_array () const
 
size_t size () const
 
const Valueoperator[] (int) const
 
Valueoperator[] (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.

Structthe_struct ()
 
const Structthe_struct () const
 
bool has_field (const std::string &f) const
 
const Valueoperator[] (const char *) const
 
Valueoperator[] (const char *)
 
const Valueoperator[] (const std::string &) const
 
Valueoperator[] (const std::string &)
 
void insert (const std::string &n, const Value &v)
 

Detailed Description

Proxy class to access XML-RPC values by library users.

Exceptions
Bad_cast

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