DD4hep
1.30.0
Detector Description Toolkit for High Energy Physics
|
Helper class to encapsulate a unicode string. More...
#include <XMLElements.h>
Public Member Functions | |
Strng_t (const XmlChar *c) | |
Initializing constructor from unicode string. More... | |
Strng_t & | operator= (const XmlChar *s) |
Assignment opertor from unicode string. More... | |
Strng_t (const char *c) | |
Initializing constructor from ascii string. More... | |
Strng_t (const std::string &c) | |
Initializing constructor from STL string. More... | |
Strng_t (const Strng_t &c) | |
Copy constructor. More... | |
~Strng_t () | |
Default destructor - release unicode string. More... | |
operator const XmlChar * () const | |
Auto-conversion to unicode string. More... | |
const XmlChar * | ptr () const |
Accessor to unicode string. More... | |
size_t | length () const |
String length in native representation. More... | |
Strng_t & | operator= (const char *s) |
Assignment opertor from ascii string. More... | |
Strng_t & | operator= (const Strng_t &s) |
Assignment opertor from helper string. More... | |
Strng_t & | operator= (const std::string &s) |
Assignment opertor from STL string. More... | |
Public Attributes | |
XmlChar * | m_xml |
Pointer to unicode string. More... | |
Helper class to encapsulate a unicode string.
Simple conversion from ascii strings to unicode strings. Useful when using XercesC - dummy implementation for TiXml.
Definition at line 170 of file XMLElements.h.
|
inline |
Initializing constructor from unicode string.
Definition at line 176 of file XMLElements.h.
|
inline |
Initializing constructor from ascii string.
Definition at line 183 of file XMLElements.h.
|
inline |
Initializing constructor from STL string.
Definition at line 187 of file XMLElements.h.
|
inline |
Copy constructor.
Definition at line 191 of file XMLElements.h.
|
inline |
Default destructor - release unicode string.
Definition at line 195 of file XMLElements.h.
|
inline |
String length in native representation.
Definition at line 208 of file XMLElements.h.
|
inline |
Auto-conversion to unicode string.
Definition at line 200 of file XMLElements.h.
Strng_t & Strng_t::operator= | ( | const char * | s | ) |
Assignment opertor from ascii string.
Definition at line 495 of file XMLElements.cpp.
Strng_t & Strng_t::operator= | ( | const std::string & | s | ) |
Assignment opertor from STL string.
Definition at line 511 of file XMLElements.cpp.
Assignment opertor from helper string.
Definition at line 502 of file XMLElements.cpp.
Assignment opertor from unicode string.
Definition at line 487 of file XMLElements.cpp.
|
inline |
Accessor to unicode string.
Definition at line 204 of file XMLElements.h.
XmlChar* dd4hep::xml::Strng_t::m_xml |
Pointer to unicode string.
Definition at line 173 of file XMLElements.h.