23 #ifndef _GEOM_Function_HeaderFile
24 #define _GEOM_Function_HeaderFile
26 #include <Standard_Transient.hxx>
27 #include <Standard_GUID.hxx>
28 #include <TColStd_HArray1OfExtendedString.hxx>
29 #include <TColStd_HArray1OfByte.hxx>
30 #include <TColStd_HArray1OfReal.hxx>
31 #include <TColStd_HArray1OfInteger.hxx>
32 #include <TColStd_HSequenceOfTransient.hxx>
33 #include <TCollection_AsciiString.hxx>
34 #include <TDF_Label.hxx>
35 #include <TDF_LabelSequence.hxx>
36 #include <TDataStd_ListOfExtendedString.hxx>
37 #include <TopoDS_Shape.hxx>
44 GEOM_Function(
const TDF_Label& theEntry) { _label = theEntry; }
49 Standard_EXPORT
static const Standard_GUID& GetFunctionTreeID();
52 Standard_EXPORT
static const Standard_GUID& GetDependencyID();
55 Standard_EXPORT
static Handle(GEOM_Function) GetFunction(
const TDF_Label& theEntry);
58 Standard_EXPORT GEOM_Function(
const TDF_Label& theEntry,
const Standard_GUID& theGUID,
int theType);
59 Standard_EXPORT ~GEOM_Function();
61 Standard_EXPORT TDF_Label GetOwnerEntry();
66 Standard_EXPORT TopoDS_Shape GetValue();
69 Standard_EXPORT
void SetValue(TopoDS_Shape& theShape);
72 Standard_EXPORT TDF_Label& GetEntry() {
return _label; }
75 Standard_EXPORT
int GetType();
78 Standard_EXPORT Standard_GUID GetDriverGUID();
81 Standard_EXPORT TCollection_AsciiString GetDescription();
84 Standard_EXPORT
void SetDescription(
const TCollection_AsciiString& theDescription);
89 Standard_EXPORT
void SetReal(
int thePosition,
double theValue);
92 Standard_EXPORT
double GetReal(
int thePosition);
95 Standard_EXPORT
void SetRealArray(
int thePosition,
const Handle(TColStd_HArray1OfReal)& theArray);
98 Standard_EXPORT
Handle(TColStd_HArray1OfReal) GetRealArray(
int thePosition);
101 Standard_EXPORT
void SetInteger(
int thePosition,
int theValue);
104 Standard_EXPORT
int GetInteger(
int thePosition);
107 Standard_EXPORT
void SetIntegerArray(
int thePosition,
const Handle(TColStd_HArray1OfInteger)& theArray);
110 Standard_EXPORT
Handle(TColStd_HArray1OfInteger) GetIntegerArray(
int thePosition);
113 Standard_EXPORT
void SetByteArray(
int thePosition,
const Handle(TColStd_HArray1OfByte)& theArray);
116 Standard_EXPORT
Handle(TColStd_HArray1OfByte) GetByteArray(
int thePosition);
119 Standard_EXPORT
void SetBooleanArray(
int thePosition,
const Handle(TColStd_HArray1OfByte)& theArray);
122 Standard_EXPORT
Handle(TColStd_HArray1OfByte) GetBooleanArray(
int thePosition);
125 Standard_EXPORT
void SetReference(
int thePosition,
Handle(GEOM_Function) theReference);
128 Standard_EXPORT
void SetString(
int thePosition,
const TCollection_AsciiString& theValue);
131 Standard_EXPORT TCollection_AsciiString GetString(
int thePosition);
134 Standard_EXPORT
Handle(GEOM_Function) GetReference(
int thePosition);
137 Standard_EXPORT
void SetStringArray(
int thePosition,
const Handle(TColStd_HArray1OfExtendedString)& theArray);
140 Standard_EXPORT
Handle(TColStd_HArray1OfExtendedString) GetStringArray(
int thePosition);
143 Standard_EXPORT
bool HasData(
int thePosition,
const Standard_GUID& dataID);
146 Standard_EXPORT
static const Standard_GUID& GetReferencesTreeID();
149 Standard_EXPORT
void SetReferenceList (
int thePosition,
150 const Handle(TColStd_HSequenceOfTransient)& theRefList);
153 Standard_EXPORT
Handle(TColStd_HSequenceOfTransient) GetReferenceList (
int thePosition);
159 Standard_EXPORT
void SetCallBackData(
void* data );
164 Standard_EXPORT
void* GetCallBackData();
173 Standard_EXPORT
bool IsDone() {
return _isDone; }
176 Standard_EXPORT
bool IsLastFuntion();
179 Standard_EXPORT
void GetDependency(TDF_LabelSequence& theSeq);
182 Standard_EXPORT
void AddSubShapeReference (
Handle(GEOM_Function) theSubShape);
183 Standard_EXPORT
void RemoveSubShapeReference(
Handle(GEOM_Function) theSubShape);
184 Standard_EXPORT
bool HasSubShapeReferences();
185 Standard_EXPORT
const TDataStd_ListOfExtendedString& GetSubShapeReferences();
188 Standard_EXPORT TDF_Label GetHistoryEntry (
const Standard_Boolean create = Standard_True);
192 Standard_EXPORT TDF_Label GetArgumentHistoryEntry (
const TDF_Label& theArgumentRefEntry,
193 const Standard_Boolean create = Standard_True);
196 Standard_EXPORT TDF_Label GetNamingEntry (
const Standard_Boolean create = Standard_True);
204 bool _isCallBackData;
Handle(TColStd_HSequenceOfTransient) AdvancedEngine_IOperations
Create a T-shape object with specified caracteristics for the main and the incident pipes (radius,...
Definition: AdvancedEngine_IOperations.cxx:1907
DEFINE_STANDARD_HANDLE(GEOM_Field, GEOM_BaseObject) DEFINE_STANDARD_HANDLE(GEOM_FieldStep