1 // File generated by CPPExt (Value)
2 // Copyright (C) 1991,1995 by
4 // MATRA DATAVISION, FRANCE
6 // This software is furnished in accordance with the terms and conditions
7 // of the contract and with the inclusion of the above copyright notice.
8 // This software or any other copy thereof may not be provided or otherwise
9 // be made available to any other person. No title to an ownership of the
10 // software is hereby transferred.
12 // At the termination of the contract, the software and all copies of this
13 // software must be deleted.
15 #ifndef _SMDS_ListIteratorOfListOfMesh_HeaderFile
16 #define _SMDS_ListIteratorOfListOfMesh_HeaderFile
18 #ifndef _Standard_Address_HeaderFile
19 #include <Standard_Address.hxx>
21 #ifndef _Handle_SMDS_Mesh_HeaderFile
22 #include "Handle_SMDS_Mesh.hxx"
24 #ifndef _Handle_SMDS_ListNodeOfListOfMesh_HeaderFile
25 #include "Handle_SMDS_ListNodeOfListOfMesh.hxx"
27 #ifndef _Standard_Boolean_HeaderFile
28 #include <Standard_Boolean.hxx>
30 class Standard_NoMoreObject;
31 class Standard_NoSuchObject;
32 class SMDS_ListOfMesh;
34 class SMDS_ListNodeOfListOfMesh;
37 #ifndef _Standard_HeaderFile
38 #include <Standard.hxx>
40 #ifndef _Standard_Macro_HeaderFile
41 #include <Standard_Macro.hxx>
44 class SMDS_ListIteratorOfListOfMesh {
48 inline void* operator new(size_t,void* anAddress)
52 inline void* operator new(size_t size)
54 return Standard::Allocate(size);
56 inline void operator delete(void *anAddress)
58 if (anAddress) Standard::Free((Standard_Address&)anAddress);
60 // inline void operator delete(void *anAddress, size_t size)
62 // if (anAddress) Standard::Free((Standard_Address&)anAddress,size);
66 Standard_EXPORT SMDS_ListIteratorOfListOfMesh();
67 Standard_EXPORT SMDS_ListIteratorOfListOfMesh(const SMDS_ListOfMesh& L);
68 Standard_EXPORT void Initialize(const SMDS_ListOfMesh& L) ;
69 Standard_EXPORT inline Standard_Boolean More() const;
70 Standard_EXPORT void Next() ;
71 Standard_EXPORT Handle_SMDS_Mesh& Value() const;
74 friend class SMDS_ListOfMesh;
96 Standard_Address current;
97 Standard_Address previous;
102 #define Item Handle_SMDS_Mesh
103 #define Item_hxx <SMDS_Mesh.hxx>
104 #define TCollection_ListNode SMDS_ListNodeOfListOfMesh
105 #define TCollection_ListNode_hxx <SMDS_ListNodeOfListOfMesh.hxx>
106 #define TCollection_ListIterator SMDS_ListIteratorOfListOfMesh
107 #define TCollection_ListIterator_hxx <SMDS_ListIteratorOfListOfMesh.hxx>
108 #define Handle_TCollection_ListNode Handle_SMDS_ListNodeOfListOfMesh
109 #define TCollection_ListNode_Type_() SMDS_ListNodeOfListOfMesh_Type_()
110 #define TCollection_List SMDS_ListOfMesh
111 #define TCollection_List_hxx <SMDS_ListOfMesh.hxx>
113 #include <TCollection_ListIterator.lxx>
117 #undef TCollection_ListNode
118 #undef TCollection_ListNode_hxx
119 #undef TCollection_ListIterator
120 #undef TCollection_ListIterator_hxx
121 #undef Handle_TCollection_ListNode
122 #undef TCollection_ListNode_Type_
123 #undef TCollection_List
124 #undef TCollection_List_hxx
127 // other inline functions and methods (like "C++: function call" methods)