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