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: pavlin on possum.icir.org on Wed Aug 2 15:35:43 2006, using kdoc $.