summaryrefslogtreecommitdiff
path: root/inc/PCollection_HArray1.lxx
blob: 5a5f518eb159d0275a5310402d7a4f86c0de7841 (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
#include <Standard_OutOfRange.hxx>


// ------------------------------------------------------------------
//
// ------------------------------------------------------------------
inline Standard_Integer PCollection_HArray1::Length () const 
{
	return UpperBound-LowerBound+1 ;
}



// ------------------------------------------------------------------
//
// ------------------------------------------------------------------
inline Standard_Integer PCollection_HArray1::Lower () const
{
	return LowerBound ;
}



// ------------------------------------------------------------------
//
// ------------------------------------------------------------------
inline Standard_Integer PCollection_HArray1::Upper () const
{
	return UpperBound ;
}