Lines Matching refs:CaseTreeNode
283 class CaseTreeNode class
286 CaseTreeNode (const std::string& name) : m_name(name) {} in CaseTreeNode() function in tcu::CaseTreeNode
287 ~CaseTreeNode (void);
293 const CaseTreeNode* getChild (const std::string& name) const;
294 CaseTreeNode* getChild (const std::string& name);
296 void addChild (CaseTreeNode* child) { m_children.push_back(child); } in addChild()
299 CaseTreeNode (const CaseTreeNode&);
300 CaseTreeNode& operator= (const CaseTreeNode&);
308 std::vector<CaseTreeNode*> m_children;
311 CaseTreeNode::~CaseTreeNode (void) in ~CaseTreeNode()
313 for (vector<CaseTreeNode*>::const_iterator i = m_children.begin(); i != m_children.end(); ++i) in ~CaseTreeNode()
317 int CaseTreeNode::findChildNdx (const std::string& name) const in findChildNdx()
327 inline bool CaseTreeNode::hasChild (const std::string& name) const in hasChild()
332 inline const CaseTreeNode* CaseTreeNode::getChild (const std::string& name) const in getChild()
338 inline CaseTreeNode* CaseTreeNode::getChild (const std::string& name) in getChild()
351 static const CaseTreeNode* findNode (const CaseTreeNode* root, const char* path) in findNode()
353 const CaseTreeNode* curNode = root; in findNode()
379 static void parseCaseTrie (CaseTreeNode* root, std::istream& in) in parseCaseTrie()
381 vector<CaseTreeNode*> nodeStack; in parseCaseTrie()
401 CaseTreeNode* const newChild = new CaseTreeNode(curName); in parseCaseTrie()
445 static void parseCaseList (CaseTreeNode* root, std::istream& in, bool reportDuplicates) in parseCaseList()
449 vector<CaseTreeNode*> nodeStack; in parseCaseList()
468 CaseTreeNode* const newChild = new CaseTreeNode(curName); in parseCaseList()
506 CaseTreeNode* curGroup = nodeStack[stackPos]->getChild(curName); in parseCaseList()
510 curGroup = new CaseTreeNode(curName); in parseCaseList()
541 static CaseTreeNode* parseCaseList (std::istream& in) in parseCaseList()
543 CaseTreeNode* const root = new CaseTreeNode(""); in parseCaseList()
919 static bool checkTestGroupName (const CaseTreeNode* root, const char* groupPath) in checkTestGroupName()
921 const CaseTreeNode* node = findNode(root, groupPath); in checkTestGroupName()
925 static bool checkTestCaseName (const CaseTreeNode* root, const char* casePath) in checkTestCaseName()
927 const CaseTreeNode* node = findNode(root, casePath); in checkTestCaseName()