![Logo](../../ATLAS-Logo-Square-Blue-RGB.png) |
ATLAS Offline Software
|
Go to the documentation of this file.
5 #ifndef dqiMiniConfigTreeNode_h
6 #define dqiMiniConfigTreeNode_h
44 virtual const char*
GetName()
const;
61 virtual std::map<std::string,dqi::MiniConfigTreeNode*>
GetDaughters()
const;
73 virtual void SetAttribute( std::string attName, std::string attValue,
bool isAttribKeyword =
false );
75 virtual std::string
GetAttribute( std::string attName,
bool calledFromDaughter =
false )
const;
79 virtual void GetAttributeNames( std::set<std::string>& attSet,
bool calledFromDaughter =
false )
const;
84 virtual void Accept( Visitor& visitor )
const;
94 typedef std::map<std::string,MiniConfigTreeNode*>
NodeMap_t;
97 typedef std::map<std::string,std::pair<std::string,bool> >
AttMap_t;
A node of a tree structure holding a configuration, where each node may be given attributes,...
virtual std::string GetAttribute(std::string attName, bool calledFromDaughter=false) const
NodeMap_t::const_iterator NodeIter_t
virtual void SetAttribKeywordPropagateDown(bool propagateDown)
AttMap_t::const_iterator AttIter_t
virtual void SetAttribute(std::string attName, std::string attValue, bool isAttribKeyword=false)
virtual void Visit(const MiniConfigTreeNode *node)=0
virtual void GetAttributeNames(std::set< std::string > &attSet, bool calledFromDaughter=false) const
virtual std::string GetPathName() const
std::map< std::string, std::pair< std::string, bool > > AttMap_t
virtual const MiniConfigTreeNode * GetParent() const
virtual MiniConfigTreeNode * GetDaughter(std::string name_) const
virtual void Write(MiniConfigTreeNode *node)=0
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 corresp...
virtual MiniConfigTreeNode * GetNewDaughter(std::string name_)
Returns a daughter of this node, creating one if necessary.
virtual std::string GetAttributeLocal(std::string attName) const
virtual MiniConfigTreeNode * GetParent()
virtual bool GetAttribKeywordPropagateDown() const
std::map< std::string, MiniConfigTreeNode * > NodeMap_t
MiniConfigTreeNode(std::string name_, MiniConfigTreeNode *parent_)
virtual const char * GetName() const
virtual void Accept(Visitor &visitor) const
virtual ~MiniConfigTreeNode()
writer
show summary of content
MiniConfigTreeNode * m_parent
virtual void GetAttributeNamesLocal(std::set< std::string > &attSet) const
virtual std::map< std::string, dqi::MiniConfigTreeNode * > GetDaughters() const