#include <nedcompiler.h>
List of all members.
Detailed Description
Manages the "middle" part of the compilation process for NED.
Implemented in validate(), the process involves:
- DTD and syntactic validation of the input (see NEDDTDValidator and NEDBasicValidator),
- loading of imports via the import resolver (see NEDImportResolver), adding them into the file cached (see NEDFileCache) and recursively validating them
- semantic validation of the input, e.g. making sure all referenced module types exist (see NEDSemanticValidator)
NEDCompiler does NOT do parsing (only for the imports, via the import resolver, but the main file it already receives a NED object tree form). Code (i.e. C++) generation is also not covered.
Constructor & Destructor Documentation
virtual NEDCompiler::~NEDCompiler |
( |
|
) |
[virtual] |
|
Member Function Documentation
void NEDCompiler::addImport |
( |
const char * |
name |
) |
[protected] |
|
void NEDCompiler::doValidate |
( |
NEDElement * |
tree |
) |
[protected] |
|
bool NEDCompiler::isImported |
( |
const char * |
name |
) |
[protected] |
|
|
Performs the import resolution and validation process described in the class documentation.
|
Member Data Documentation
The documentation for this class was generated from the following file:
Generated on Sat Oct 21 17:47:59 2006 for OMNeT++/OMNEST NEDXML by
1.4.6