• Home
  • Raw
  • Download

Lines Matching refs:_value

46     XmlRpcValue() : _type(TypeInvalid) { _value.asBinary = 0; }  in XmlRpcValue()
47 XmlRpcValue(bool value) : _type(TypeBoolean) { _value.asBool = value; } in XmlRpcValue()
48 XmlRpcValue(int value) : _type(TypeInt) { _value.asInt = value; } in XmlRpcValue()
49 XmlRpcValue(double value) : _type(TypeDouble) { _value.asDouble = value; } in XmlRpcValue()
52 { _value.asString = new std::string(value); } in XmlRpcValue()
55 { _value.asString = new std::string(value); } in XmlRpcValue()
58 { _value.asTime = new struct tm(*value); } in XmlRpcValue()
63 _value.asBinary = new BinaryData((char*)value, ((char*)value)+nBytes); in XmlRpcValue()
88 operator bool&() { assertTypeOrInvalid(TypeBoolean); return _value.asBool; }
89 operator int&() { assertTypeOrInvalid(TypeInt); return _value.asInt; }
90 operator double&() { assertTypeOrInvalid(TypeDouble); return _value.asDouble; }
91 operator std::string&() { assertTypeOrInvalid(TypeString); return *_value.asString; }
92 operator BinaryData&() { assertTypeOrInvalid(TypeBase64); return *_value.asBinary; }
93 operator struct tm&() { assertTypeOrInvalid(TypeDateTime); return *_value.asTime; }
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]; }
99 …XmlRpcValue& operator[](const char* k) { assertStruct(); std::string s(k); return (*_value.asStruc…
185 } _value; variable