8# pragma warning(disable:4786)
51 {
_value.asString =
new std::string(value); }
54 {
_value.asString =
new std::string(value); }
57 {
_value.asTime =
new struct tm(*value); }
114 bool hasMember(
const std::string& name)
const;
117 bool fromXml(std::string
const& valueXml,
int* offset);
120 std::string
toXml()
const;
123 std::ostream&
write(std::ostream& os)
const;
144 bool boolFromXml(std::string
const& valueXml,
int* offset);
145 bool intFromXml(std::string
const& valueXml,
int* offset);
146 bool doubleFromXml(std::string
const& valueXml,
int* offset);
147 bool stringFromXml(std::string
const& valueXml,
int* offset);
148 bool timeFromXml(std::string
const& valueXml,
int* offset);
149 bool binaryFromXml(std::string
const& valueXml,
int* offset);
150 bool arrayFromXml(std::string
const& valueXml,
int* offset);
151 bool structFromXml(std::string
const& valueXml,
int* offset);
**********Class see also m_nmax DOUBLE PRECISION m_amel DOUBLE PRECISION m_x2 DOUBLE PRECISION m_alfinv DOUBLE PRECISION m_Xenph INTEGER m_KeyWtm INTEGER m_idyfs DOUBLE PRECISION m_zini DOUBLE PRECISION m_q2 DOUBLE PRECISION m_Wt_KF DOUBLE PRECISION m_WtCut INTEGER m_KFfin *COMMON c_KarLud $ !Input CMS energy[GeV] $ !CMS energy after beam spread beam strahlung[GeV] $ !Beam energy spread[GeV] $ !z boost due to beam spread $ !electron beam mass *ff pair spectrum $ !minimum v
std::ostream & operator<<(std::ostream &os, XmlRpc::XmlRpcValue &v)
RPC method arguments and results are represented by Values.
std::vector< char > BinaryData
std::string intToXml() const
std::string doubleToXml() const
bool timeFromXml(std::string const &valueXml, int *offset)
bool hasMember(const std::string &name) const
Check for the existence of a struct member by name.
XmlRpcValue & operator[](const char *k)
XmlRpcValue(std::string const &value)
bool operator==(XmlRpcValue const &other) const
bool binaryFromXml(std::string const &valueXml, int *offset)
int size() const
Return the size for string, base64, array, and struct values.
XmlRpcValue & operator=(XmlRpcValue const &rhs)
bool intFromXml(std::string const &valueXml, int *offset)
XmlRpcValue & operator=(const char *rhs)
void assertArray(int size) const
XmlRpcValue & operator=(double const &rhs)
XmlRpcValue const & operator[](int i) const
std::string arrayToXml() const
std::string timeToXml() const
void assertTypeOrInvalid(Type t)
std::string structToXml() const
void clear()
Erase the current value.
XmlRpcValue(std::string const &xml, int *offset)
Construct from xml, beginning at *offset chars into the string, updates offset.
bool doubleFromXml(std::string const &valueXml, int *offset)
XmlRpcValue(void *value, int nBytes)
static void setDoubleFormat(const char *f)
Specify the format used to write double values.
bool arrayFromXml(std::string const &valueXml, int *offset)
bool operator!=(XmlRpcValue const &other) const
XmlRpcValue(XmlRpcValue const &rhs)
Copy.
XmlRpcValue(double value)
XmlRpcValue & operator[](std::string const &k)
bool fromXml(std::string const &valueXml, int *offset)
Decode xml. Destroys any existing value.
bool structFromXml(std::string const &valueXml, int *offset)
std::string binaryToXml() const
union XmlRpc::XmlRpcValue::@47 _value
XmlRpcValue(struct tm *value)
static std::string _doubleFormat
std::map< std::string, XmlRpcValue > ValueStruct
~XmlRpcValue()
Destructor (make virtual if you want to subclass)
std::string boolToXml() const
static std::string const & getDoubleFormat()
Return the format used to write double values.
std::vector< XmlRpcValue > ValueArray
bool stringFromXml(std::string const &valueXml, int *offset)
std::ostream & write(std::ostream &os) const
Write the value (no xml encoding)
bool valid() const
Return true if the value has been set to something.
XmlRpcValue & operator=(int const &rhs)
XmlRpcValue & operator[](int i)
bool boolFromXml(std::string const &valueXml, int *offset)
XmlRpcValue(const char *value)
std::string toXml() const
Encode the Value in xml.
void setSize(int size)
Specify the size for array values. Array values will grow beyond this size if needed.
std::string stringToXml() const
Type const & getType() const
Return the type of the value stored.
XmlRpcValue()
Constructors.