Class AllowableRangeList

Inheritance Relationships

Base Type

Class Documentation

class AllowableRangeList : public opensn::AllowableRange

Range comprising a list of values.

Public Functions

template<typename T>
inline AllowableRangeList(const std::initializer_list<T> &raw_list)
template<typename T>
inline AllowableRangeList(const std::vector<T> &raw_list)

Public Static Functions

template<typename T>
static inline std::shared_ptr<AllowableRangeList> New(const std::initializer_list<T> &raw_list)
template<typename T>
static inline std::shared_ptr<AllowableRangeList> New(const std::vector<T> &raw_list)

Protected Functions

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

Protected Attributes

std::vector<Varying> list_