From: ouv Date: Tue, 15 Dec 2009 16:09:46 +0000 (+0000) Subject: Added method SALOME_Notebook::GetAttributeParameters X-Git-Tag: PHASE_17_Part1_V4~6 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=d544070d7aa0e69512f3eb404a6e6035944ac107;p=modules%2Fkernel.git Added method SALOME_Notebook::GetAttributeParameters --- diff --git a/idl/SALOME_Notebook.idl b/idl/SALOME_Notebook.idl index 99d24af14..0c1d20ede 100644 --- a/idl/SALOME_Notebook.idl +++ b/idl/SALOME_Notebook.idl @@ -236,6 +236,9 @@ module SALOME //! Return string array containing information about parameters used by given parameter StringArray GetParameters( in string theParamName ); + + //! Return string array containing information about parameters used by given string attribute + StringArray GetAttributeParameters( in string theStringAttribute ); }; }; diff --git a/src/Notebook/SALOME_Notebook.cxx b/src/Notebook/SALOME_Notebook.cxx index 23fffd52b..fee2f5378 100644 --- a/src/Notebook/SALOME_Notebook.cxx +++ b/src/Notebook/SALOME_Notebook.cxx @@ -1159,6 +1159,11 @@ SALOME::StringArray* SALOME_Notebook::GetParameters( const char* theParamName ) return GetObjectParameters( PARAM_COMPONENT.c_str(), theParamName ); } +SALOME::StringArray* SALOME_Notebook::GetAttributeParameters( const char* theStringAttribute ) +{ + return NULL; +} + int SALOME_Notebook::GetNewId() { return ++myMaxId; diff --git a/src/Notebook/SALOME_Notebook.hxx b/src/Notebook/SALOME_Notebook.hxx index fc8ec47bf..46be534e6 100644 --- a/src/Notebook/SALOME_Notebook.hxx +++ b/src/Notebook/SALOME_Notebook.hxx @@ -79,6 +79,7 @@ public: virtual char* Dump(); virtual SALOME::StringArray* GetObjectParameters( const char* theComponent, const char* theEntry ); virtual SALOME::StringArray* GetParameters( const char* theParamName ); + virtual SALOME::StringArray* GetAttributeParameters( const char* theStringAttribute ); SALOME_Parameter* GetParameterPtr( const char* theParamName ) const; void Update( bool theOnlyParameters );