Lines Matching refs:XmlRpcValue

22   class XmlRpcValue {
41 typedef std::vector<XmlRpcValue> ValueArray;
42 typedef std::map<std::string, XmlRpcValue> ValueStruct;
46 XmlRpcValue() : _type(TypeInvalid) { _value.asBinary = 0; } in XmlRpcValue() function
47 XmlRpcValue(bool value) : _type(TypeBoolean) { _value.asBool = value; } in XmlRpcValue() function
48 XmlRpcValue(int value) : _type(TypeInt) { _value.asInt = value; } in XmlRpcValue() function
49 XmlRpcValue(double value) : _type(TypeDouble) { _value.asDouble = value; } in XmlRpcValue() function
51 XmlRpcValue(std::string const& value) : _type(TypeString) in XmlRpcValue() function
54 XmlRpcValue(const char* value) : _type(TypeString) in XmlRpcValue() function
57 XmlRpcValue(struct tm* value) : _type(TypeDateTime) in XmlRpcValue() function
61 XmlRpcValue(void* value, int nBytes) : _type(TypeBase64) in XmlRpcValue() function
67 XmlRpcValue(std::string const& xml, int* offset) : _type(TypeInvalid) in XmlRpcValue() function
71 XmlRpcValue(XmlRpcValue const& rhs) : _type(TypeInvalid) { *this = rhs; } in XmlRpcValue() function
74 /*virtual*/ ~XmlRpcValue() { invalidate(); } in ~XmlRpcValue()
80 XmlRpcValue& operator=(XmlRpcValue const& rhs);
81 XmlRpcValue& operator=(int const& rhs) { return operator=(XmlRpcValue(rhs)); }
82 XmlRpcValue& operator=(double const& rhs) { return operator=(XmlRpcValue(rhs)); }
83 XmlRpcValue& operator=(const char* rhs) { return operator=(XmlRpcValue(std::string(rhs))); }
85 bool operator==(XmlRpcValue const& other) const;
86 bool operator!=(XmlRpcValue const& other) const;
95 XmlRpcValue const& operator[](int i) const { assertArray(i+1); return _value.asArray->at(i); }
96 XmlRpcValue& operator[](int i) { assertArray(i+1); return _value.asArray->at(i); }
98 XmlRpcValue& operator[](std::string const& k) { assertStruct(); return (*_value.asStruct)[k]; }
99XmlRpcValue& operator[](const char* k) { assertStruct(); std::string s(k); return (*_value.asStruc…
191 std::ostream& operator<<(std::ostream& os, XmlRpc::XmlRpcValue& v);