From: cas Date: Thu, 13 Jan 2000 17:59:02 +0000 (+0000) Subject: No comments X-Git-Url: http://git.dev.opencascade.org/gitweb/?a=commitdiff_plain;h=aff0ab67d1a2cdf3404a3dd3c12997e961a74d07;p=occt-wok.git No comments --- diff --git a/src/WOKAPI/WOKAPI_Entity.cdl b/src/WOKAPI/WOKAPI_Entity.cdl index 35461c4..d483641 100755 --- a/src/WOKAPI/WOKAPI_Entity.cdl +++ b/src/WOKAPI/WOKAPI_Entity.cdl @@ -78,7 +78,8 @@ is -- Vie de l'entite - Open(me:out; aSession : Session from WOKAPI; aPath : HAsciiString from TCollection); + Open(me:out; aSession : Session from WOKAPI; aPath : HAsciiString from TCollection) + is virtual; Close(me:out) is virtual; diff --git a/src/WOKAPI/WOKAPI_Entity.cxx b/src/WOKAPI/WOKAPI_Entity.cxx index 8e1070b..2fabb6c 100755 --- a/src/WOKAPI/WOKAPI_Entity.cxx +++ b/src/WOKAPI/WOKAPI_Entity.cxx @@ -1481,22 +1481,26 @@ Standard_Integer WOKAPI_Entity::GetEnvActions(const WOKAPI_Session& asession, } -Standard_Boolean WOKAPI_Entity::HomePage(const Standard_OStream& astream) const +//Standard_Boolean WOKAPI_Entity::HomePage(const Standard_OStream& astream) const +Standard_Boolean WOKAPI_Entity::HomePage(const Standard_OStream& ) const { return Standard_True; } -Standard_Boolean WOKAPI_Entity::ItemHRef(const Standard_OStream& astream) const +//Standard_Boolean WOKAPI_Entity::ItemHRef(const Standard_OStream& astream) const +Standard_Boolean WOKAPI_Entity::ItemHRef(const Standard_OStream& ) const { return Standard_True; } -Standard_Boolean WOKAPI_Entity::PageHeader(const Standard_OStream& astream) const +//Standard_Boolean WOKAPI_Entity::PageHeader(const Standard_OStream& astream) const +Standard_Boolean WOKAPI_Entity::PageHeader(const Standard_OStream& ) const { return Standard_True; } -Standard_Boolean WOKAPI_Entity::PageFooter(const Standard_OStream& astream) const +//Standard_Boolean WOKAPI_Entity::PageFooter(const Standard_OStream& astream) const +Standard_Boolean WOKAPI_Entity::PageFooter(const Standard_OStream& ) const { return Standard_True; } diff --git a/src/WOKAPI/WOKAPI_MakeStep.cxx b/src/WOKAPI/WOKAPI_MakeStep.cxx index d2b1043..ac5f434 100755 --- a/src/WOKAPI/WOKAPI_MakeStep.cxx +++ b/src/WOKAPI/WOKAPI_MakeStep.cxx @@ -70,7 +70,8 @@ Handle(TCollection_HAsciiString) WOKAPI_MakeStep::UniqueName() const //function : Input //purpose : //======================================================================= -Standard_Integer WOKAPI_MakeStep::Input(WOKAPI_SequenceOfFile& aseq) const +//Standard_Integer WOKAPI_MakeStep::Input(WOKAPI_SequenceOfFile& aseq) const +Standard_Integer WOKAPI_MakeStep::Input(WOKAPI_SequenceOfFile& ) const { if(mystep.IsNull()) return 1; diff --git a/src/WOKAPI/WOKAPI_Parcel.cxx b/src/WOKAPI/WOKAPI_Parcel.cxx index ab66f6a..57a3cf1 100755 --- a/src/WOKAPI/WOKAPI_Parcel.cxx +++ b/src/WOKAPI/WOKAPI_Parcel.cxx @@ -103,7 +103,8 @@ Handle(WOKUtils_HSequenceOfParamItem) WOKAPI_Parcel::BuildParameters(const WOKAP //function : Declare //purpose : //======================================================================= -Standard_Boolean WOKAPI_Parcel::Declare(const WOKAPI_Session& asession, +//Standard_Boolean WOKAPI_Parcel::Declare(const WOKAPI_Session& asession, +Standard_Boolean WOKAPI_Parcel::Declare(const WOKAPI_Session& , const Handle(TCollection_HAsciiString)& name, const WOKAPI_Entity& anesting, const Handle(WOKTools_HSequenceOfDefine)& defines, diff --git a/src/WOKAPI/WOKAPI_Session.cdl b/src/WOKAPI/WOKAPI_Session.cdl index ada453f..7278914 100755 --- a/src/WOKAPI/WOKAPI_Session.cdl +++ b/src/WOKAPI/WOKAPI_Session.cdl @@ -49,6 +49,8 @@ is Open(me:out; alocation,astation : HAsciiString from TCollection = NULL) returns Integer from Standard; + Open(me:out; aSession : Session from WOKAPI; aPath : HAsciiString from TCollection) + is redefined; Close(me:out) is redefined; diff --git a/src/WOKAPI/WOKAPI_Session.cxx b/src/WOKAPI/WOKAPI_Session.cxx index 78984a1..d02cc74 100755 --- a/src/WOKAPI/WOKAPI_Session.cxx +++ b/src/WOKAPI/WOKAPI_Session.cxx @@ -271,6 +271,12 @@ Standard_Integer WOKAPI_Session::Open(const Handle(TCollection_HAsciiString)& al return 0; } +void WOKAPI_Session::Open(const WOKAPI_Session& aSession, + const Handle(TCollection_HAsciiString)& apath) +{ + WOKAPI_Entity::Open( aSession , apath ) ; +} + //======================================================================= //function : Close //purpose :