27 #ifndef __SALOMEDS_STUDYBUILDER_H__
28 #define __SALOMEDS_STUDYBUILDER_H__
36 #include <SALOMEconfig.h>
37 #include CORBA_SERVER_HEADER(SALOMEDS)
53 virtual _PTR(SComponent) NewComponent(const std::
string& ComponentDataType);
54 virtual
void DefineComponentInstance (const
_PTR(SComponent)&, const std::
string& ComponentIOR);
55 virtual
void RemoveComponent(const
_PTR(SComponent)& theSCO);
56 virtual
_PTR(SObject) NewObject(const
_PTR(SObject)& theFatherObject);
57 virtual
_PTR(SObject) NewObjectToTag(const
_PTR(SObject)& theFatherObject,
int theTag);
58 virtual
void AddDirectory(const std::
string& thePath);
59 virtual
void LoadWith(const
_PTR(SComponent)& theSCO, const std::
string& theIOR);
60 virtual
void Load(const
_PTR(SObject)& theSCO);
61 virtual
void RemoveObject(const
_PTR(SObject)& theSO);
62 virtual
void RemoveObjectWithChildren(const
_PTR(SObject)& theSO);
63 virtual
_PTR(GenericAttribute) FindOrCreateAttribute(const
_PTR(SObject)& theSO,
64 const std::
string& aTypeOfAttribute);
65 virtual
bool FindAttribute(const
_PTR(SObject)& theSO,
66 _PTR(GenericAttribute)& theAttribute,
67 const std::
string& aTypeOfAttribute);
68 virtual
void RemoveAttribute(const
_PTR(SObject)& theSO, const std::
string& aTypeOfAttribute);
69 virtual
void Addreference(const
_PTR(SObject)& me, const
_PTR(SObject)& thereferencedObject);
70 virtual
void RemoveReference(const
_PTR(SObject)& me);
71 virtual
void SetGUID(const
_PTR(SObject)& theSO, const std::
string& theGUID);
72 virtual
bool IsGUID(const
_PTR(SObject)& theSO, const std::
string& theGUID);
73 virtual
void NewCommand();
74 virtual
void CommitCommand();
75 virtual
bool HasOpenCommand();
76 virtual
void AbortCommand();
79 virtual
bool GetAvailableUndos();
80 virtual
bool GetAvailableRedos();
81 virtual
int UndoLimit();
82 virtual
void UndoLimit(
int theLimit);
83 virtual
void SetName(const
_PTR(SObject)& theSO, const std::
string& theValue);
84 virtual
void SetComment(const
_PTR(SObject)& theSO, const std::
string& theValue);
85 virtual
void SetIOR(const
_PTR(SObject)& theSO, const std::
string& theValue);
87 SALOMEDS::StudyBuilder_ptr GetBuilder();