From ae75e14ec6876da1d5c03890942a9dca88e20610 Mon Sep 17 00:00:00 2001 From: eap Date: Thu, 9 Feb 2012 15:06:29 +0000 Subject: [PATCH] 0021375: EDF 1671 SMESH: Dump study of current state + virtual void SetOption(const char*, const char*); + virtual char* GetOption(const char*); --- src/Container/Component_i.cxx | 23 +++++++++++++++++++++++ src/Container/SALOME_Component_i.hxx | 5 ++++- 2 files changed, 27 insertions(+), 1 deletion(-) diff --git a/src/Container/Component_i.cxx b/src/Container/Component_i.cxx index 8c0add1ae..c6480da05 100644 --- a/src/Container/Component_i.cxx +++ b/src/Container/Component_i.cxx @@ -334,6 +334,29 @@ Engines::FieldsDict* Engines_Component_i::getProperties() return copie._retn(); } +//============================================================================= +/*! + * CORBA method: + * This method is to set an option specific to a certain EngineComponent. + */ +//============================================================================= + +void Engines_Component_i::SetOption(const char*, const char*) +{ +} + +//============================================================================= +/*! + * CORBA method: + * This method is to get value of an option specific to a certain EngineComponent. + */ +//============================================================================= + +char* Engines_Component_i::GetOption(const char*) +{ + return CORBA::string_dup("") ; +} + //============================================================================= /*! * CORBA method: used by Supervision to give names to this instance diff --git a/src/Container/SALOME_Component_i.hxx b/src/Container/SALOME_Component_i.hxx index 97a92657b..2f2ece09f 100644 --- a/src/Container/SALOME_Component_i.hxx +++ b/src/Container/SALOME_Component_i.hxx @@ -87,7 +87,10 @@ public: void setProperties(const Engines::FieldsDict& dico); Engines::FieldsDict* getProperties(); - void Names( const char * graphName , const char * nodeName ) ; + virtual void SetOption(const char*, const char*); + virtual char* GetOption(const char*); + + void Names( const char * graphName , const char * nodeName ) ; bool Kill_impl(); bool Stop_impl(); bool Suspend_impl(); -- 2.39.2