Chi-Tech
chi_data_types::AllowableRangeHighLimit Class Reference

#include <allowable_range.h>

Inheritance diagram for chi_data_types::AllowableRangeHighLimit:
chi_data_types::AllowableRange

Public Member Functions

template<typename T >
 AllowableRangeHighLimit (const T &hi_value, 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< AllowableRangeHighLimitNew (const T &hi_value, 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

const Varying hi_limit_
 
bool hi_closed_ = true
 

Friends

class AllowableRangeLowHighLimit
 

Detailed Description

Upper limit range.

Definition at line 151 of file allowable_range.h.

Constructor & Destructor Documentation

◆ AllowableRangeHighLimit()

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

Definition at line 159 of file allowable_range.h.

Member Function Documentation

◆ AllowableRangeStr()

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

Implements chi_data_types::AllowableRange.

Definition at line 182 of file allowable_range.h.

◆ ChildIsAllowable()

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

Implements chi_data_types::AllowableRange.

Definition at line 174 of file allowable_range.h.

◆ New()

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

Definition at line 165 of file allowable_range.h.

Friends And Related Function Documentation

◆ AllowableRangeLowHighLimit

friend class AllowableRangeLowHighLimit
friend

Definition at line 173 of file allowable_range.h.

Field Documentation

◆ hi_closed_

bool chi_data_types::AllowableRangeHighLimit::hi_closed_ = true
protected

Definition at line 155 of file allowable_range.h.

◆ hi_limit_

const Varying chi_data_types::AllowableRangeHighLimit::hi_limit_
protected

Definition at line 154 of file allowable_range.h.


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