3 #ifndef GAUDIKERNEL_PROPERTYVERIFIER_H
4 #define GAUDIKERNEL_PROPERTYVERIFIER_H
135 #endif // GAUDIKERNEL_PROPERTYVERIFIER_H
void setBounds(const T &lower, const T &upper)
Set both bounds (lower and upper) at the same time.
bool isValid(const typename Gaudi::Utils::PropertyTypeTraits< T >::CVal value) const
Check if the value is within bounds.
Templated Verifier base class.
helper structure to define the types for properties
void clearLower()
Clear lower bound value.
virtual bool isValid(const typename Gaudi::Utils::PropertyTypeTraits< T >::CVal value) const =0
virtual bool isValid(const typename Gaudi::Utils::PropertyTypeTraits< T >::CVal) const
void clearBounds()
Clear both bounds (lower and upper) at the same time.
const T & lower() const
Return the lower bound value.
virtual ~BoundedVerifier()
Destructor.
void setUpper(const T &value)
Set upper bound value.
const T & upper() const
Return the upper bound value.
virtual ~PropertyVerifier()
Default, always true verifier.
bool m_hasLowerBound
Data and Function Members for This Class Implementation.
void setLower(const T &value)
Set lower bound value.
bool hasLower() const
Return if it has a lower bound.
BoundedVerifier()
Constructors.
void clearUpper()
Clear upper bound value.
bool hasUpper() const
Return if it has a lower bound.