From d544070d7aa0e69512f3eb404a6e6035944ac107 Mon Sep 17 00:00:00 2001 From: ouv Date: Tue, 15 Dec 2009 16:09:46 +0000 Subject: [PATCH] Added method SALOME_Notebook::GetAttributeParameters --- idl/SALOME_Notebook.idl | 3 +++ src/Notebook/SALOME_Notebook.cxx | 5 +++++ src/Notebook/SALOME_Notebook.hxx | 1 + 3 files changed, 9 insertions(+) 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 ); -- 2.39.2