class Range

A template class for implementing linear ranges X..Y. More...

 
LOGO
 Annotated List  Files  Globals  Hierarchy  Index  Top

Public Methods

Protected Members


Detailed Description

We define a linear range by its low and high inclusive boundaries. It's the user's responisibility to ensure that the condition (_low <= _high) always holds!

 Range ()

Range

Default constructor

explicit  Range (T value)

Range

Constructor from a single value.

explicit  Range (T low, T high)

Range

Constructor from two values.

const T&  low ()

low

[const]

const T&  high ()

high

[const]

T _low

_low

[protected]

T _high

_high

[protected]


Generated by: bms on anglepoise.lon.incunabulum.net on Wed Jul 23 10:05:24 2008, using kdoc 2.0a54+XORP.