18 #ifndef __OMNETPP_NEDXML_XMLGENERATOR_H
19 #define __OMNETPP_NEDXML_XMLGENERATOR_H
50 bool printSrcLoc =
true;
52 virtual void printAttrValue(std::ostream& out,
const char *s);
53 virtual void doGenerate(std::ostream& out,
ASTNode *node,
int level);
73 virtual void setSourceLocationAttributes(
bool srcloc);
78 virtual void setIndentSize(
int indentsize);
88 virtual void generate(std::ostream& out,
ASTNode *tree);
93 virtual std::string generate(
ASTNode *tree);