4 #ifndef _iqxmlrpc_value_h_
5 #define _iqxmlrpc_value_h_
42 Value(
const struct tm* );
55 bool is_double()
const;
56 bool is_string()
const;
57 bool is_binary()
const;
58 bool is_datetime()
const;
59 bool is_array()
const;
60 bool is_struct()
const;
62 const std::string& type_name()
const;
68 bool get_bool()
const;
69 double get_double()
const;
70 std::string get_string()
const;
75 operator bool()
const;
76 operator double()
const;
77 operator std::string()
const;
79 operator struct tm() const;
86 const Array& the_array()
const;
89 const Value& operator [](
int )
const;
90 Value& operator [](
int );
92 void push_back(
const Value& v );
102 const Struct& the_struct()
const;
104 bool has_field(
const std::string& f )
const;
106 const Value& operator [](
const char* )
const;
107 Value& operator [](
const char* );
108 const Value& operator [](
const std::string& )
const;
109 Value& operator [](
const std::string& );
111 void insert(
const std::string& n,
const Value& v );
117 template <
class T> T* cast()
const;
118 template <
class T>
bool can_cast()
const;
123 void LIBIQXMLRPC_API print_value(
const Value&, std::ostream&);
127 #include "value_type.inl"
Proxy class to access XML-RPC values by library users.
Definition: value.h:19
XML-RPC array type. Operates with objects of type Value, not Value_type.
Definition: value_type.h:82
XML-RPC extension: Nil type.
Definition: value_type.h:49
XML-RPC dateTime.iso8601 type.
Definition: value_type.h:306
Const interator for Array.
Definition: value_type.h:160
XML-RPC array type. Operates with objects of type Value, not Value_type.
Definition: value_type.h:203
The Value_type's visitor base class.
Definition: value_type_visitor.h:17
Base type for XML-RPC types.
Definition: value_type.h:37
Base class for iqxmlrpc exceptions.
Definition: except.h:23
XML-RPC Base64 type.
Definition: value_type.h:259
Definition: xml_builder.h:15