OMNeT++ NEDXML  5.5
Generating XML

Description

Classes and functions for serializing a NED/MSG AST to XML.

Classes

class  XMLGenerator
 Serializes an AST in XML format. More...
 

Functions

NEDXML_API void generateXML (std::ostream &out, ASTNode *tree, bool srcloc, int indentsize=4)
 Simple front-end to XMLGenerator. More...
 
NEDXML_API std::string generateXML (ASTNode *tree, bool srcloc, int indentsize=4)
 Simple front-end to XMLGenerator. More...
 

Function Documentation

◆ generateXML() [1/2]

NEDXML_API void omnetpp::nedxml::generateXML ( std::ostream &  out,
ASTNode tree,
bool  srcloc,
int  indentsize = 4 
)

Simple front-end to XMLGenerator.

◆ generateXML() [2/2]

NEDXML_API std::string omnetpp::nedxml::generateXML ( ASTNode tree,
bool  srcloc,
int  indentsize = 4 
)

Simple front-end to XMLGenerator.