X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=idl%2FSALOMEDS.idl;h=3ad806384c3b622485d86264fa483965750b84c1;hb=ee2af19c38a074f526b114e5bb584bdf7aac92b5;hp=955cf78373321a54d1dbb39529f82475ad1b1338;hpb=033997a343242f8a6a21ff245bfc07a627bb9aa0;p=modules%2Fkernel.git diff --git a/idl/SALOMEDS.idl b/idl/SALOMEDS.idl index 955cf7837..3ad806384 100644 --- a/idl/SALOMEDS.idl +++ b/idl/SALOMEDS.idl @@ -22,7 +22,6 @@ // File : SALOMEDS.idl // Author : Yves FRICAUD -// $Header$ // /*! \file SALOMEDS.idl \brief This file contains a set of interfaces used for creation, management and modification of the %Study @@ -94,6 +93,12 @@ during each working session. interface UseCaseIterator; interface UseCaseBuilder; + interface Observer + { + void notifyObserverID(in string theID, in long event); + }; + + //! List of attributes of %SObjects typedef sequence ListOfAttributes; @@ -539,7 +544,13 @@ during each working session. \return Variables list. */ ListOfListOfStrings ParseVariables( in string theVars ); - + +/*! + Attach an observer to the Study + + \param theObserver +*/ + void attach(in SALOMEDS::Observer theObserver, in boolean modify); }; //========================================================================== @@ -993,6 +1004,11 @@ Gets the list of open studies /*! Name of the %SObject */ attribute string Name; // equivalent to setName() & getName() + +/*! Returns true if the %SObject does not belong to any %Study +*/ + boolean IsNull(); + /*! Gets an object %ID \return ID of the %SObject. @@ -1079,6 +1095,13 @@ Gets the list of open studies */ string GetIOR(); +/*! + Set an attribute value (of type string) + \param name the name of the attribute + \param value the value of the attribute +*/ + void SetAttrString(in string name, in string value); + /*! Private method, returns an implementation of this SObject. \param theHostname is a hostname of the caller