Back to Top page.

EGTTerminal< TN > Class Template Reference

Base class template for a Terminal object. More...

#include <EGTTerminal.h>

List of all members.

Public Types

typedef TN Node
typedef EGTTerminal< TN > Self

Public Methods

 EGTTerminal ()
 Constructor.

virtual ~EGTTerminal ()
 Destructor.

void SetTerm (Self *ret)
 Sets a Terminal to be connected.

virtual SelfGetTerm () const
 Returns the connected Terminal.

void SetNode (Node *ret)
 Sets the Node having this Terminal.

NodeGetNode () const
 Returns the Node having this Terminal.

void SetTermNum (UInt ret)
 Sets the ID number of this Terminal.

UInt GetTermNum () const
 Returns the ID number of this Terminal.

UInt GetDestTermNum () const
 Returns the ID number of the connected Terminal.

NodeGetDestNode () const
 Returns the Node having the connected Terminal.

UInt GetDestNodeID () const
 Returns the ID number of the Node having the connected Terminal.

void CheckNode (char *filename, UInt uLine) const
 Checks whether a Node has this Terminal.

void CheckDest (char *filename, UInt uLine) const
 Checks wheter this Terminal is connected to a Terminal.


Detailed Description

template<class TN>
class EGTTerminal< TN >

Base class template for a Terminal object.

It is assumed that <TN> is a subclass of EGTNode.


Member Typedef Documentation

template<class TN>
typedef TN EGTTerminal< TN >::Node
 

template<class TN>
typedef EGTTerminal<TN> EGTTerminal< TN >::Self
 


Constructor & Destructor Documentation

template<class TN>
EGTTerminal< TN >::EGTTerminal   [inline]
 

Constructor.

template<class TN>
virtual EGTTerminal< TN >::~EGTTerminal   [inline, virtual]
 

Destructor.


Member Function Documentation

template<class TN>
void EGTTerminal< TN >::CheckDest char *    filename,
UInt    uLine
const [inline]
 

Checks wheter this Terminal is connected to a Terminal.

template<class TN>
void EGTTerminal< TN >::CheckNode char *    filename,
UInt    uLine
const [inline]
 

Checks whether a Node has this Terminal.

template<class TN>
Node* EGTTerminal< TN >::GetDestNode   const [inline]
 

Returns the Node having the connected Terminal.

template<class TN>
UInt EGTTerminal< TN >::GetDestNodeID   const [inline]
 

Returns the ID number of the Node having the connected Terminal.

template<class TN>
UInt EGTTerminal< TN >::GetDestTermNum   const [inline]
 

Returns the ID number of the connected Terminal.

template<class TN>
Node* EGTTerminal< TN >::GetNode   const [inline]
 

Returns the Node having this Terminal.

template<class TN>
virtual Self* EGTTerminal< TN >::GetTerm   const [inline, virtual]
 

Returns the connected Terminal.

template<class TN>
UInt EGTTerminal< TN >::GetTermNum   const [inline]
 

Returns the ID number of this Terminal.

template<class TN>
void EGTTerminal< TN >::SetNode Node   ret [inline]
 

Sets the Node having this Terminal.

template<class TN>
void EGTTerminal< TN >::SetTerm Self   ret [inline]
 

Sets a Terminal to be connected.

template<class TN>
void EGTTerminal< TN >::SetTermNum UInt    ret [inline]
 

Sets the ID number of this Terminal.


The documentation for this class was generated from the following file: