Salome HOME
Porting to 64bit platform
[modules/geom.git] / src / NMTTools / NMTTools_ListIteratorOfListOfCommonBlock.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 _NMTTools_ListIteratorOfListOfCommonBlock_HeaderFile
16 #define _NMTTools_ListIteratorOfListOfCommonBlock_HeaderFile
17
18 #ifndef _Standard_Address_HeaderFile
19 #include <Standard_Address.hxx>
20 #endif
21 #ifndef _Handle_NMTTools_ListNodeOfListOfCommonBlock_HeaderFile
22 #include <Handle_NMTTools_ListNodeOfListOfCommonBlock.hxx>
23 #endif
24 #ifndef _Standard_Boolean_HeaderFile
25 #include <Standard_Boolean.hxx>
26 #endif
27 class Standard_NoMoreObject;
28 class Standard_NoSuchObject;
29 class NMTTools_ListOfCommonBlock;
30 class NMTTools_CommonBlock;
31 class NMTTools_ListNodeOfListOfCommonBlock;
32
33
34 #ifndef _Standard_HeaderFile
35 #include <Standard.hxx>
36 #endif
37 #ifndef _Standard_Macro_HeaderFile
38 #include <Standard_Macro.hxx>
39 #endif
40
41 class NMTTools_ListIteratorOfListOfCommonBlock  {
42
43 public:
44
45     void* operator new(size_t,void* anAddress) 
46       {
47         return anAddress;
48       }
49     void* operator new(size_t size) 
50       { 
51         return Standard::Allocate(size); 
52       }
53     void  operator delete(void *anAddress) 
54       { 
55         if (anAddress) Standard::Free((Standard_Address&)anAddress); 
56       }
57  // Methods PUBLIC
58  // 
59 Standard_EXPORT NMTTools_ListIteratorOfListOfCommonBlock();
60 Standard_EXPORT NMTTools_ListIteratorOfListOfCommonBlock(const NMTTools_ListOfCommonBlock& L);
61 Standard_EXPORT   void Initialize(const NMTTools_ListOfCommonBlock& L) ;
62   Standard_Boolean More() const;
63 Standard_EXPORT   void Next() ;
64 Standard_EXPORT   NMTTools_CommonBlock& Value() const;
65
66
67 friend class NMTTools_ListOfCommonBlock;
68
69
70
71 protected:
72
73  // Methods PROTECTED
74  // 
75
76
77  // Fields PROTECTED
78  //
79
80
81 private: 
82
83  // Methods PRIVATE
84  // 
85
86
87  // Fields PRIVATE
88  //
89 Standard_Address current;
90 Standard_Address previous;
91
92
93 };
94
95 #define Item NMTTools_CommonBlock
96 #define Item_hxx <NMTTools_CommonBlock.hxx>
97 #define TCollection_ListNode NMTTools_ListNodeOfListOfCommonBlock
98 #define TCollection_ListNode_hxx <NMTTools_ListNodeOfListOfCommonBlock.hxx>
99 #define TCollection_ListIterator NMTTools_ListIteratorOfListOfCommonBlock
100 #define TCollection_ListIterator_hxx <NMTTools_ListIteratorOfListOfCommonBlock.hxx>
101 #define Handle_TCollection_ListNode Handle_NMTTools_ListNodeOfListOfCommonBlock
102 #define TCollection_ListNode_Type_() NMTTools_ListNodeOfListOfCommonBlock_Type_()
103 #define TCollection_List NMTTools_ListOfCommonBlock
104 #define TCollection_List_hxx <NMTTools_ListOfCommonBlock.hxx>
105
106 #include <TCollection_ListIterator.lxx>
107
108 #undef Item
109 #undef Item_hxx
110 #undef TCollection_ListNode
111 #undef TCollection_ListNode_hxx
112 #undef TCollection_ListIterator
113 #undef TCollection_ListIterator_hxx
114 #undef Handle_TCollection_ListNode
115 #undef TCollection_ListNode_Type_
116 #undef TCollection_List
117 #undef TCollection_List_hxx
118
119
120 // other Inline functions and methods (like "C++: function call" methods)
121 //
122
123
124 #endif