1 #ifndef GAUDIKERNEL_PROPERTYVERIFIER_H
2 #define GAUDIKERNEL_PROPERTYVERIFIER_H
133 #endif // GAUDIKERNEL_PROPERTYVERIFIER_H
bool isValid(const typename Gaudi::Utils::PropertyTypeTraits< T >::CVal value) const override
Check if the value is within bounds.
Templated Verifier base class.
helper structure to define the types for properties
~BoundedVerifier() override=default
Destructor.
bool isValid(const typename Gaudi::Utils::PropertyTypeTraits< T >::CVal) const override
virtual ~PropertyVerifier()=default
void clearLower()
Clear lower bound value.
virtual bool isValid(const typename Gaudi::Utils::PropertyTypeTraits< T >::CVal value) const =0
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.
void clearUpper()
Clear upper bound value.
void setBounds(const T &lower, const T &upper)
Set both bounds (lower and upper) at the same time.
~NullVerifier() override=default
const T & lower() const
Return the lower bound value.
bool hasUpper() const
Return if it has a lower bound.
const T & upper() const
Return the upper bound value.
Default, always true verifier.
void setUpper(const T &value)
Set upper bound value.
void clearBounds()
Clear both bounds (lower and upper) at the same time.
BoundedVerifier()
Constructors.