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>
39 #include <Basics_OCCTVersion.hxx>
60 Standard_EXPORT
GEOM_Function(const TDF_Label& theEntry, const Standard_GUID& theGUID,
int theType);
68 Standard_EXPORT TopoDS_Shape
GetValue();
71 Standard_EXPORT
void SetValue(TopoDS_Shape& theShape);
74 Standard_EXPORT TDF_Label&
GetEntry() {
return _label; }
86 Standard_EXPORT
void SetDescription(
const TCollection_AsciiString& theDescription);
91 Standard_EXPORT
void SetReal(
int thePosition,
double theValue);
94 Standard_EXPORT
double GetReal(
int thePosition);
97 Standard_EXPORT
void SetRealArray(
int thePosition,
const Handle(TColStd_HArray1OfReal)& theArray);
100 Standard_EXPORT
Handle(TColStd_HArray1OfReal) GetRealArray(
int thePosition);
103 Standard_EXPORT
void SetInteger(
int thePosition,
int theValue);
106 Standard_EXPORT
int GetInteger(
int thePosition);
109 Standard_EXPORT
void SetIntegerArray(
int thePosition, const
Handle(TColStd_HArray1OfInteger)& theArray);
112 Standard_EXPORT
Handle(TColStd_HArray1OfInteger) GetIntegerArray(
int thePosition);
115 Standard_EXPORT
void SetByteArray(
int thePosition, const
Handle(TColStd_HArray1OfByte)& theArray);
118 Standard_EXPORT
Handle(TColStd_HArray1OfByte) GetByteArray(
int thePosition);
121 Standard_EXPORT
void SetBooleanArray(
int thePosition, const
Handle(TColStd_HArray1OfByte)& theArray);
124 Standard_EXPORT
Handle(TColStd_HArray1OfByte) GetBooleanArray(
int thePosition);
130 Standard_EXPORT
void SetString(
int thePosition, const TCollection_AsciiString& theValue);
133 Standard_EXPORT TCollection_AsciiString
GetString(
int thePosition);
139 Standard_EXPORT
void SetStringArray(
int thePosition, const
Handle(TColStd_HArray1OfExtendedString)& theArray);
142 Standard_EXPORT
Handle(TColStd_HArray1OfExtendedString) GetStringArray(
int thePosition);
145 Standard_EXPORT
bool HasData(
int thePosition, const Standard_GUID& dataID);
152 const
Handle(TColStd_HSequenceOfTransient)& theRefList);
155 Standard_EXPORT
Handle(TColStd_HSequenceOfTransient) GetReferenceList (
int thePosition);
181 Standard_EXPORT
void GetDependency(TDF_LabelSequence& theSeq);
190 Standard_EXPORT TDF_Label
GetHistoryEntry (
const Standard_Boolean create = Standard_True);
195 const Standard_Boolean create = Standard_True);
198 Standard_EXPORT TDF_Label
GetNamingEntry (
const Standard_Boolean create = Standard_True);