Lines Matching defs:GRXMLDoc
2 * grxmldoc.cpp *
30 #include "grxmldoc.h"
89 GRXMLDoc::GRXMLDoc()
108 GRXMLDoc::~GRXMLDoc()
117 bool GRXMLDoc::parseGrammar( XMLNode &node, std::string & xMLFileName )
142 bool GRXMLDoc::parseNode( XMLNode &node, SubGraph *&p_SubGraph, const unsigned int level )
184 bool GRXMLDoc::beginNode( XMLNode &node, SubGraph *&p_SubGraph, const unsigned int level )
277 bool GRXMLDoc::endNode( XMLNode &node, SubGraph *&p_SubGraph, const unsigned int level )
358 bool GRXMLDoc::beginParseGrammarNode(XMLNode &node)
374 bool GRXMLDoc::beginParseMetaNode(XMLNode &node)
400 bool GRXMLDoc::endParseGrammarNode(XMLNode &node)
407 bool GRXMLDoc::beginParseRuleNode( XMLNode &node, SubGraph *&p_SubGraph)
461 bool GRXMLDoc::endParseRuleNode( XMLNode &node, SubGraph *&p_SubGraph )
484 bool GRXMLDoc::processCDATA( XMLNode &node, SubGraph *&p_SubGraph )
555 bool GRXMLDoc::beginItem( XMLNode &node, SubGraph *&p_SubGraph )
586 bool GRXMLDoc::endItem( XMLNode &node, SubGraph *&p_SubGraph )
597 bool GRXMLDoc::beginRuleRef( XMLNode &node, SubGraph *&p_SubGraph )
646 bool GRXMLDoc::endRuleRef(XMLNode &grmNode, SubGraph *&p_SubGraph )
657 bool GRXMLDoc::beginOneOf(XMLNode &grmNode, SubGraph *&p_SubGraph)
665 bool GRXMLDoc::endOneOf(XMLNode &grmNode, SubGraph *&p_SubGraph)
673 bool GRXMLDoc::beginTag( XMLNode &node, SubGraph *&p_SubGraph )
694 bool GRXMLDoc::endTag( XMLNode &node, SubGraph *&p_SubGraph )
701 bool GRXMLDoc::beginCount( XMLNode &node, SubGraph *&p_SubGraph )
742 bool GRXMLDoc::endCount( XMLNode &node, SubGraph *&p_SubGraph )
749 bool GRXMLDoc::endParseMetaNode(XMLNode &node)
755 void GRXMLDoc::printNode(XMLNode &node, int level)
819 bool GRXMLDoc::addRuleToList(std::string const & ruleName, SubGraph *&p_SubGraph)
849 bool GRXMLDoc::deleteRules()
873 bool GRXMLDoc::findSubGraph(std::string & s, SubGraph *&p_SubGraph)
878 bool GRXMLDoc::findRule(int i, std::string &s )
883 bool GRXMLDoc::findTag(int i, std::string &s )
888 bool GRXMLDoc::findLabel(int i, std::string &s )
893 bool GRXMLDoc::findSubGraphIndex( SubGraph *p_SubGraph, std::string &s )
898 bool GRXMLDoc::findRuleIndex( std::string s, int &i )
902 bool GRXMLDoc::findTagIndex( std::string s, int &i )
906 bool GRXMLDoc::findLabelIndex( std::string s, int &i )
910 bool GRXMLDoc::findMeta(const std::string & sn, std::string &s)
914 bool GRXMLDoc::setMeta(const std::string & sn, const std::string &s)
922 bool GRXMLDoc::addTagToList( std::string const& s )
933 bool GRXMLDoc::addLabelToList( std::string const& s )
945 void GRXMLDoc::printLists()
954 void GRXMLDoc::printSubgraphs()
973 void GRXMLDoc::printSubgraph( SubGraph &p_SubGraph )
979 bool GRXMLDoc::getRuleRefName(XMLNode &node, std::string &ruleName)
995 void GRXMLDoc::initializeLists()
1019 void GRXMLDoc::writeMapFile( std::string & fileName )
1097 void GRXMLDoc::writeScriptFile( std::string & fileName )
1114 void GRXMLDoc::writeParamsFile( std::string & fileName )
1131 void GRXMLDoc::writeGraphFiles( std::string& prefix, bool bDoWriteRecogGraphs)
1164 void GRXMLDoc::sortLabels()
1193 bool GRXMLDoc::findSortedLabel(int i, std::string &s )
1201 bool GRXMLDoc::findSortedLabelIndex( int i, int &sortedIndex )
1215 void GRXMLDoc::addOLabelToOList( std::string &s)
1220 bool GRXMLDoc::WriteOLabels(const std::string& fileName)