DD4hep
1.30.0
Detector Description Toolkit for High Energy Physics
|
Class describing a list of XML nodes. More...
#include <XMLElements.h>
Public Member Functions | |
NodeList (const NodeList &l) | |
Copy constructor. More... | |
NodeList (XmlElement *frst, const XmlChar *t) | |
Initializing constructor. More... | |
~NodeList () | |
Default destructor. More... | |
XmlElement * | reset () |
Reset the nodelist - e.g. restart iteration from beginning. More... | |
XmlElement * | next () const |
Advance to next element. More... | |
XmlElement * | previous () const |
Go back to previous element. More... | |
NodeList & | operator= (const NodeList &l) |
Assignment operator. More... | |
Public Attributes | |
Tag_t | m_tag |
XmlElement * | m_node |
XmlElement * | m_ptr |
Class describing a list of XML nodes.
Definition of a "list" of xml elements hanging of the parent. The list allows iterations, which can be restarted. Please not: Copies are not entirely free, since the string tag need to be replicated using strdup/free (or when using xerces the corresponding unicode routines).
Definition at line 349 of file XMLElements.h.
NodeList::NodeList | ( | const NodeList & | l | ) |
Copy constructor.
Definition at line 564 of file XMLElements.cpp.
NodeList::NodeList | ( | XmlElement * | frst, |
const XmlChar * | t | ||
) |
Initializing constructor.
Definition at line 571 of file XMLElements.cpp.
NodeList::~NodeList | ( | ) |
Default destructor.
Definition at line 578 of file XMLElements.cpp.
XmlElement * NodeList::next | ( | ) | const |
Advance to next element.
Definition at line 587 of file XMLElements.cpp.
Assignment operator.
Definition at line 621 of file XMLElements.cpp.
XmlElement * NodeList::previous | ( | ) | const |
Go back to previous element.
Definition at line 604 of file XMLElements.cpp.
XmlElement * NodeList::reset | ( | ) |
Reset the nodelist - e.g. restart iteration from beginning.
Reset the nodelist.
Definition at line 582 of file XMLElements.cpp.
XmlElement* dd4hep::xml::NodeList::m_node |
Definition at line 352 of file XMLElements.h.
|
mutable |
Definition at line 353 of file XMLElements.h.
Tag_t dd4hep::xml::NodeList::m_tag |
Definition at line 351 of file XMLElements.h.