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 kobe.xorp.net on Wed Jan 7 19:10:36 2009, using kdoc 2.0a54+XORP.