1 // File : Handle_SALOMEDS_SequenceOfRealAttribute.hxx
2 // Created : Fri Jul 05 10:55:39 2002
3 // Author : Yves FRICAUD
7 // Copyright : Open CASCADE 2002
10 #ifndef _Handle_SALOMEDS_SequenceOfRealAttribute_HeaderFile
11 #define _Handle_SALOMEDS_SequenceOfRealAttribute_HeaderFile
13 #ifndef _Standard_Macro_HeaderFile
14 #include <Standard_Macro.hxx>
16 #ifndef _Standard_HeaderFile
17 #include <Standard.hxx>
20 #ifndef _Handle_TDF_Attribute_HeaderFile
21 #include <Handle_TDF_Attribute.hxx>
24 class Standard_Transient;
25 class Handle_Standard_Type;
26 class Handle(TDF_Attribute);
27 class SALOMEDS_SequenceOfRealAttribute;
28 Standard_EXPORT Handle_Standard_Type& STANDARD_TYPE(SALOMEDS_SequenceOfRealAttribute);
30 class Handle(SALOMEDS_SequenceOfRealAttribute) : public Handle(TDF_Attribute) {
32 void* operator new(size_t,void* anAddress)
36 void* operator new(size_t size)
38 return Standard::Allocate(size);
40 void operator delete(void *anAddress)
42 if (anAddress) Standard::Free((Standard_Address&)anAddress);
44 Handle(SALOMEDS_SequenceOfRealAttribute)():Handle(TDF_Attribute)() {}
45 Handle(SALOMEDS_SequenceOfRealAttribute)(const Handle(SALOMEDS_SequenceOfRealAttribute)& aHandle) : Handle(TDF_Attribute)(aHandle)
49 Handle(SALOMEDS_SequenceOfRealAttribute)(const SALOMEDS_SequenceOfRealAttribute* anItem) : Handle(TDF_Attribute)((TDF_Attribute *)anItem)
53 Handle(SALOMEDS_SequenceOfRealAttribute)& operator=(const Handle(SALOMEDS_SequenceOfRealAttribute)& aHandle)
55 Assign(aHandle.Access());
59 Handle(SALOMEDS_SequenceOfRealAttribute)& operator=(const SALOMEDS_SequenceOfRealAttribute* anItem)
61 Assign((Standard_Transient *)anItem);
65 SALOMEDS_SequenceOfRealAttribute* operator->()
67 return (SALOMEDS_SequenceOfRealAttribute *)ControlAccess();
70 SALOMEDS_SequenceOfRealAttribute* operator->() const
72 return (SALOMEDS_SequenceOfRealAttribute *)ControlAccess();
75 Standard_EXPORT ~Handle(SALOMEDS_SequenceOfRealAttribute)();
77 Standard_EXPORT static const Handle(SALOMEDS_SequenceOfRealAttribute) DownCast(const Handle(Standard_Transient)& AnObject);