#include <ymlnode.h>
Inheritance diagram for YMLNode:


Public Member Functions | |
| YMLNode () | |
| virtual | ~YMLNode () |
| void | addPort (YMLPort *port) |
| YMLPort * | findPort (const char *name) |
| int | getNumPorts () |
| YMLPort * | getPort (int id) |
| YMLPort * | getPortByIdx (int idx) |
| YMLNetwork * | getNetwork () const |
| void | setNetwork (YMLNetwork *network) |
| void | dumpFullName (std::ostream &stream) |
| std::string | getFullName () |
| const char * | getName () |
| const char * | getClass () |
| virtual ymlentity_t | getType () |
| void | setTraceChannel (TraceChannel *traceChannel) |
| TraceChannel * | getTraceChannel () |
| void | setChannelID (int channelID) |
| int | getChannelID () const |
| void | dumpXMLPorts (XMLSerializer &stream) |
| virtual void | dumpXML (XMLSerializer &stream) |
| virtual void | dumpDOT (std::ostream &stream, int tabLevel) |
| virtual void | doFinalizePorts () |
| virtual void | doFinalize () |
| virtual void | init () |
Static Public Attributes | |
| static const int | aName = 0 |
| static const int | aClass = 1 |
|
|
Construct a new YMLNode. |
|
|
|
|
|
Add a port to this node. It will fail to add the port and throw a BasicException if the port name is already in use in this node.
|
|
|
Find a port by name.
|
|
|
Get the number of ports for this node.
|
|
|
Get a port by id.
|
|
|
|
|
|
Get the parent network.
|
|
|
Set the parent network.
|
|
|
Print the nodes fullname to the provided stream.
|
|
|
Get the nodes fullname as a std::string.
|
|
|
|
|
|
|
|
|
Get the YMLEntity type.
Implements YMLEntity. Reimplemented in YMLNetwork. |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Print the ports as XML to the provides stream with the specified tabLevel.
|
|
|
Print this node as XML to the provided stream using the specified number of tabs.
Implements YMLEntity. Reimplemented in YMLNetwork. |
|
||||||||||||
|
Print the node as part of a GraphViz graph.
Reimplemented from YMLEntity. |
|
|
Call finalize on all of the ports. |
|
|
Call doFinalizePorts than call finalize on this node. Implements YMLEntity. Reimplemented in YMLNetwork. |
|
|
Do nothing. Reimplemented in PN, and ProcessLoader. |
|
|
Location of the name property.
|
|
|
Location of the class property.
|
1.4.6