![]() |
DD4hep
1.31.0
Detector Description Toolkit for High Energy Physics
|
Classes | |
class | dd4hep::xml::DocumentHandler |
Class supporting to read and parse XML documents. More... | |
class | dd4hep::xml::LayeringCnv |
XML converter for layering objects. More... | |
class | dd4hep::xml::UriReader |
Class supporting to read data given a URI. More... | |
class | dd4hep::xml::UriContextReader |
Class supporting to read data given a URI. More... | |
class | dd4hep::xml::XmlString |
Definition of the XmlString class. More... | |
class | dd4hep::xml::Strng_t |
Helper class to encapsulate a unicode string. More... | |
class | dd4hep::xml::Tag_t |
Class to support both way translation between C++ and XML strings. More... | |
class | dd4hep::xml::NodeList |
Class describing a list of XML nodes. More... | |
class | dd4hep::xml::Handle_t |
Class to easily access the properties of single XmlElements. More... | |
class | dd4hep::xml::Collection_t |
Class to support the access to collections of XmlNodes (or XmlElements) More... | |
class | dd4hep::xml::Document |
Class supporting the basic functionality of an XML document. More... | |
class | dd4hep::xml::DocumentHolder |
Class supporting the basic functionality of an XML document including ownership. More... | |
class | dd4hep::xml::Element |
User abstraction class to manipulate XML elements within a document. More... | |
class | dd4hep::xml::RefElement |
User abstraction class to manipulate named XML elements (references) within a document. More... | |
Functions | |
template<typename T > | |
std::string | dd4hep::_toString (const T *p, const char *fmt="%p") |
Format any pointer (64 bits) to string. More... | |
std::string | dd4hep::xml::_toString (const Attribute attr) |
Convert xml attribute to STL string. More... | |
std::string | dd4hep::xml::_toString (const XmlChar *toTranscode) |
Convert xml string to STL string. More... | |
std::string | dd4hep::xml::_toString (const char *s) |
Do-nothing version. Present for completeness and argument interchangeability. More... | |
std::string | dd4hep::xml::_toString (const std::string &s) |
Do-nothing version. Present for completeness and argument interchangeability. More... | |
std::string | dd4hep::xml::_toString (unsigned long i, const char *fmt="%lu") |
Format unsigned long integer to string with arbitrary format. More... | |
std::string | dd4hep::xml::_toString (unsigned int i, const char *fmt="%u") |
Format unsigned integer (32 bits) to string with arbitrary format. More... | |
std::string | dd4hep::xml::_toString (int i, const char *fmt="%d") |
Format signed integer (32 bits) to string with arbitrary format. More... | |
std::string | dd4hep::xml::_toString (long i, const char *fmt="%ld") |
Format signed long integer to string with arbitrary format. More... | |
std::string | dd4hep::xml::_toString (float d, const char *fmt="%.17e") |
Format single procision float number (32 bits) to string with arbitrary format. More... | |
std::string | dd4hep::xml::_toString (double d, const char *fmt="%.17e") |
Format double procision float number (64 bits) to string with arbitrary format. More... | |
std::string | dd4hep::xml::_ptrToString (const void *p, const char *fmt="%p") |
Format void pointer (64 bits) to string with arbitrary format. More... | |
template<typename T > | |
std::string | dd4hep::xml::_toString (const T *p, const char *fmt="%p") |
Format void pointer (64 bits) to string with arbitrary format. More... | |
void | dd4hep::xml::_toDictionary (const XmlChar *name, const XmlChar *value) |
Helper function to populate the evaluator dictionary. More... | |
template<typename T > | |
void | dd4hep::xml::_toDictionary (const XmlChar *name, T value) |
Helper function to populate the evaluator dictionary. More... | |
void | dd4hep::xml::_toDictionary (const XmlChar *name, float value) |
Helper function to populate the evaluator dictionary. More... | |
void | dd4hep::xml::_toDictionary (const XmlChar *name, double value) |
Helper function to populate the evaluator dictionary. More... | |
bool | dd4hep::xml::_toBool (const XmlChar *value) |
Conversion function from raw unicode string to bool. More... | |
int | dd4hep::xml::_toInt (const XmlChar *value) |
Conversion function from raw unicode string to int. More... | |
unsigned int | dd4hep::xml::_toUInt (const XmlChar *value) |
Conversion function from raw unicode string to unsigned int. More... | |
long | dd4hep::xml::_toLong (const XmlChar *value) |
Conversion function from raw unicode string to long. More... | |
unsigned long | dd4hep::xml::_toULong (const XmlChar *value) |
Conversion function from raw unicode string to unsigned long. More... | |
float | dd4hep::xml::_toFloat (const XmlChar *value) |
Conversion function from raw unicode string to float. More... | |
double | dd4hep::xml::_toDouble (const XmlChar *value) |
Conversion function from raw unicode string to double. More... | |
Strng_t | dd4hep::xml::operator+ (const Strng_t &a, const char *b) |
Unicode string concatenation of a normal ASCII string from right side. More... | |
Strng_t | dd4hep::xml::operator+ (const Strng_t &a, const std::string &b) |
Unicode string concatenation of a encapsulated and an STL string from right side. More... | |
Strng_t | dd4hep::xml::operator+ (const Strng_t &a, const Strng_t &b) |
Unicode string concatenation of a encapsulated and an encapsulated string from right side. More... | |
Strng_t | dd4hep::xml::operator+ (const char *a, const Strng_t &b) |
Unicode string concatenation of a normal ASCII string from left side. More... | |
Strng_t | dd4hep::xml::operator+ (const std::string &a, const Strng_t &b) |
Unicode string concatenation of a STL string and an encapsulated string from the left. More... | |
Strng_t | dd4hep::xml::operator+ (const Strng_t &a, const XmlChar *b) |
Unicode string concatenation of a encapsulated and raw unicode string from right side. More... | |
Strng_t | dd4hep::xml::operator+ (const XmlChar *a, const Strng_t &b) |
Unicode string concatenation of a encapsulated and raw unicode string from left side. More... | |
Strng_t | dd4hep::xml::operator+ (const XmlChar *a, const std::string &b) |
Unicode string concatenation of a raw unicode and an STL string from the right. More... | |
Strng_t | dd4hep::xml::operator+ (const std::string &a, const XmlChar *b) |
Unicode string concatenation of a raw unicode and an STL string from the left. More... | |
Tag_t | dd4hep::xml::operator+ (const Tag_t &a, const char *b) |
Tag/string concatenation with a normal ASCII string from right side. More... | |
Tag_t | dd4hep::xml::operator+ (const char *a, const Tag_t &b) |
Tag/string concatenation with a normal ASCII string from left side. More... | |
Tag_t | dd4hep::xml::operator+ (const Tag_t &a, const XmlChar *b) |
Tag/string concatenation with a unicode string from right side. More... | |
Tag_t | dd4hep::xml::operator+ (const Tag_t &a, const Strng_t &b) |
Tag/string concatenation with a internal Xml string from right side. More... | |
Tag_t | dd4hep::xml::operator+ (const Tag_t &a, const std::string &b) |
Tag/string concatenation with a STL string from right side. More... | |
bool | dd4hep::xml::operator== (const std::string &c, const Tag_t &b) |
Equality operator between tag object and STL string. More... | |
void | dd4hep::xml::_toDictionary (const XmlChar *name, const Strng_t &s) |
Helper function to populate the evaluator dictionary. More... | |
void | dd4hep::xml::_toDictionary (const XmlChar *name, const Tag_t &t) |
Helper function to populate the evaluator dictionary. More... | |
dd4hep XML utilities
Summary of all XML utilities present in the dd4hep toolkit.
std::string dd4hep::xml::_ptrToString | ( | const void * | p, |
const char * | fmt = "%p" |
||
) |
Format void pointer (64 bits) to string with arbitrary format.
Format pointer to string with arbitrary format.
Definition at line 314 of file XMLElements.cpp.
bool dd4hep::xml::_toBool | ( | const XmlChar * | value | ) |
Conversion function from raw unicode string to bool.
Definition at line 341 of file XMLElements.cpp.
Helper function to populate the evaluator dictionary.
Definition at line 374 of file XMLElements.cpp.
Helper function to populate the evaluator dictionary.
Definition at line 379 of file XMLElements.cpp.
Helper function to populate the evaluator dictionary.
Definition at line 368 of file XMLElements.cpp.
template void dd4hep::xml::_toDictionary | ( | const XmlChar * | name, |
double | value | ||
) |
Helper function to populate the evaluator dictionary.
template void dd4hep::xml::_toDictionary | ( | const XmlChar * | name, |
float | value | ||
) |
Helper function to populate the evaluator dictionary.
void dd4hep::xml::_toDictionary | ( | const XmlChar * | name, |
T | value | ||
) |
Helper function to populate the evaluator dictionary.
Definition at line 384 of file XMLElements.cpp.
double dd4hep::xml::_toDouble | ( | const XmlChar * | value | ) |
Conversion function from raw unicode string to double.
Definition at line 360 of file XMLElements.cpp.
float dd4hep::xml::_toFloat | ( | const XmlChar * | value | ) |
Conversion function from raw unicode string to float.
Definition at line 352 of file XMLElements.cpp.
int dd4hep::xml::_toInt | ( | const XmlChar * | value | ) |
Conversion function from raw unicode string to int.
Definition at line 333 of file XMLElements.cpp.
long dd4hep::xml::_toLong | ( | const XmlChar * | value | ) |
Conversion function from raw unicode string to long.
Definition at line 318 of file XMLElements.cpp.
std::string dd4hep::xml::_toString | ( | const Attribute | attr | ) |
Convert xml attribute to STL string.
Convert attribute value to string.
Definition at line 237 of file XMLElements.cpp.
std::string dd4hep::xml::_toString | ( | const char * | s | ) |
Do-nothing version. Present for completeness and argument interchangeability.
Definition at line 250 of file XMLElements.cpp.
std::string dd4hep::xml::_toString | ( | const std::string & | s | ) |
Do-nothing version. Present for completeness and argument interchangeability.
Definition at line 257 of file XMLElements.cpp.
std::string dd4hep::xml::_toString | ( | const T * | p, |
const char * | fmt = "%p" |
||
) |
Format void pointer (64 bits) to string with arbitrary format.
Definition at line 128 of file XMLElements.h.
std::string dd4hep::_toString | ( | const T * | p, |
const char * | fmt = "%p" |
||
) |
std::string dd4hep::xml::_toString | ( | const XmlChar * | toTranscode | ) |
Convert xml string to STL string.
Convert XML char to std::string.
Definition at line 200 of file XMLElements.cpp.
std::string dd4hep::xml::_toString | ( | double | d, |
const char * | fmt = "%.17e" |
||
) |
Format double procision float number (64 bits) to string with arbitrary format.
Definition at line 294 of file XMLElements.cpp.
std::string dd4hep::xml::_toString | ( | float | d, |
const char * | fmt = "%.17e" |
||
) |
Format single procision float number (32 bits) to string with arbitrary format.
Definition at line 284 of file XMLElements.cpp.
std::string dd4hep::xml::_toString | ( | int | i, |
const char * | fmt = "%d" |
||
) |
Format signed integer (32 bits) to string with arbitrary format.
Definition at line 274 of file XMLElements.cpp.
std::string dd4hep::xml::_toString | ( | long | i, |
const char * | fmt = "%ld" |
||
) |
Format signed long integer to string with arbitrary format.
Definition at line 279 of file XMLElements.cpp.
std::string dd4hep::xml::_toString | ( | unsigned int | i, |
const char * | fmt = "%u" |
||
) |
Format unsigned integer (32 bits) to string with arbitrary format.
Definition at line 269 of file XMLElements.cpp.
std::string dd4hep::xml::_toString | ( | unsigned long | i, |
const char * | fmt = "%lu" |
||
) |
Format unsigned long integer to string with arbitrary format.
Definition at line 264 of file XMLElements.cpp.
unsigned int dd4hep::xml::_toUInt | ( | const XmlChar * | value | ) |
Conversion function from raw unicode string to unsigned int.
Definition at line 337 of file XMLElements.cpp.
unsigned long dd4hep::xml::_toULong | ( | const XmlChar * | value | ) |
Conversion function from raw unicode string to unsigned long.
Definition at line 326 of file XMLElements.cpp.
Unicode string concatenation of a normal ASCII string from left side.
Definition at line 436 of file XMLElements.cpp.
Tag/string concatenation with a normal ASCII string from left side.
Definition at line 449 of file XMLElements.cpp.
Unicode string concatenation of a STL string and an encapsulated string from the left.
Definition at line 428 of file XMLElements.cpp.
Unicode string concatenation of a raw unicode and an STL string from the left.
Definition at line 480 of file XMLElements.cpp.
Unicode string concatenation of a normal ASCII string from right side.
Definition at line 432 of file XMLElements.cpp.
Unicode string concatenation of a encapsulated and an STL string from right side.
Definition at line 424 of file XMLElements.cpp.
Unicode string concatenation of a encapsulated and an encapsulated string from right side.
Definition at line 440 of file XMLElements.cpp.
Unicode string concatenation of a encapsulated and raw unicode string from right side.
Definition at line 465 of file XMLElements.cpp.
Tag/string concatenation with a normal ASCII string from right side.
Definition at line 444 of file XMLElements.cpp.
Tag/string concatenation with a STL string from right side.
Definition at line 459 of file XMLElements.cpp.
Tag/string concatenation with a internal Xml string from right side.
Definition at line 454 of file XMLElements.cpp.
Tag/string concatenation with a unicode string from right side.
Definition at line 485 of file XMLElements.cpp.
Unicode string concatenation of a raw unicode and an STL string from the right.
Definition at line 475 of file XMLElements.cpp.
Unicode string concatenation of a encapsulated and raw unicode string from left side.
Definition at line 470 of file XMLElements.cpp.
|
inline |
Equality operator between tag object and STL string.
Definition at line 324 of file XMLElements.h.