// const bool WithInGate ,
// const bool WithOutGate ,
int * Graph_prof_debug ,
- ostream * Graph_fdebug ) ;
+ ofstream * Graph_fdebug ) ;
InPort * AddInPort( CORBA::ORB_ptr ORB ,
const char *const * NodeName ,
const char * InputParameterName ,
const char * InputParameterType ,
int * Graph_prof_debug ,
- ostream * Graph_fdebug ) ;
+ ofstream * Graph_fdebug ) ;
OutPort * AddOutPort( CORBA::ORB_ptr ORB ,
const char *const * NodeName ,
const SUPERV::KindOfNode aKind ,
const char * OutputParameterName ,
const char * InputParameterType ,
int * Graph_prof_debug ,
- ostream * Graph_fdebug ) ;
+ ofstream * Graph_fdebug ) ;
// void InOutPort( InPort * InputPort , OutPort * OutputPort ) ;
void DelInPort( const char * InputParameterName ) ;
void DelOutPort( const char * OutputParameterName ) ;
const int GetNodeInPortsSize() const { return _NodeInPortsSize ; } ;
- const InPort *GetNodeInPort(int i) const {
+ const InPort * GetNodeInLoop() const {
+ return _NodeInPorts[0] ; } ;
+ const InPort * GetNodeInGate() const {
+ return _NodeInPorts[GetNodeInPortsSize()-1] ; } ;
+ const InPort * GetNodeInPort(int i) const {
return _NodeInPorts[i] ; } ;
- InPort *GetChangeNodeInPort(int i) const {
+ InPort * GetChangeNodeInLoop() const {
+ return _NodeInPorts[0] ; } ;
+ InPort * GetChangeNodeInGate() const {
+ return _NodeInPorts[GetNodeInPortsSize()-1] ; } ;
+ InPort * GetChangeNodeInPort(int i) const {
return _NodeInPorts[i] ; } ;
const int GetNodeOutPortsSize() const { return _NodeOutPortsSize ; } ;
- const OutPort *GetNodeOutPort(int i) const {
+ const OutPort * GetNodeOutLoop() const {
+ return _NodeOutPorts[0] ; } ;
+ const OutPort * GetNodeOutGate() const {
+ return _NodeOutPorts[GetNodeOutPortsSize()-1] ; } ;
+ const OutPort * GetNodeOutPort(int i) const {
return _NodeOutPorts[i] ; } ;
- OutPort *GetChangeNodeOutPort(int i) const {
+ OutPort * GetChangeNodeOutLoop() const {
+ return _NodeOutPorts[0] ; } ;
+ OutPort * GetChangeNodeOutGate() const {
+ return _NodeOutPorts[GetNodeOutPortsSize()-1] ; } ;
+ OutPort * GetChangeNodeOutPort(int i) const {
return _NodeOutPorts[i] ; } ;
- const InPort *GetInPort( const char *name ) ;
- const OutPort *GetOutPort( const char *name ) ;
- InPort *GetChangeInPort( const char *name ) ;
- OutPort *GetChangeOutPort( const char *name ) ;
+ const InPort * GetInPort( const char *name ) ;
+ const OutPort * GetOutPort( const char *name ) ;
+ InPort * GetChangeInPort( const char *name ) ;
+ OutPort * GetChangeOutPort( const char *name ) ;
- void ListPorts( ostrstream & , const bool klink = true ) const ;
+// void ListPorts( ostream & , const bool klink = true ) const ;
+ void ListPorts( ostream & , const bool klink = true ) const ;
};
};