61 : util::
Optional<T>(), min_(0), max_(0) {
71 : util::
Optional<T>(value), min_(value), max_(value) {
78 : util::
Optional<T>(def), min_(min), max_(max) {
79 if ( (min_ > def) || (def > max_) ) {
A generic exception that is thrown if a parameter given to a method is considered invalid in that con...
A template representing an optional value.
T get() const
Retrieves the encapsulated value.
This template specifies a parameter value.
Triplet()
Constructor without parameters.
Triplet(T min, T def, T max)
Sets the default value and thresholds.
T get(T hint) const
Returns value with a hint.
Triplet< T > & operator=(T other)
Base type to Triplet conversion.
T getMax() const
Returns a maximum allowed value.
T getMin() const
Returns a minimum allowed value.
Triplet(T value)
Sets a fixed value.
#define isc_throw(type, stream)
A shortcut macro to insert known values into exception arguments.
Defines the logger used by the top-level component of kea-lfc.