Integration of OCCT 6.5.0 from SVN
[occt.git] / src / TCollection / TCollection_Array2Descriptor.cxx
1
2 //
3 //
4 //
5
6 #include <TCollection_Array2Descriptor.ixx>
7
8 // ---------------------------------------------------------------------
9
10 TCollection_Array2Descriptor::TCollection_Array2Descriptor 
11     (const Standard_Integer aLowerRow,     
12      const Standard_Integer aUpperRow,
13      const Standard_Integer aLowerCol,     
14      const Standard_Integer aUpperCol,
15      const Standard_Address anAddress
16      )
17 {
18   myLowerRow  = aLowerRow;
19   myUpperRow  = aUpperRow;
20   myLowerCol  = aLowerCol;
21   myUpperCol  = aUpperCol;
22   myAddress   = anAddress;
23 }
24
25 // ---------------------------------------------------------------------
26
27 Standard_Integer TCollection_Array2Descriptor::UpperRow() const 
28
29   return myUpperRow;
30
31
32 // ---------------------------------------------------------------------
33 Standard_Integer TCollection_Array2Descriptor::LowerRow() const 
34
35   return myLowerRow;
36
37
38 // ---------------------------------------------------------------------
39
40 Standard_Integer TCollection_Array2Descriptor::UpperCol() const 
41
42   return myUpperCol;
43
44
45 // ---------------------------------------------------------------------
46 Standard_Integer TCollection_Array2Descriptor::LowerCol() const 
47
48   return myLowerCol;
49
50
51 // ---------------------------------------------------------------------
52 Standard_Address TCollection_Array2Descriptor::Address() const 
53
54   return myAddress;
55