Salome HOME
This commit was generated by cvs2git to create branch 'IMPORT'.
[modules/smesh.git] / src / SMESHDS / SMESHDS_ListIteratorOfListOfAsciiString.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_ListIteratorOfListOfAsciiString_HeaderFile
16 #define _SMESHDS_ListIteratorOfListOfAsciiString_HeaderFile
17
18 #ifndef _Standard_Address_HeaderFile
19 #include <Standard_Address.hxx>
20 #endif
21 #ifndef _Handle_SMESHDS_ListNodeOfListOfAsciiString_HeaderFile
22 #include "Handle_SMESHDS_ListNodeOfListOfAsciiString.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 SMESHDS_ListOfAsciiString;
30 class TCollection_AsciiString;
31 class SMESHDS_ListNodeOfListOfAsciiString;
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 SMESHDS_ListIteratorOfListOfAsciiString  {
42
43 public:
44
45     inline void* operator new(size_t,void* anAddress) 
46       {
47         return anAddress;
48       }
49     inline void* operator new(size_t size) 
50       { 
51         return Standard::Allocate(size); 
52       }
53     inline void  operator delete(void *anAddress) 
54       { 
55         if (anAddress) Standard::Free((Standard_Address&)anAddress); 
56       }
57 //    inline void  operator delete(void *anAddress, size_t size) 
58 //      { 
59 //        if (anAddress) Standard::Free((Standard_Address&)anAddress,size); 
60 //      }
61  // Methods PUBLIC
62  // 
63 Standard_EXPORT SMESHDS_ListIteratorOfListOfAsciiString();
64 Standard_EXPORT SMESHDS_ListIteratorOfListOfAsciiString(const SMESHDS_ListOfAsciiString& L);
65 Standard_EXPORT   void Initialize(const SMESHDS_ListOfAsciiString& L) ;
66 Standard_EXPORT inline   Standard_Boolean More() const;
67 Standard_EXPORT   void Next() ;
68 Standard_EXPORT   TCollection_AsciiString& Value() const;
69
70
71 friend class SMESHDS_ListOfAsciiString;
72
73
74
75 protected:
76
77  // Methods PROTECTED
78  // 
79
80
81  // Fields PROTECTED
82  //
83
84
85 private: 
86
87  // Methods PRIVATE
88  // 
89
90
91  // Fields PRIVATE
92  //
93 Standard_Address current;
94 Standard_Address previous;
95
96
97 };
98
99 #define Item TCollection_AsciiString
100 #define Item_hxx <TCollection_AsciiString.hxx>
101 #define TCollection_ListNode SMESHDS_ListNodeOfListOfAsciiString
102 #define TCollection_ListNode_hxx <SMESHDS_ListNodeOfListOfAsciiString.hxx>
103 #define TCollection_ListIterator SMESHDS_ListIteratorOfListOfAsciiString
104 #define TCollection_ListIterator_hxx <SMESHDS_ListIteratorOfListOfAsciiString.hxx>
105 #define Handle_TCollection_ListNode Handle_SMESHDS_ListNodeOfListOfAsciiString
106 #define TCollection_ListNode_Type_() SMESHDS_ListNodeOfListOfAsciiString_Type_()
107 #define TCollection_List SMESHDS_ListOfAsciiString
108 #define TCollection_List_hxx <SMESHDS_ListOfAsciiString.hxx>
109
110 #include <TCollection_ListIterator.lxx>
111
112 #undef Item
113 #undef Item_hxx
114 #undef TCollection_ListNode
115 #undef TCollection_ListNode_hxx
116 #undef TCollection_ListIterator
117 #undef TCollection_ListIterator_hxx
118 #undef Handle_TCollection_ListNode
119 #undef TCollection_ListNode_Type_
120 #undef TCollection_List
121 #undef TCollection_List_hxx
122
123
124 // other inline functions and methods (like "C++: function call" methods)
125 //
126
127
128 #endif