0022815: Missing delete operator for placement new
[occt.git] / src / NCollection / NCollection_DefineArray2.hxx
1 // File:      NCollection_DefineArray2.hxx
2 // Created:   15.04.02 17:05:16
3 // Author:    Alexander Kartomin (akm)
4 //            <a-kartomin@opencascade.com>
5 //            Automatically created from NCollection_Array2.hxx by GAWK
6 // Copyright: Open Cascade 2002
7 //            
8 // Purpose:   The class Array2 represents bi-dimensional arrays 
9 //            of fixed size known at run time. 
10 //            The ranges of indices are user defined.
11 //            
12 // Warning:   Programs clients of such class must be independant
13 //            of the range of the first element. Then, a C++ for
14 //            loop must be written like this
15 //            
16 //            for (i = A.LowerRow(); i <= A.UpperRow(); i++)
17 //              for (j = A.LowerCol(); j <= A.UpperCol(); j++)
18 //            
19
20 #ifndef NCollection_DefineArray2_HeaderFile
21 #define NCollection_DefineArray2_HeaderFile
22
23 #include <NCollection_DefineBaseCollection.hxx>
24 #include <NCollection_Array2.hxx>
25
26 // *********************************************** Template for Array2 class
27
28 #define DEFINE_ARRAY2(_ClassName_, _BaseCollection_, TheItemType)              \
29         typedef NCollection_Array2<TheItemType > _ClassName_;
30
31 #endif