#include <nedtools.h>
◆ repairNedAST()
static void repairNedAST |
( |
ASTNode * |
tree | ) |
|
|
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 void repairMsgAST |
( |
ASTNode * |
tree | ) |
|
|
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 void splitNedFiles |
( |
FilesElement * |
tree | ) |
|
|
static |
Splits each NedFile under FilesElement to several files so that every module or interface is placed into its own file.
◆ generateCppSource()
static void generateCppSource |
( |
const char * |
cppfile, |
|
|
std::vector< std::string > |
nedfiles, |
|
|
const char * |
passphrase |
|
) |
| |
|
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.
The documentation for this class was generated from the following file: