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 _NMTTools_ListIteratorOfListOfCommonBlock_HeaderFile
16 #define _NMTTools_ListIteratorOfListOfCommonBlock_HeaderFile
18 #ifndef _Standard_Address_HeaderFile
19 #include <Standard_Address.hxx>
21 #ifndef _Handle_NMTTools_ListNodeOfListOfCommonBlock_HeaderFile
22 #include <Handle_NMTTools_ListNodeOfListOfCommonBlock.hxx>
24 #ifndef _Standard_Boolean_HeaderFile
25 #include <Standard_Boolean.hxx>
27 class Standard_NoMoreObject;
28 class Standard_NoSuchObject;
29 class NMTTools_ListOfCommonBlock;
30 class NMTTools_CommonBlock;
31 class NMTTools_ListNodeOfListOfCommonBlock;
34 #ifndef _Standard_HeaderFile
35 #include <Standard.hxx>
37 #ifndef _Standard_Macro_HeaderFile
38 #include <Standard_Macro.hxx>
41 class NMTTools_ListIteratorOfListOfCommonBlock {
45 void* operator new(size_t,void* anAddress)
49 void* operator new(size_t size)
51 return Standard::Allocate(size);
53 void operator delete(void *anAddress)
55 if (anAddress) Standard::Free((Standard_Address&)anAddress);
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;
67 friend class NMTTools_ListOfCommonBlock;
89 Standard_Address current;
90 Standard_Address previous;
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>
106 #include <TCollection_ListIterator.lxx>
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
120 // other Inline functions and methods (like "C++: function call" methods)