Salome HOME
NRI : Change lGeometryClient by lGEOMClient.
[modules/smesh.git] / src / SMDS / SMDS_ListIteratorOfListOfMeshGroup.hxx
1 // File generated by CPPExt (Value)
2 //                     Copyright (C) 1991,1995 by
3 //  
4 //                      MATRA DATAVISION, FRANCE
5 //  
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.
11 //  
12 // At the termination of the contract, the software and all copies of this
13 // software must be deleted.
14
15 #ifndef _SMDS_ListIteratorOfListOfMeshGroup_HeaderFile
16 #define _SMDS_ListIteratorOfListOfMeshGroup_HeaderFile
17
18 #ifndef _Standard_Address_HeaderFile
19 #include <Standard_Address.hxx>
20 #endif
21 #ifndef _Handle_SMDS_MeshGroup_HeaderFile
22 #include "Handle_SMDS_MeshGroup.hxx"
23 #endif
24 #ifndef _Handle_SMDS_ListNodeOfListOfMeshGroup_HeaderFile
25 #include "Handle_SMDS_ListNodeOfListOfMeshGroup.hxx"
26 #endif
27 #ifndef _Standard_Boolean_HeaderFile
28 #include <Standard_Boolean.hxx>
29 #endif
30 class Standard_NoMoreObject;
31 class Standard_NoSuchObject;
32 class SMDS_ListOfMeshGroup;
33 class SMDS_MeshGroup;
34 class SMDS_ListNodeOfListOfMeshGroup;
35
36
37 #ifndef _Standard_HeaderFile
38 #include <Standard.hxx>
39 #endif
40 #ifndef _Standard_Macro_HeaderFile
41 #include <Standard_Macro.hxx>
42 #endif
43
44 class SMDS_ListIteratorOfListOfMeshGroup  {
45
46 public:
47
48     inline void* operator new(size_t,void* anAddress) 
49       {
50         return anAddress;
51       }
52     inline void* operator new(size_t size) 
53       { 
54         return Standard::Allocate(size); 
55       }
56     inline void  operator delete(void *anAddress) 
57       { 
58         if (anAddress) Standard::Free((Standard_Address&)anAddress); 
59       }
60 //    inline void  operator delete(void *anAddress, size_t size) 
61 //      { 
62 //        if (anAddress) Standard::Free((Standard_Address&)anAddress,size); 
63 //      }
64  // Methods PUBLIC
65  // 
66 Standard_EXPORT SMDS_ListIteratorOfListOfMeshGroup();
67 Standard_EXPORT SMDS_ListIteratorOfListOfMeshGroup(const SMDS_ListOfMeshGroup& L);
68 Standard_EXPORT   void Initialize(const SMDS_ListOfMeshGroup& L) ;
69 Standard_EXPORT inline   Standard_Boolean More() const;
70 Standard_EXPORT   void Next() ;
71 Standard_EXPORT   Handle_SMDS_MeshGroup& Value() const;
72
73
74 friend class SMDS_ListOfMeshGroup;
75
76
77
78 protected:
79
80  // Methods PROTECTED
81  // 
82
83
84  // Fields PROTECTED
85  //
86
87
88 private: 
89
90  // Methods PRIVATE
91  // 
92
93
94  // Fields PRIVATE
95  //
96 Standard_Address current;
97 Standard_Address previous;
98
99
100 };
101
102 #define Item Handle_SMDS_MeshGroup
103 #define Item_hxx "SMDS_MeshGroup.hxx"
104 #define TCollection_ListNode SMDS_ListNodeOfListOfMeshGroup
105 #define TCollection_ListNode_hxx "SMDS_ListNodeOfListOfMeshGroup.hxx"
106 #define TCollection_ListIterator SMDS_ListIteratorOfListOfMeshGroup
107 #define TCollection_ListIterator_hxx "SMDS_ListIteratorOfListOfMeshGroup.hxx"
108 #define Handle_TCollection_ListNode Handle_SMDS_ListNodeOfListOfMeshGroup
109 #define TCollection_ListNode_Type_() SMDS_ListNodeOfListOfMeshGroup_Type_()
110 #define TCollection_List SMDS_ListOfMeshGroup
111 #define TCollection_List_hxx "SMDS_ListOfMeshGroup.hxx"
112
113 #include <TCollection_ListIterator.lxx>
114
115 #undef Item
116 #undef Item_hxx
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
125
126
127 // other inline functions and methods (like "C++: function call" methods)
128 //
129
130
131 #endif