|
ATLAS Offline Software
|
Go to the documentation of this file.
27 : m_name(std::move(name_))
29 , m_propagateDown(true)
60 if( !parentPath.empty() ) {
62 path += std::string(
"/");
81 NodeMap_t::value_type nodeVal( name_,
node );
99 std::map<std::string,MiniConfigTreeNode*>
108 GetNode( std::string name_ )
const
114 std::string::size_type
k = name_.find_first_of(
'/');
115 if(
k != std::string::npos ) {
116 std::string dName( name_, 0,
k );
117 std::string pName( name_,
k+1, std::string::npos );
124 return node->GetNode( pName );
139 SetAttribute( std::string attName, std::string attValue,
bool isAttribKeyword )
141 AttMap_t::value_type attMapVal( attName, AttMap_t::mapped_type(attValue, isAttribKeyword) );
148 GetAttribute( std::string attName,
bool calledFromDaughter )
const
155 return std::string(
"");
158 return std::string(
"");
160 return i->second.first;
171 return std::string(
"");
173 return i->second.first;
179 GetAttributeNames( std::set<std::string>& attSet,
bool calledFromDaughter )
const
188 std::set<std::string>::value_type setVal(
i->first );
189 attSet.insert( setVal );
201 std::set<std::string>::value_type setVal(
i->first );
202 attSet.insert( setVal );
214 node->Accept(visitor);
A node of a tree structure holding a configuration, where each node may be given attributes,...
path
python interpreter configuration --------------------------------------—
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
ClassImp(xAOD::TFileChecker) namespace xAOD
virtual MiniConfigTreeNode * GetDaughter(std::string name_) 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 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 bool GetAttribKeywordPropagateDown() const
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