From e9ec7e5c44352daee14096c5149e9bec1c3038cc Mon Sep 17 00:00:00 2001 From: asl Date: Fri, 20 Nov 2009 08:05:42 +0000 Subject: [PATCH] Methods: SetParameters(), GetParameter() are removed because now it is GEOM_Function who stores the parameters --- src/GEOM/GEOM_Object.cxx | 26 -------------------------- src/GEOM/GEOM_Object.hxx | 9 +-------- 2 files changed, 1 insertion(+), 34 deletions(-) diff --git a/src/GEOM/GEOM_Object.cxx b/src/GEOM/GEOM_Object.cxx index fc2170a86..5d2b18a8f 100644 --- a/src/GEOM/GEOM_Object.cxx +++ b/src/GEOM/GEOM_Object.cxx @@ -497,32 +497,6 @@ TCollection_AsciiString GEOM_Object::GetAuxData() return aData; } -//============================================================================= -/*! - * SetParameters - */ -//============================================================================= -void GEOM_Object::SetParameters(const TCollection_AsciiString& theParameters) -{ - if( _parameters.IsEmpty() ) - _parameters = theParameters; - else { - _parameters += "|"; - _parameters += theParameters; - } -} - -//============================================================================= -/*! - * GetParameters - */ -//============================================================================= -TCollection_AsciiString GEOM_Object::GetParameters() const -{ - return _parameters; -} - - //============================================================================= /*! * IsSubShape diff --git a/src/GEOM/GEOM_Object.hxx b/src/GEOM/GEOM_Object.hxx index c79f827e1..3fce10f15 100644 --- a/src/GEOM/GEOM_Object.hxx +++ b/src/GEOM/GEOM_Object.hxx @@ -68,7 +68,7 @@ class Standard_Transient; class Handle_Standard_Type; class Handle(MMgt_TShared); class GEOM_Object; - +class TColStd_Array1OfAsciiString; Standard_EXPORT Handle_Standard_Type& STANDARD_TYPE(GEOM_Object); @@ -242,12 +242,6 @@ class GEOM_Object : public MMgt_TShared //Returns an auxiliary data Standard_EXPORT TCollection_AsciiString GetAuxData(); - //Set a notebook variables used for object creation - Standard_EXPORT void SetParameters(const TCollection_AsciiString& theParameters); - - //Get a notebook variables used for object creation - Standard_EXPORT TCollection_AsciiString GetParameters() const; - //########################################################### // Sub shape methods //########################################################### @@ -299,7 +293,6 @@ class GEOM_Object : public MMgt_TShared Handle(TDataStd_TreeNode) _root; TDF_Label _label; TCollection_AsciiString _ior; - TCollection_AsciiString _parameters; int _docID; }; -- 2.39.2