Class AllowableRange
Defined in File allowable_range.h
Inheritance Relationships
Derived Types
public opensn::AllowableRangeHighLimit
(Class AllowableRangeHighLimit)public opensn::AllowableRangeList
(Class AllowableRangeList)public opensn::AllowableRangeLowHighLimit
(Class AllowableRangeLowHighLimit)public opensn::AllowableRangeLowLimit
(Class AllowableRangeLowLimit)
Class Documentation
-
class AllowableRange
Base class for an allowable range.
Subclassed by opensn::AllowableRangeHighLimit, opensn::AllowableRangeList, opensn::AllowableRangeLowHighLimit, opensn::AllowableRangeLowLimit
Public Functions
-
template<typename T>
inline bool IsAllowable(const T &value) Returns
true
is the value is within the allowable range.
-
template<typename T>
inline std::string OutOfRangeString(const std::string &scope, const T &value) const Provides a formatted string of the message to display if a value is out of range.
-
inline std::string PrintRange()
Prints the allowable constraints to a string.
-
virtual ~AllowableRange() = default
-
template<typename T>