// 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
interface UseCaseIterator;
interface UseCaseBuilder;
+ interface Observer
+ {
+ void notifyObserverID(in string theID, in long event);
+ };
+
+
//! List of attributes of %SObjects
typedef sequence<GenericAttribute> ListOfAttributes;
\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);
};
//==========================================================================
/*! 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.
*/
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