1 // File : Handle_SALOMEDS_DataMapNodeOfDataMapStringLabel.hxx
2 // Created : Tue Aug 13 14:05:03 2002
3 // Author : Yves FRICAUD
7 // Copyright : Open CASCADE 2002
10 #ifndef _Handle_SALOMEDS_DataMapNodeOfDataMapStringLabel_HeaderFile
11 #define _Handle_SALOMEDS_DataMapNodeOfDataMapStringLabel_HeaderFile
13 #ifndef _Standard_Macro_HeaderFile
14 #include <Standard_Macro.hxx>
16 #ifndef _Standard_HeaderFile
17 #include <Standard.hxx>
20 #ifndef _Handle_TCollection_MapNode_HeaderFile
21 #include <Handle_TCollection_MapNode.hxx>
24 class Standard_Transient;
25 class Handle_Standard_Type;
26 class Handle(TCollection_MapNode);
27 class SALOMEDS_DataMapNodeOfDataMapStringLabel;
28 Standard_EXPORT Handle_Standard_Type& STANDARD_TYPE(SALOMEDS_DataMapNodeOfDataMapStringLabel);
30 class Handle(SALOMEDS_DataMapNodeOfDataMapStringLabel) : public Handle(TCollection_MapNode) {
32 inline void* operator new(size_t,void* anAddress)
36 inline void* operator new(size_t size)
38 return Standard::Allocate(size);
40 inline void operator delete(void *anAddress)
42 if (anAddress) Standard::Free((Standard_Address&)anAddress);
44 // inline void operator delete(void *anAddress, size_t size)
46 // if (anAddress) Standard::Free((Standard_Address&)anAddress,size);
48 Handle(SALOMEDS_DataMapNodeOfDataMapStringLabel)():Handle(TCollection_MapNode)() {}
49 Handle(SALOMEDS_DataMapNodeOfDataMapStringLabel)(const Handle(SALOMEDS_DataMapNodeOfDataMapStringLabel)& aHandle) : Handle(TCollection_MapNode)(aHandle)
53 Handle(SALOMEDS_DataMapNodeOfDataMapStringLabel)(const SALOMEDS_DataMapNodeOfDataMapStringLabel* anItem) : Handle(TCollection_MapNode)((TCollection_MapNode *)anItem)
57 Handle(SALOMEDS_DataMapNodeOfDataMapStringLabel)& operator=(const Handle(SALOMEDS_DataMapNodeOfDataMapStringLabel)& aHandle)
59 Assign(aHandle.Access());
63 Handle(SALOMEDS_DataMapNodeOfDataMapStringLabel)& operator=(const SALOMEDS_DataMapNodeOfDataMapStringLabel* anItem)
65 Assign((Standard_Transient *)anItem);
69 SALOMEDS_DataMapNodeOfDataMapStringLabel* operator->()
71 return (SALOMEDS_DataMapNodeOfDataMapStringLabel *)ControlAccess();
74 SALOMEDS_DataMapNodeOfDataMapStringLabel* operator->() const
76 return (SALOMEDS_DataMapNodeOfDataMapStringLabel *)ControlAccess();
79 Standard_EXPORT ~Handle(SALOMEDS_DataMapNodeOfDataMapStringLabel)();
81 Standard_EXPORT static const Handle(SALOMEDS_DataMapNodeOfDataMapStringLabel) DownCast(const Handle(Standard_Transient)& AnObject);