#include <nedcompiler.h>
To be used with NEDCompiler. Typically a new instance is needed for each NEDCompiler invocation.
Public Member Functions | |
| NEDSymbolTable () | |
| ~NEDSymbolTable () | |
| void | add (NEDElement *node) |
Look up and return a component identified with its name | |
| NEDElement * | getChannelDeclaration (const char *name) |
| NEDElement * | getModuleDeclaration (const char *name) |
| NEDElement * | getNetworkDeclaration (const char *name) |
| NEDElement * | getEnumDeclaration (const char *name) |
| NEDElement * | getClassDeclaration (const char *name) |
Protected Attributes | |
| NEDMap | channels |
| NEDMap | modules |
| NEDMap | networks |
| NEDMap | enums |
| NEDMap | classes |
|
|
Constructor.
|
|
|
Destructor.
|
|
|
Add to the symbol table the given node (channel, simple module, compound module, network enum, struct, class, message) or all such nodes in the subtree.
|
|
|
Look up a channel declaration.
|
|
|
Look up a class declaration.
|
|
|
Look up an enum declaration.
|
|
|
Look up a module declaration.
|
|
|
Look up a network declaration.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1.3.9.1