1 // File : SALOMEDS_SequenceOfRealAttribute.hxx
2 // Created : Fri Jul 05 13:00:41 2002
3 // Author : Yves FRICAUD
7 // Copyright : Open CASCADE 2002
10 #ifndef _SALOMEDS_SequenceOfRealAttribute_HeaderFile
11 #define _SALOMEDS_SequenceOfRealAttribute_HeaderFile
13 #ifndef _Standard_HeaderFile
14 #include <Standard.hxx>
16 #ifndef _Handle_SALOMEDS_SequenceOfRealAttribute_HeaderFile
17 #include <Handle_SALOMEDS_SequenceOfRealAttribute.hxx>
20 #ifndef _Handle_TColStd_HSequenceOfReal_HeaderFile
21 #include <Handle_TColStd_HSequenceOfReal.hxx>
23 #ifndef _TDF_Attribute_HeaderFile
24 #include <TDF_Attribute.hxx>
26 #ifndef _Standard_Integer_HeaderFile
27 #include <Standard_Integer.hxx>
29 #ifndef _Standard_Real_HeaderFile
30 #include <Standard_Real.hxx>
32 #ifndef _Handle_TDF_Attribute_HeaderFile
33 #include <Handle_TDF_Attribute.hxx>
35 #ifndef _Handle_TDF_RelocationTable_HeaderFile
36 #include <Handle_TDF_RelocationTable.hxx>
38 class TColStd_HSequenceOfReal;
42 class TDF_RelocationTable;
45 class SALOMEDS_SequenceOfRealAttribute : public TDF_Attribute {
49 void* operator new(size_t,void* anAddress)
53 void* operator new(size_t size)
55 return Standard::Allocate(size);
57 void operator delete(void *anAddress)
59 if (anAddress) Standard::Free((Standard_Address&)anAddress);
63 Standard_EXPORT static const Standard_GUID& GetID() ;
64 Standard_EXPORT static Handle_SALOMEDS_SequenceOfRealAttribute Set(const TDF_Label& label) ;
65 Standard_EXPORT SALOMEDS_SequenceOfRealAttribute();
66 Standard_EXPORT void Assign(const Handle(TColStd_HSequenceOfReal)& other) ;
67 Standard_EXPORT void ChangeValue(const Standard_Integer Index,const Standard_Real Value) ;
68 Standard_EXPORT void Add(const Standard_Real Value) ;
69 Standard_EXPORT Standard_Real Value(const Standard_Integer Index) ;
70 Standard_EXPORT void Remove(const Standard_Integer Index) ;
71 Standard_EXPORT Standard_Integer Length() ;
72 Standard_EXPORT const Standard_GUID& ID() const;
73 Standard_EXPORT void Restore(const Handle(TDF_Attribute)& with) ;
74 Standard_EXPORT Handle_TDF_Attribute NewEmpty() const;
75 Standard_EXPORT void Paste(const Handle(TDF_Attribute)& into,const Handle(TDF_RelocationTable)& RT) const;
76 Standard_EXPORT ~SALOMEDS_SequenceOfRealAttribute();
83 Standard_EXPORT friend Handle_Standard_Type& SALOMEDS_SequenceOfRealAttribute_Type_();
84 Standard_EXPORT const Handle(Standard_Type)& DynamicType() const;
85 Standard_EXPORT Standard_Boolean IsKind(const Handle(Standard_Type)&) const;
105 Handle_TColStd_HSequenceOfReal myValue;
114 // other Inline functions and methods (like "C++: function call" methods)