Chi-Tech
chi_data_types::AllowableRangeLowHighLimit Class Reference

#include <allowable_range.h>

Inheritance diagram for chi_data_types::AllowableRangeLowHighLimit:
chi_data_types::AllowableRange

Public Member Functions

template<typename T >
 AllowableRangeLowHighLimit (const T &low_value, const T &hi_value, bool low_closed=true, bool hi_closed=true)
 
- Public Member Functions inherited from chi_data_types::AllowableRange
template<typename T >
bool IsAllowable (const T &value)
 
template<typename T >
std::string OutOfRangeString (const std::string &scope, const T &value) const
 
std::string PrintRange ()
 
virtual ~AllowableRange ()=default
 

Static Public Member Functions

template<typename T >
static std::unique_ptr< AllowableRangeLowHighLimitNew (const T &low_value, const T &hi_value, bool low_closed=true, bool hi_closed=true)
 

Protected Member Functions

bool ChildIsAllowable (Varying value) const override
 
std::string AllowableRangeStr () const override
 
virtual bool ChildIsAllowable (Varying value) const =0
 
virtual std::string AllowableRangeStr () const =0
 

Protected Attributes

AllowableRangeLowLimit low_range_
 
AllowableRangeHighLimit hi_range
 

Detailed Description

Upper and lower limit range.

Definition at line 192 of file allowable_range.h.

Constructor & Destructor Documentation

◆ AllowableRangeLowHighLimit()

template<typename T >
chi_data_types::AllowableRangeLowHighLimit::AllowableRangeLowHighLimit ( const T &  low_value,
const T &  hi_value,
bool  low_closed = true,
bool  hi_closed = true 
)
inlineexplicit

Definition at line 200 of file allowable_range.h.

Member Function Documentation

◆ AllowableRangeStr()

std::string chi_data_types::AllowableRangeLowHighLimit::AllowableRangeStr ( ) const
inlineoverrideprotectedvirtual

Implements chi_data_types::AllowableRange.

Definition at line 226 of file allowable_range.h.

◆ ChildIsAllowable()

bool chi_data_types::AllowableRangeLowHighLimit::ChildIsAllowable ( Varying  value) const
inlineoverrideprotectedvirtual

Implements chi_data_types::AllowableRange.

Definition at line 221 of file allowable_range.h.

◆ New()

template<typename T >
static std::unique_ptr< AllowableRangeLowHighLimit > chi_data_types::AllowableRangeLowHighLimit::New ( const T &  low_value,
const T &  hi_value,
bool  low_closed = true,
bool  hi_closed = true 
)
inlinestatic

Definition at line 210 of file allowable_range.h.

Field Documentation

◆ hi_range

AllowableRangeHighLimit chi_data_types::AllowableRangeLowHighLimit::hi_range
protected

Definition at line 196 of file allowable_range.h.

◆ low_range_

AllowableRangeLowLimit chi_data_types::AllowableRangeLowHighLimit::low_range_
protected

Definition at line 195 of file allowable_range.h.


The documentation for this class was generated from the following file: