CORBA::ORB_ptr _Orb;
- bool Valid() ;
+ bool Valid(bool kLoopSwitch = true ) ;
bool Executable() ;
bool LoadNodes( map< string , int > & aMapOfNodes ,
return _Graph->RemoveNode( NodeName ) ; } ;
bool ReNameNode( const char* OldNodeName ,
const char* NewNodeName ) {
- DateModification() ;
- _Valid = false ;
- return _Graph->ReNameNode( OldNodeName , NewNodeName ) ; } ;
+//PAL9048 JR Debug : a node may not have the same name as the graph
+ if ( strcmp( Graph()->Name() , NewNodeName ) ) {
+ DateModification() ;
+ _Valid = false ;
+ return _Graph->ReNameNode( OldNodeName , NewNodeName ) ;
+ }
+ cdebug << "Editor::OutNode::ReNameNode ERROR " << NewNodeName << " already exists"
+ << endl ;
+ return false ; } ;
void Coordinates( const int X , const int Y ) {
return _Graph->Coordinates( X , Y ) ; } ;
const int index , long &X , long &Y ) ;
- bool IsValid() {
+ bool IsValid(bool kLoopSwitch = true ) {
if ( !_Valid )
- Valid() ;
+ Valid( kLoopSwitch ) ;
return _Valid ; } ;
bool IsNotValid() const {
return !_Valid ; } ;
// in-port of type "InPortType". Called from IsLinksCompatible() and Link_Impl::IsValid().
bool IsCompatible( const char* OutPortType, const char* InPortType ) const;
- const CORBA::Any *GetInData( const char *ToNodeName ,
- const char *ToParameterName ) ;
- const CORBA::Any *GetOutData( const char *FromNodeName ,
- const char *FromParameterName ) ;
+//JR 30.03.2005 const CORBA::Any *GetInData( const char *ToNodeName ,
+ const CORBA::Any GetInData( const char *ToNodeName ,
+ const char *ToParameterName ) ;
+//JR 30.03.2005 const CORBA::Any *GetOutData( const char *FromNodeName ,
+ const CORBA::Any GetOutData( const char *FromNodeName ,
+ const char *FromParameterName ) ;
} ;
};