Lines Matching refs:CaseTreeNode
264 class CaseTreeNode class
267 CaseTreeNode (const std::string& name) : m_name(name) {} in CaseTreeNode() function in tcu::CaseTreeNode
268 ~CaseTreeNode (void);
274 const CaseTreeNode* getChild (const std::string& name) const;
275 CaseTreeNode* getChild (const std::string& name);
277 void addChild (CaseTreeNode* child) { m_children.push_back(child); } in addChild()
280 CaseTreeNode (const CaseTreeNode&);
281 CaseTreeNode& operator= (const CaseTreeNode&);
289 std::vector<CaseTreeNode*> m_children;
292 CaseTreeNode::~CaseTreeNode (void) in ~CaseTreeNode()
294 for (vector<CaseTreeNode*>::const_iterator i = m_children.begin(); i != m_children.end(); ++i) in ~CaseTreeNode()
298 int CaseTreeNode::findChildNdx (const std::string& name) const in findChildNdx()
308 inline bool CaseTreeNode::hasChild (const std::string& name) const in hasChild()
313 inline const CaseTreeNode* CaseTreeNode::getChild (const std::string& name) const in getChild()
319 inline CaseTreeNode* CaseTreeNode::getChild (const std::string& name) in getChild()
332 static const CaseTreeNode* findNode (const CaseTreeNode* root, const char* path) in findNode()
334 const CaseTreeNode* curNode = root; in findNode()
360 static void parseCaseTrie (CaseTreeNode* root, std::istream& in) in parseCaseTrie()
362 vector<CaseTreeNode*> nodeStack; in parseCaseTrie()
382 CaseTreeNode* const newChild = new CaseTreeNode(curName); in parseCaseTrie()
426 static void parseCaseList (CaseTreeNode* root, std::istream& in) in parseCaseList()
430 vector<CaseTreeNode*> nodeStack; in parseCaseList()
450 CaseTreeNode* const newChild = new CaseTreeNode(curName); in parseCaseList()
485 CaseTreeNode* curGroup = nodeStack[stackPos]->getChild(curName); in parseCaseList()
489 curGroup = new CaseTreeNode(curName); in parseCaseList()
520 static CaseTreeNode* parseCaseList (std::istream& in) in parseCaseList()
522 CaseTreeNode* const root = new CaseTreeNode(""); in parseCaseList()
868 static bool checkTestGroupName (const CaseTreeNode* root, const char* groupPath) in checkTestGroupName()
870 const CaseTreeNode* node = findNode(root, groupPath); in checkTestGroupName()
874 static bool checkTestCaseName (const CaseTreeNode* root, const char* casePath) in checkTestCaseName()
876 const CaseTreeNode* node = findNode(root, casePath); in checkTestCaseName()