Main Page   Namespace List   Class Hierarchy   Compound List   File List   Namespace Members   Compound Members   File Members  

BoundedVerifier Class Template Reference

Default, always true verifier. More...

#include <GaudiKernel/PropertyVerifier.h>

Inheritance diagram for BoundedVerifier:

PropertyVerifier NullVerifier List of all members.

Public Methods

 BoundedVerifier ()
 Constructors. More...

virtual ~BoundedVerifier ()
 Destructor. More...

bool isValid ( const T* value ) const
 Check if the value is within bounds. More...

bool hasLower () const
 Return if it has a lower bound. More...

bool hasUpper () const
 Return if it has a lower bound. More...

const T& lower () const
 Return the lower bound value. More...

const T& upper () const
 Return the upper bound value. More...

void setLower ( const T& value )
 Set lower bound value. More...

void setUpper ( const T& value )
 Set upper bound value. More...

void clearLower ()
 Clear lower bound value. More...

void clearUpper ()
 Clear upper bound value. More...

void setBounds ( const T& lower, const T& upper)
 Set both bounds (lower and upper) at the same time. More...

void clearBounds ()
 Clear both bounds (lower and upper) at the same time. More...


Private Attributes

bool m_hasLowerBound
 Data and Function Members for This Class Implementation. Data members. More...

bool m_hasUpperBound
m_lowerBound
m_upperBound

Detailed Description

template<class T> template class BoundedVerifier

Default, always true verifier.

Author(s):
CTDay

Definition at line 38 of file PropertyVerifier.h.


Constructor & Destructor Documentation

template<classT>
BoundedVerifier<T>::BoundedVerifier<T> ( ) [inline]
 

Constructors.

Definition at line 41 of file PropertyVerifier.h.

template<classT>
BoundedVerifier<T>::~BoundedVerifier<T> ( ) [inline, virtual]
 

Destructor.

Definition at line 48 of file PropertyVerifier.h.


Member Function Documentation

template<classT>
void BoundedVerifier<T>::clearBounds ( ) [inline]
 

Clear both bounds (lower and upper) at the same time.

Definition at line 81 of file PropertyVerifier.h.

template<classT>
void BoundedVerifier<T>::clearLower ( ) [inline]
 

Clear lower bound value.

Definition at line 70 of file PropertyVerifier.h.

Referenced by clearBounds().

template<classT>
void BoundedVerifier<T>::clearUpper ( ) [inline]
 

Clear upper bound value.

Definition at line 72 of file PropertyVerifier.h.

Referenced by clearBounds().

template<classT>
bool BoundedVerifier<T>::hasLower ( ) const [inline]
 

Return if it has a lower bound.

Definition at line 57 of file PropertyVerifier.h.

template<classT>
bool BoundedVerifier<T>::hasUpper ( ) const [inline]
 

Return if it has a lower bound.

Definition at line 59 of file PropertyVerifier.h.

template<classT>
bool BoundedVerifier<T>::isValid ( const T * value ) const [inline, virtual]
 

Check if the value is within bounds.

Reimplemented from PropertyVerifier.

Reimplemented in NullVerifier.

Definition at line 51 of file PropertyVerifier.h.

template<classT>
const T & BoundedVerifier<T>::lower ( ) const [inline]
 

Return the lower bound value.

Definition at line 61 of file PropertyVerifier.h.

template<classT>
void BoundedVerifier<T>::setBounds ( const T & lower,
const T & upper ) [inline]
 

Set both bounds (lower and upper) at the same time.

Definition at line 75 of file PropertyVerifier.h.

template<classT>
void BoundedVerifier<T>::setLower ( const T & value ) [inline]
 

Set lower bound value.

Definition at line 66 of file PropertyVerifier.h.

Referenced by setBounds().

template<classT>
void BoundedVerifier<T>::setUpper ( const T & value ) [inline]
 

Set upper bound value.

Definition at line 68 of file PropertyVerifier.h.

Referenced by setBounds().

template<classT>
const T & BoundedVerifier<T>::upper ( ) const [inline]
 

Return the upper bound value.

Definition at line 63 of file PropertyVerifier.h.


Member Data Documentation

template<classT>
bool BoundedVerifier<T>::m_hasLowerBound [private]
 

Data and Function Members for This Class Implementation. Data members.

Definition at line 89 of file PropertyVerifier.h.

template<classT>
bool BoundedVerifier<T>::m_hasUpperBound [private]
 

Definition at line 90 of file PropertyVerifier.h.

template<classT>
T BoundedVerifier<T>::m_lowerBound [private]
 

Definition at line 91 of file PropertyVerifier.h.

template<classT>
T BoundedVerifier<T>::m_upperBound [private]
 

Definition at line 92 of file PropertyVerifier.h.


The documentation for this class was generated from the following file:
Generated at Wed Nov 21 12:22:08 2001 by doxygen1.2.3 written by Dimitri van Heesch, © 1997-2000