#include <EGTAbstractNode.h>
Inheritance diagram for EGTAbstractNode< T >:
Public Types | |
typedef T | Term |
typedef EGTVector< T * > | Terms |
typedef EGTAbstractNode< T > | Self |
Public Methods | |
EGTAbstractNode (UInt uNumIn, UInt uNumOut) | |
Constructor. | |
EGTAbstractNode (const Self &rhs) | |
Constructor. | |
virtual | ~EGTAbstractNode () |
Destructor. | |
UInt | GetNumInTerms () const |
Returns the number of input Terminals. | |
UInt | GetNumOutTerms () const |
Returns the number of output Terminals. | |
Term * | GetInTerm (UInt uTermNum) |
Returns the input Terminal with the specified ID number. | |
Term * | GetOutTerm (UInt uTermNum) |
Returns the output Terminal with the specified ID number. | |
const Term * | GetInTerm (UInt uTermNum) const |
Returns the input Terminal with the specified ID number (const version). | |
const Term * | GetOutTerm (UInt uTermNum) const |
Returns the output Terminal with the specified ID number (const version). | |
void | ConnectSrc (UInt uTermNum, Term *src) |
Interconnects the input Terminal with the source (output) Terminal. | |
void | ConnectDest (UInt uTermNum, Term *dest) |
Interconnects the output Terminal with the destination (input) Terminal. | |
virtual void | Display (std::ostream &out) const |
Outputs the data of input/output Terminals. | |
Protected Methods | |
void | CheckNumInTerms (UInt uNum, char *filename, UInt uLine) const |
Checks whether the input Terminal with the specified ID number exists. If not exists, throws an exception. | |
void | CheckNumOutTerms (UInt uNum, char *filename, UInt uLine) const |
Checks whether the output Terminal with the specified ID number exists. If not exists, throws an exception. | |
Protected Attributes | |
Terms | m_tInTerms |
Array of input Terminals. | |
Terms | m_tOutTerms |
Array of output Terminals. |
It is assumed that <T> is a subclass of EGTTerminal.
|
Reimplemented in EGTNode< T >, and EGTSubGraph< TN >. |
|
Reimplemented in EGTNode< T >, and EGTSubGraph< TN >. |
|
Reimplemented in EGTNode< T >, and EGTSubGraph< TN >. |
|
Constructor.
|
|
Constructor.
|
|
Destructor.
|
|
Checks whether the input Terminal with the specified ID number exists. If not exists, throws an exception.
|
|
Checks whether the output Terminal with the specified ID number exists. If not exists, throws an exception.
|
|
Interconnects the output Terminal with the destination (input) Terminal.
|
|
Interconnects the input Terminal with the source (output) Terminal.
|
|
Outputs the data of input/output Terminals.
Reimplemented in EGTNode< T >, and EGTSubGraph< TN >. |
|
Returns the input Terminal with the specified ID number (const version).
|
|
Returns the input Terminal with the specified ID number.
|
|
Returns the number of input Terminals.
|
|
Returns the number of output Terminals.
|
|
Returns the output Terminal with the specified ID number (const version).
|
|
Returns the output Terminal with the specified ID number.
|
|
Array of input Terminals.
|
|
Array of output Terminals.
|