summaryrefslogtreecommitdiff
path: root/src/TCollection/TCollection_Array1Descriptor.cxx
blob: cbd3597a59deccd82a59bdc2b90148b7ee5d13ee (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38

//
//
//

#include <TCollection_Array1Descriptor.ixx>

// ---------------------------------------------------------------------

TCollection_Array1Descriptor::TCollection_Array1Descriptor 
    (const Standard_Integer Lower,     
     const Standard_Integer Upper,
     const Standard_Address anAddress
     )
{
  myLower  = Lower;
  myUpper  = Upper;
  myAddress= anAddress;
}

// ---------------------------------------------------------------------

Standard_Integer TCollection_Array1Descriptor::Upper() const 
{ 
  return myUpper;
} 

// ---------------------------------------------------------------------
Standard_Integer TCollection_Array1Descriptor::Lower() const 
{ 
  return myLower;
} 

// ---------------------------------------------------------------------
Standard_Address TCollection_Array1Descriptor::Address() const 
{ 
  return myAddress;
}