MsgCompiler Class Reference

NEDXML API: MsgCompiler Class Reference
NEDXML API

Public Member Functions

 MsgCompiler (const MsgCompilerOptions &options, ErrorStore *errors)
 ~MsgCompiler ()
void generate (MsgFileElement *fileElement, const char *hFile, const char *ccFile, StringSet &outImportedFiles)
void printPropertiesLatexDocu (std::ostream &out)

Static Public Member Functions

static const char * getBuiltinDefinitions ()

Description

Generates C++ code from a MSG file object tree.

Assumes object tree has already passed all validation stages (DTD, syntax, semantic).

Constructor & Destructor Documentation

◆ MsgCompiler()

MsgCompiler ( const MsgCompilerOptions & options,
ErrorStore * errors )

Constructor.

◆ ~MsgCompiler()

~MsgCompiler ( )
inline

Destructor.

Member Function Documentation

◆ generate()

void generate ( MsgFileElement * fileElement,
const char * hFile,
const char * ccFile,
StringSet & outImportedFiles )

Generates C++ code from the specified message file. Assumes that the object tree has already passed DTD and syntax validation.

◆ printPropertiesLatexDocu()

void printPropertiesLatexDocu ( std::ostream & out)

Print properties documentation in LaTeX format, for use in the Manual.

◆ getBuiltinDefinitions()

const char * getBuiltinDefinitions ( )
inlinestatic

Returns the built-in MSG definitions.