#include <ymlport.h>
Inheritance diagram for YMLPort:
Public Types | |
enum | dir_t { dUnknown = -1, dIn, dOut } |
Public Member Functions | |
YMLPort () | |
const char * | getName () |
void | dumpFullName (std::ostream &stream) |
std::string | getFullName () |
dir_t | getDir () |
YMLNode * | getParent () |
void | setParent (YMLNode *parent) |
YMLPortSide * | getInSide () |
YMLPortSide * | getOutSide () |
YMLPort * | getRemotePort () |
void | getRemotePorts (BasicArray< YMLPort * > &ports) |
void | addConnection (YMLConnection *con) |
YMLConnection * | getConnection () |
const BasicArray< YMLConnection * > & | getConnections () |
void | setID (int id) |
int | getID () |
virtual void | dumpXML (XMLSerializer &stream) |
virtual void | doFinalize () |
ymlentity_t | getType () |
Static Public Attributes | |
static const int | aName = 0 |
static const int | aDir = 1 |
Protected Member Functions | |
YMLPort * | getRemotePort (YMLConnection *connection) |
void | resolveDir () |
|
|
|
Construct a YMLPort. |
|
Get the port name property.
|
|
Print the fullname of this node to the provided stream. The fullname is the concatenation the ports ancestors starting with the root and separated by NAME_DELIM. NAME_DELIM is '.' by default.
|
|
|
|
Get the port direction property as a dir_t.
|
|
Get the parent node.
|
|
Set the parent node.
|
|
Get the inside YMLPortSide.
|
|
Get the outside YMLPortSide.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Print the port as XML to the provided output stream. New lines are prefixed by tabLevel number of tabs.
Implements YMLEntity. |
|
Calls the finalize function. Implements YMLEntity. |
|
Get the YMLEntity type.
Implements YMLEntity. |
|
|
|
Look up the direction attribute string and convert it to a direction type. |
|
Location of the name attribute.
|
|
Location of the dir attribute.
|