1 // File generated by CPPExt (Transient)
3 // Copyright (C) 1991,1995 by
5 // MATRA DATAVISION, FRANCE
7 // This software is furnished in accordance with the terms and conditions
8 // of the contract and with the inclusion of the above copyright notice.
9 // This software or any other copy thereof may not be provided or otherwise
10 // be made available to any other person. No title to an ownership of the
11 // software is hereby transferred.
13 // At the termination of the contract, the software and all copies of this
14 // software must be deleted.
16 #ifndef _SMDS_ListNodeOfListOfMeshElement_HeaderFile
17 #define _SMDS_ListNodeOfListOfMeshElement_HeaderFile
19 #ifndef _Standard_HeaderFile
20 #include <Standard.hxx>
22 #ifndef _Handle_SMDS_ListNodeOfListOfMeshElement_HeaderFile
23 #include "Handle_SMDS_ListNodeOfListOfMeshElement.hxx"
26 #ifndef _Handle_SMDS_MeshElement_HeaderFile
27 #include "Handle_SMDS_MeshElement.hxx"
29 #ifndef _TCollection_MapNode_HeaderFile
30 #include <TCollection_MapNode.hxx>
32 #ifndef _TCollection_MapNodePtr_HeaderFile
33 #include <TCollection_MapNodePtr.hxx>
35 class SMDS_MeshElement;
36 class SMDS_ListOfMeshElement;
37 class SMDS_ListIteratorOfListOfMeshElement;
40 class SMDS_ListNodeOfListOfMeshElement : public TCollection_MapNode {
44 inline void* operator new(size_t,void* anAddress)
48 inline void* operator new(size_t size)
50 return Standard::Allocate(size);
52 inline void operator delete(void *anAddress)
54 if (anAddress) Standard::Free((Standard_Address&)anAddress);
56 // inline void operator delete(void *anAddress, size_t size)
58 // if (anAddress) Standard::Free((Standard_Address&)anAddress,size);
62 Standard_EXPORT inline SMDS_ListNodeOfListOfMeshElement(const Handle(SMDS_MeshElement)& I,const TCollection_MapNodePtr& n);
63 Standard_EXPORT inline Handle_SMDS_MeshElement& Value() const;
64 Standard_EXPORT ~SMDS_ListNodeOfListOfMeshElement();
71 Standard_EXPORT friend Handle_Standard_Type& SMDS_ListNodeOfListOfMeshElement_Type_();
72 Standard_EXPORT const Handle(Standard_Type)& DynamicType() const;
73 Standard_EXPORT Standard_Boolean IsKind(const Handle(Standard_Type)&) const;
93 Handle_SMDS_MeshElement myValue;
98 #define Item Handle_SMDS_MeshElement
99 #define Item_hxx <SMDS_MeshElement.hxx>
100 #define TCollection_ListNode SMDS_ListNodeOfListOfMeshElement
101 #define TCollection_ListNode_hxx <SMDS_ListNodeOfListOfMeshElement.hxx>
102 #define TCollection_ListIterator SMDS_ListIteratorOfListOfMeshElement
103 #define TCollection_ListIterator_hxx <SMDS_ListIteratorOfListOfMeshElement.hxx>
104 #define Handle_TCollection_ListNode Handle_SMDS_ListNodeOfListOfMeshElement
105 #define TCollection_ListNode_Type_() SMDS_ListNodeOfListOfMeshElement_Type_()
106 #define TCollection_List SMDS_ListOfMeshElement
107 #define TCollection_List_hxx <SMDS_ListOfMeshElement.hxx>
109 #include <TCollection_ListNode.lxx>
113 #undef TCollection_ListNode
114 #undef TCollection_ListNode_hxx
115 #undef TCollection_ListIterator
116 #undef TCollection_ListIterator_hxx
117 #undef Handle_TCollection_ListNode
118 #undef TCollection_ListNode_Type_
119 #undef TCollection_List
120 #undef TCollection_List_hxx
123 // other inline functions and methods (like "C++: function call" methods)