30 #ifndef _SALOMEDS_IDL_
31 #define _SALOMEDS_IDL_
98 oneway
void notifyObserverID(in
string theID, in
long event);
156 PersistentReference GetPersistentReference();
158 SalomeReference GetTransientReference();
173 SComponent FindComponent (in
string aComponentName);
177 SComponent FindComponentID(in ID aComponentID);
185 SObject FindObject (in
string anObjectName);
191 SObject FindObjectID (in ID aObjectID);
197 SObject CreateObjectID (in ID aObjectID);
203 SObject FindObjectIOR (in ID aObjectIOR);
209 ListOfSObject FindObjectByName(in
string anObjectName, in
string aComponentName);
215 SObject FindObjectByPath(in
string thePath);
218 string GetObjectPath(in Object theObject);
226 void SetContext(in
string thePath);
236 ListOfStrings GetObjectNames(in
string theContext);
241 ListOfStrings GetDirectoryNames(in
string theContext);
246 ListOfStrings GetFileNames(in
string theContext);
251 ListOfStrings GetComponentNames(in
string theContext);
276 void UpdateIORLabelMap(in
string anIOR, in
string anEntry);
293 boolean IsModified();
313 string GetLastModificationDate();
319 ListOfDates GetModificationsDate();
325 string ConvertObjectToIOR(in Object theObject);
331 Object ConvertIORToObject(in
string theIOR);
343 void EnableUseCaseAutoFilling(in
boolean isEnabled);
348 void AddPostponed(in
string theIOR);
350 void AddCreatedPostponed(in
string theIOR);
352 void RemovePostponed(in
long theUndoLimit);
354 void UndoPostponed(in
long theWay);
356 boolean DumpStudy(in
string thePath,
357 in
string theBaseName,
358 in
boolean isPublished,
359 in
boolean isMultiFile);
374 AttributeParameter GetModuleParameters(in
string theID, in
string theModuleName, in
long theSavePoint);
382 string GetDefaultScript(in
string theID, in
string theModuleName);
390 long long GetLocalImpl(in
string theHostname, in
long thePID, out
boolean isLocal);
398 void SetStudyLock(in
string theLockerID);
404 boolean IsStudyLocked();
411 void UnLockStudy(in
string theLockerID);
415 ListOfStrings GetLockerID();
423 void SetReal( in
string theVarName, in
double theValue );
431 void SetInteger( in
string theVarName, in
long theValue );
438 void SetBoolean( in
string theVarName, in
boolean theValue );
446 void SetString( in
string theVarName, in
string theValue );
450 void SetStringAsDouble( in
string theVarName, in
double theValue );
456 double GetReal( in
string theVarName );
462 long GetInteger( in
string theVarName );
468 boolean GetBoolean( in
string theVarName );
474 string GetString( in
string theVarName );
482 boolean IsReal( in
string theVarName );
489 boolean IsInteger( in
string theVarName );
496 boolean IsBoolean( in
string theVarName );
503 boolean IsString( in
string theVarName );
511 boolean IsVariable( in
string theVarName );
515 ListOfStrings GetVariableNames();
524 boolean RemoveVariable( in
string theVarName );
534 boolean RenameVariable( in
string theVarName, in
string theNewVarName );
543 boolean IsVariableUsed( in
string theVarName );
550 ListOfListOfStrings ParseVariables( in
string theVars );
673 boolean FindAttribute(in
SObject anObject,
675 in
string aTypeOfAttribute);
684 void RemoveAttribute(in
SObject anObject,
692 void Addreference(in
SObject anObject,
693 in
SObject theReferencedObject) ;
700 void RemoveReference(in
SObject anObject) ;
727 boolean IsGUID(in
SObject anObject, in
string theGUID);
750 boolean HasOpenCommand();
762 attribute
long UndoLimit;
772 void Undo() raises (LockProtection);
782 void Redo() raises (LockProtection);
789 boolean GetAvailableUndos();
796 boolean GetAvailableRedos();
803 void SetName(in
SObject theSO, in
string theValue) raises (LockProtection);
811 void SetComment(in
SObject theSO, in
string theValue) raises (LockProtection);
819 void SetIOR(in
SObject theSO, in
string theValue) raises (LockProtection);
850 oneway
void ShutdownWithExit();
861 Study NewStudy(in
string study_name);
877 void Close(in
Study aStudy);
887 boolean Save(in
Study aStudy, in
boolean theMultiFile);
893 boolean SaveASCII(in
Study aStudy, in
boolean theMultiFile);
903 boolean SaveAs(in URL aUrl,
905 in
boolean theMultiFile);
914 boolean SaveAsASCII(in URL aUrl,
916 in
boolean theMultiFile);
925 ListOfOpenStudies GetOpenStudies();
933 Study GetStudyByName (in
string aStudyName);
941 Study GetStudyByID (in
short aStudyID);
948 boolean CanCopy(in
SObject theObject);
953 boolean Copy(in
SObject theObject);
958 boolean CanPaste(in
SObject theObject);
972 string ConvertObjectToIOR(in Object theObject);
978 Object ConvertIORToObject(in
string theIOR);
986 long long GetLocalImpl(in
string theHostname, in
long thePID, out
boolean isLocal);
1047 boolean FindSubObject (in
long atag, out
SObject obj);
1056 in
string aTypeOfAttribute);
1062 boolean ReferencedObject(out
SObject obj);
1070 ListOfAttributes GetAllAttributes();
1094 string GetComment();
1107 void SetAttrString(in
string name, in
string value);
1115 long long GetLocalImpl(in
string theHostname, in
long thePID, out
boolean isLocal);
1144 string GetClassType();
1155 long long GetLocalImpl(in
string theHostname, in
long thePID, out
boolean isLocal);
1174 string ComponentDataType();
1179 boolean ComponentIOR (out ID theID);
1235 void InitEx(in
boolean allLevels);
1263 void Init(in
boolean allLevels);
1294 boolean Append(in
SObject theObject);
1301 boolean Remove(in
SObject theObject);
1313 boolean SetCurrentObject(in
SObject theObject);
1317 boolean SetRootCurrent();
1321 boolean HasChildren(in
SObject theObject);
1329 boolean SetName(in
string theName);
1337 boolean IsUseCase(in
SObject theObject);
1341 boolean IsUseCaseNode(in
SObject theObject);
1349 SObject AddUseCase(in
string theName);
1385 TMPFile Save(in
SComponent theComponent, in
string theURL, in
boolean isMultiFile);
1398 TMPFile SaveASCII(in
SComponent theComponent, in
string theURL, in
boolean isMultiFile);
1409 boolean Load(in
SComponent theComponent, in TMPFile theStream, in
string theURL, in
boolean isMultiFile);
1420 boolean LoadASCII(in
SComponent theComponent, in TMPFile theStream, in
string theURL, in
boolean isMultiFile);
1436 string ComponentDataType();
1453 string IORToLocalPersistentID (in
SObject theSObject,
1454 in
string IORString,
1455 in
boolean isMultiFile,
1456 in
boolean isASCII);
1472 string LocalPersistentIDToIOR (in
SObject theSObject,
1473 in
string aLocalPersistentID,
1474 in
boolean isMultiFile,
1497 SObject PublishInStudy(in
Study theStudy, in
SObject theSObject, in Object theObject, in
string theName);
1506 boolean CanCopy(in
SObject theObject);
1510 TMPFile CopyFrom(in
SObject theObject, out
long theObjectID);
1514 boolean CanPaste(in
string theComponentName, in
long theObjectID);
1518 SObject PasteInto(in TMPFile theStream, in
long theObjectID, in
SObject theObject);
Parameter attribute.
Definition: SALOMEDS_Attributes.idl:1695
Interface of the UseCaseBuilder.
Definition: SALOMEDS.idl:1286
interface for common behavior of SALOME transient CORBA objects
Definition: SALOME_GenericObj.idl:40
attribute string Name
The name of the Study.
Definition: SALOMEDS.idl:147
Invalid study component.
Definition: SALOMEDS.idl:131
string PersistentReference
While saving the data, IOR is transformed into persistent reference.
Definition: SALOMEDS.idl:52
ChildIterator interface
Definition: SALOMEDS.idl:1222
Definition: SALOMEDS.idl:96
string URL
Name of the file in which the Study is saved.
Definition: SALOMEDS.idl:44
string SalomeReference
IOR of the study in SALOME application.
Definition: SALOMEDS.idl:56
sequence< ListOfStrings > ListOfListOfStrings
An unbounded sequence of sequence of strings.
Definition: SALOMEDS.idl:71
The main exception in SALOME application.
Definition: SALOME_Exception.idl:70
sequence< string > ListOfDates
List of modification dates of a study.
Definition: SALOMEDS.idl:67
LockProtection Exception
Definition: SALOMEDS.idl:579
string ID
Main identifier of an object in SALOME application.
Definition: SALOMEDS.idl:48
Study Interface
Definition: SALOMEDS.idl:125
Interface of the UseCaseIterator.
Definition: SALOMEDS.idl:1257
attribute string Name
Definition: SALOMEDS.idl:1010
sequence< SObject > ListOfSObject
Sequence containing SObjects.
Definition: SALOMEDS.idl:154
sequence< string > ListOfStrings
An unbounded sequence of strings.
Definition: SALOMEDS.idl:69
study object already exists
Definition: SALOMEDS.idl:137
sequence< octet > TMPFile
Definition: SALOME_Component.idl:47
sequence< GenericAttribute > ListOfAttributes
List of attributes of SObjects.
Definition: SALOMEDS.idl:99
Invalid study context.
Definition: SALOMEDS.idl:129
Exception locking all changes.
Definition: SALOMEDS.idl:1131
Study Builder Interface
Definition: SALOMEDS.idl:573
Exception indicating that this feature hasn't been implemented in SALOME application.
Definition: SALOMEDS.idl:106
attribute string URL
Indicate the file where the study has been saved.
Definition: SALOMEDS.idl:301
Study properties attribute
Definition: SALOMEDS_Attributes.idl:1534
Driver interface
Definition: SALOMEDS.idl:1369
SComponentIterator interface
Definition: SALOMEDS.idl:1191
Invalid directory of the study exception.
Definition: SALOMEDS.idl:133
Study Manager interface
Definition: SALOMEDS.idl:833
Invalid name of the study exception.
Definition: SALOMEDS.idl:139
attribute short StudyId
The ID of the Study.
Definition: SALOMEDS.idl:152
SObject interface
Definition: SALOMEDS.idl:1006
Exception pointing that this name of the study has already been used.
Definition: SALOMEDS.idl:135
sequence< string > ListOfFileNames
List of file names.
Definition: SALOMEDS.idl:65
sequence< string > ListOfOpenStudies
List of the names of studies which are currently open in this SALOME session.
Definition: SALOMEDS.idl:63
interface for common behavior of SALOME transient CORBA objects
Generic attribute interface
Definition: SALOMEDS.idl:1125
SComponent interface
Definition: SALOMEDS.idl:1168
attribute boolean IsSaved
Indicate whether the study has been saved.
Definition: SALOMEDS.idl:288
This file contains the objects defining the main exception used in SALOME application.