|
BmnRoot
|
#include <MpdXMLNode.h>
Public Member Functions | |
| MpdXMLNode (const MpdXMLNode &other) | |
| MpdXMLNode (TString name="", TString value="") | |
| MpdXMLNode & | operator= (const MpdXMLNode &other) |
| void | Copy (TXMLNode *node) |
| void | SetValue (TString value) |
| void | AddChild (MpdXMLNode *node) |
| void | AddAttrib (MpdXMLAttrib *attrib) |
| Int_t | GetNChildren () const |
| Int_t | GetNAttributes () const |
| Int_t | GetNChildren (TString name) const |
| TString | GetValue () const |
| MpdXMLAttrib * | GetAttrib (TString name) const |
| MpdXMLAttrib * | GetAttrib (Int_t index) const |
| MpdXMLNode * | GetChild (TString name, Int_t count=0) const |
| MpdXMLNode * | GetChild (Int_t index) const |
| virtual | ~MpdXMLNode () |
| MpdXMLNode (const MpdXMLNode &other) | |
| MpdXMLNode (TString name="", TString value="") | |
| MpdXMLNode & | operator= (const MpdXMLNode &other) |
| void | Copy (TXMLNode *node) |
| void | SetValue (TString value) |
| void | AddChild (MpdXMLNode *node) |
| void | AddAttrib (MpdXMLAttrib *attrib) |
| Int_t | GetNChildren () const |
| Int_t | GetNAttributes () const |
| Int_t | GetNChildren (TString name) const |
| TString | GetValue () const |
| MpdXMLAttrib * | GetAttrib (TString name) const |
| MpdXMLAttrib * | GetAttrib (Int_t index) const |
| MpdXMLNode * | GetChild (TString name, Int_t count=0) const |
| MpdXMLNode * | GetChild (Int_t index) const |
| virtual | ~MpdXMLNode () |
class for representing XML node
Definition at line 50 of file MpdXMLNode.h.
| MpdXMLNode::MpdXMLNode | ( | const MpdXMLNode & | other | ) |
copy constructor
| other |
Definition at line 21 of file MpdXMLNode.cxx.
References GetAttrib(), GetChild(), and i.
| MpdXMLNode::MpdXMLNode | ( | TString | name = "", |
| TString | value = "" |
||
| ) |
default constructor
| name | name of node |
| value | value of node |
Definition at line 16 of file MpdXMLNode.cxx.
|
virtual |
Definition at line 121 of file MpdXMLNode.cxx.
| MpdXMLNode::MpdXMLNode | ( | const MpdXMLNode & | other | ) |
copy constructor
| other |
| MpdXMLNode::MpdXMLNode | ( | TString | name = "", |
| TString | value = "" |
||
| ) |
default constructor
| name | name of node |
| value | value of node |
|
virtual |
| void MpdXMLNode::AddAttrib | ( | MpdXMLAttrib * | attrib | ) |
add attribute to this class
| attrib |
Definition at line 75 of file MpdXMLNode.cxx.
References GetAttrib().
| void MpdXMLNode::AddAttrib | ( | MpdXMLAttrib * | attrib | ) |
add attribute to this class
| attrib |
|
inline |
add child node to this node, node is now owned by parent node
| node | node to add |
Definition at line 86 of file MpdXMLNode.h.
|
inline |
add child node to this node, node is now owned by parent node
| node | node to add |
Definition at line 86 of file MpdXMLNode.h.
| void MpdXMLNode::Copy | ( | TXMLNode * | node | ) |
copy data for node to this
| node |
Definition at line 47 of file MpdXMLNode.cxx.
Referenced by Copy().
| void MpdXMLNode::Copy | ( | TXMLNode * | node | ) |
copy data for node to this
| node |
| MpdXMLAttrib * MpdXMLNode::GetAttrib | ( | Int_t | index | ) | const |
| MpdXMLAttrib * MpdXMLNode::GetAttrib | ( | Int_t | index | ) | const |
| index | index of atrribute |
| MpdXMLAttrib * MpdXMLNode::GetAttrib | ( | TString | name | ) | const |
| name | name of atribute |
Definition at line 109 of file MpdXMLNode.cxx.
Referenced by AddAttrib(), MpdEventManager::LoadXMLDetector(), MpdEventManager::LoadXMLSettings(), MpdXMLNode(), and operator=().
| MpdXMLAttrib * MpdXMLNode::GetAttrib | ( | TString | name | ) | const |
| name | name of atribute |
| MpdXMLNode * MpdXMLNode::GetChild | ( | Int_t | index | ) | const |
| index | child number |
Definition at line 113 of file MpdXMLNode.cxx.
| MpdXMLNode * MpdXMLNode::GetChild | ( | Int_t | index | ) | const |
| index | child number |
| MpdXMLNode * MpdXMLNode::GetChild | ( | TString | name, |
| Int_t | count = 0 |
||
| ) | const |
search for node with given name
| name | name of node |
| count | number of node (if more than one with given name exist) |
Definition at line 95 of file MpdXMLNode.cxx.
References GetChild(), and i.
Referenced by GetChild(), GetNChildren(), MpdEventManager::LoadXMLDetector(), MpdEventManager::LoadXMLSettings(), MpdXMLNode(), and operator=().
| MpdXMLNode * MpdXMLNode::GetChild | ( | TString | name, |
| Int_t | count = 0 |
||
| ) | const |
search for node with given name
| name | name of node |
| count | number of node (if more than one with given name exist) |
|
inline |
Definition at line 101 of file MpdXMLNode.h.
|
inline |
Definition at line 101 of file MpdXMLNode.h.
|
inline |
Definition at line 96 of file MpdXMLNode.h.
Referenced by GetNChildren(), MpdEventManager::LoadXMLDetector(), and MpdEventManager::LoadXMLSettings().
|
inline |
Definition at line 96 of file MpdXMLNode.h.
| Int_t MpdXMLNode::GetNChildren | ( | TString | name | ) | const |
search for child with given name
| name | name of node |
Definition at line 84 of file MpdXMLNode.cxx.
References GetChild(), GetNChildren(), and i.
| Int_t MpdXMLNode::GetNChildren | ( | TString | name | ) | const |
search for child with given name
| name | name of node |
|
inline |
|
inline |
Definition at line 112 of file MpdXMLNode.h.
| MpdXMLNode & MpdXMLNode::operator= | ( | const MpdXMLNode & | other | ) |
assignement operator
| node |
Definition at line 31 of file MpdXMLNode.cxx.
References GetAttrib(), GetChild(), GetValue(), i, and SetValue().
| MpdXMLNode & MpdXMLNode::operator= | ( | const MpdXMLNode & | other | ) |
assignement operator
| node |
|
inline |
|
inline |
| value | new value |
Definition at line 80 of file MpdXMLNode.h.