NedTools Class Reference¶
|
NEDXML API
|
NedTools Class Reference
Static Public Member Functions | |
| static void | repairNedAST (ASTNode *tree) |
| static void | repairMsgAST (ASTNode *tree) |
| static void | splitNedFiles (FilesElement *tree) |
| static void | generateCppSource (const char *cppfile, std::vector< std::string > nedfiles, const char *passphrase) |
Description
Misc NED utilities.
Member Function Documentation
◆ repairNedAST()
|
static |
Tries to makes an ASTNode tree comply with the DTD by gradually discarding elements that fail DTD validation. Success is not guaranteed.
◆ repairMsgAST()
|
static |
Tries to makes an ASTNode tree comply with the DTD by gradually discarding elements that fail DTD validation. Success is not guaranteed.
◆ splitNedFiles()
|
static |
Splits each NedFile under FilesElement to several files so that every module or interface is placed into its own file.
◆ generateCppSource()
|
static |
Generate C++ source that embeds the content of the specified NED files, and makes it available at runtime for simulations. The passphrase (optional) causes the NED source to be garbled a little so that it not directly readable inside the compiled binary.
Generated on for NEDXML API by