Go to the documentation of this file.
60 template<
class T>
class MinMax;
125 inline explicit constexpr
scalarRange(const scalar val) noexcept;
129 inline
scalarRange(const scalar minVal, const scalar maxVal) noexcept;
160 inline static constexpr
scalarRange ge(const scalar minVal) noexcept;
163 inline static constexpr
scalarRange gt(const scalar minVal) noexcept;
172 inline static constexpr
scalarRange le(const scalar maxVal) noexcept;
175 inline static constexpr
scalarRange lt(const scalar maxVal) noexcept;
184 inline
void clear() noexcept;
187 inline
bool empty() const noexcept;
190 inline
bool valid() const noexcept;
193 inline
bool single() const noexcept;
196 inline scalar
min() const noexcept;
199 inline scalar
max() const noexcept;
203 inline scalar
value() const;
206 inline
bool match(const scalar& val) const;
212 inline
bool operator()(const scalar& val) const;
214 inline constexpr
bool operator==(const
scalarRange& rhs) const noexcept;
215 inline constexpr
bool operator!=(const
scalarRange& rhs) const noexcept;
231 #include "scalarRangeI.H"
bool match(const scalar &val) const
static constexpr scalarRange le(const scalar maxVal) noexcept
static constexpr scalarRange gt0() noexcept
static const scalarRange always
static bool parse(const std::string &str, scalarRange &range)
Ostream & operator<<(Ostream &, const boundaryPatch &p)
constexpr scalarRange() noexcept
scalar max() const noexcept
static constexpr scalarRange zero_one() noexcept
Scalar bounds to be used as a unary predicate.
static constexpr scalarRange ge(const scalar minVal) noexcept
OBJstream os(runTime.globalPath()/outputName)
scalar min() const noexcept
bool empty() const noexcept
static constexpr scalarRange ge0() noexcept
fileName::Type type(const fileName &name, const bool followLink=true)
static constexpr scalarRange lt(const scalar maxVal) noexcept
bool single() const noexcept
An Ostream is an abstract base class for all output systems (streams, files, token lists,...
A min/max value pair with additional methods. In addition to conveniently storing values,...
bool valid() const noexcept
static constexpr scalarRange gt(const scalar minVal) noexcept