Hauptseite | Klassenhierarchie | Auflistung der Klassen | Auflistung der Dateien | Klassen-Elemente | Datei-Elemente | Zusätzliche Informationen

TRange< TRangeType > Template Klassenreferenz

Implementation of Martin Fowlers "Range Pattern". Mehr...

#include <Range.h>

Zusammengehörigkeiten von TRange< TRangeType >:

Collaboration graph
[Legende]
Aufstellung aller Elemente

Öffentliche Methoden

 TRange (TRangeType min, TRangeType max)
 The range limits belong the range! So its possible to force a value into a given range by setting it to to the lower or upper limit.

TRangeType ForceIntoRange (TRangeType value) const
void SetMin (TRangeType value)
void SetMax (TRangeType value)
TRangeType GetMin () const
TRangeType GetMax () const
BOOL includes (TRangeType value) const

Ausführliche Beschreibung

template<class TRangeType>
class TRange< TRangeType >

Implementation of Martin Fowlers "Range Pattern".


Beschreibung der Konstruktoren und Destruktoren

template<class TRangeType>
TRange< TRangeType >::TRange TRangeType  min,
TRangeType  max
[inline]
 

The range limits belong the range! So its possible to force a value into a given range by setting it to to the lower or upper limit.

The TRangeType class must provide operator<


Dokumentation der Elementfunktionen

template<class TRangeType>
TRangeType TRange< TRangeType >::ForceIntoRange TRangeType  value  )  const [inline]
 

template<class TRangeType>
TRangeType TRange< TRangeType >::GetMax  )  const [inline]
 

template<class TRangeType>
TRangeType TRange< TRangeType >::GetMin  )  const [inline]
 

template<class TRangeType>
BOOL TRange< TRangeType >::includes TRangeType  value  )  const [inline]
 

template<class TRangeType>
void TRange< TRangeType >::SetMax TRangeType  value  )  [inline]
 

template<class TRangeType>
void TRange< TRangeType >::SetMin TRangeType  value  )  [inline]
 


Die Dokumentation für diese Klasse wurde erzeugt aufgrund der Datei:
Erzeugt am Sat Nov 13 12:53:37 2004 für XCTL32 von doxygen 1.3.7