![]() |
ATLAS Offline Software
|
A node of a tree structure holding a configuration, where each node may be given attributes, and a node inherits the attributes of parent nodes if those attributes are not redefined. More...
#include <MiniConfigTreeNode.h>
Classes | |
class | Visitor |
class | Writer |
Public Member Functions | |
MiniConfigTreeNode (std::string name_, MiniConfigTreeNode *parent_) | |
virtual | ~MiniConfigTreeNode () |
virtual const char * | GetName () const |
virtual std::string | GetPathName () const |
virtual MiniConfigTreeNode * | GetNewDaughter (std::string name_) |
Returns a daughter of this node, creating one if necessary. More... | |
virtual MiniConfigTreeNode * | GetDaughter (std::string name_) const |
virtual const MiniConfigTreeNode * | GetParent () const |
virtual MiniConfigTreeNode * | GetParent () |
virtual std::map< std::string, dqi::MiniConfigTreeNode * > | GetDaughters () const |
virtual const MiniConfigTreeNode * | GetNode (std::string name_) const |
This function takes the full path name of a subnode (in UNIX directory style) and returns the corresponding subnode of this node, traversing the entire subtree until it is found. More... | |
virtual void | SetAttribute (std::string attName, std::string attValue, bool isAttribKeyword=false) |
virtual std::string | GetAttribute (std::string attName, bool calledFromDaughter=false) const |
virtual std::string | GetAttributeLocal (std::string attName) const |
virtual void | GetAttributeNames (std::set< std::string > &attSet, bool calledFromDaughter=false) const |
virtual void | GetAttributeNamesLocal (std::set< std::string > &attSet) const |
virtual void | Accept (Visitor &visitor) const |
virtual void | Accept (Writer &writer) |
virtual void | SetAttribKeywordPropagateDown (bool propagateDown) |
virtual bool | GetAttribKeywordPropagateDown () const |
Protected Types | |
typedef std::map< std::string, MiniConfigTreeNode * > | NodeMap_t |
typedef NodeMap_t::const_iterator | NodeIter_t |
typedef std::map< std::string, std::pair< std::string, bool > > | AttMap_t |
typedef AttMap_t::const_iterator | AttIter_t |
Protected Attributes | |
const std::string | m_name |
MiniConfigTreeNode * | m_parent |
NodeMap_t | m_daughters |
AttMap_t | m_attributes |
bool | m_propagateDown |
A node of a tree structure holding a configuration, where each node may be given attributes, and a node inherits the attributes of parent nodes if those attributes are not redefined.
Definition at line 25 of file MiniConfigTreeNode.h.
|
protected |
Definition at line 98 of file MiniConfigTreeNode.h.
|
protected |
Definition at line 97 of file MiniConfigTreeNode.h.
|
protected |
Definition at line 95 of file MiniConfigTreeNode.h.
|
protected |
Definition at line 94 of file MiniConfigTreeNode.h.
dqi::MiniConfigTreeNode::MiniConfigTreeNode | ( | std::string | name_, |
MiniConfigTreeNode * | parent_ | ||
) |
Definition at line 25 of file MiniConfigTreeNode.cxx.
|
virtual |
Definition at line 34 of file MiniConfigTreeNode.cxx.
|
virtual |
Definition at line 207 of file MiniConfigTreeNode.cxx.
|
virtual |
Definition at line 219 of file MiniConfigTreeNode.cxx.
|
virtual |
Definition at line 238 of file MiniConfigTreeNode.cxx.
|
virtual |
Definition at line 147 of file MiniConfigTreeNode.cxx.
|
virtual |
Definition at line 166 of file MiniConfigTreeNode.cxx.
|
virtual |
Definition at line 178 of file MiniConfigTreeNode.cxx.
|
virtual |
Definition at line 196 of file MiniConfigTreeNode.cxx.
|
virtual |
Definition at line 88 of file MiniConfigTreeNode.cxx.
|
virtual |
Definition at line 100 of file MiniConfigTreeNode.cxx.
|
virtual |
Definition at line 46 of file MiniConfigTreeNode.cxx.
|
virtual |
Returns a daughter of this node, creating one if necessary.
This method only returns daughters, not granddaughters.
Definition at line 71 of file MiniConfigTreeNode.cxx.
|
virtual |
This function takes the full path name of a subnode (in UNIX directory style) and returns the corresponding subnode of this node, traversing the entire subtree until it is found.
If the bottom of the tree is reached before the full path has been used, the last node found is returned. If any part of the path is invalid before reaching the end of the tree, 0 is returned.
Definition at line 107 of file MiniConfigTreeNode.cxx.
|
inlinevirtual |
Definition at line 59 of file MiniConfigTreeNode.h.
|
inlinevirtual |
Definition at line 58 of file MiniConfigTreeNode.h.
|
virtual |
|
virtual |
Definition at line 231 of file MiniConfigTreeNode.cxx.
|
virtual |
Definition at line 138 of file MiniConfigTreeNode.cxx.
|
protected |
Definition at line 104 of file MiniConfigTreeNode.h.
|
protected |
Definition at line 103 of file MiniConfigTreeNode.h.
|
protected |
Definition at line 100 of file MiniConfigTreeNode.h.
|
protected |
Definition at line 101 of file MiniConfigTreeNode.h.
|
protected |
Definition at line 106 of file MiniConfigTreeNode.h.