#include <allowable_range.h>
Base class for an allowable range.
Definition at line 15 of file allowable_range.h.
◆ ~AllowableRange()
virtual chi_data_types::AllowableRange::~AllowableRange |
( |
| ) |
|
|
virtualdefault |
◆ AllowableRangeStr()
virtual std::string chi_data_types::AllowableRange::AllowableRangeStr |
( |
| ) |
const |
|
protectedpure virtual |
◆ ChildIsAllowable()
virtual bool chi_data_types::AllowableRange::ChildIsAllowable |
( |
Varying |
value | ) |
const |
|
protectedpure virtual |
◆ IsAllowable()
template<typename T >
bool chi_data_types::AllowableRange::IsAllowable |
( |
const T & |
value | ) |
|
|
inline |
Returns true
is the value is within the allowable range.
Definition at line 24 of file allowable_range.h.
◆ OutOfRangeString()
template<typename T >
std::string chi_data_types::AllowableRange::OutOfRangeString |
( |
const std::string & |
scope, |
|
|
const T & |
value |
|
) |
| const |
|
inline |
Provides a formatted string of the message to display if a value is out of range.
Definition at line 32 of file allowable_range.h.
◆ PrintRange()
std::string chi_data_types::AllowableRange::PrintRange |
( |
| ) |
|
|
inline |
The documentation for this class was generated from the following file: