38#ifndef Foam_primitives_bool_H
39#define Foam_primitives_bool_H
98 static const bool zero;
99 static const bool one;
118 operator bool() const
noexcept {
return p_; }
121 operator bool&()
noexcept {
return p_; }
An Istream is an abstract base class for all input systems (streams, files, token lists etc)....
An Ostream is an abstract base class for all output systems (streams, files, token lists,...
static const char *const componentNames[]
pTraits(bool val) noexcept
Copy construct from primitive.
static const bool & null() noexcept
Return reference to a (false) dummy value.
bool magType
Magnitude type.
static constexpr direction nComponents
Number of components in bool is 1.
static constexpr direction rank
Rank of bool is 0.
static constexpr direction dim
Dimensionality of space.
static bool dummy
Dummy for return reference.
bool cmptType
Component type.
static const char *const typeName
pTraits(const Base &obj)
Copy construct from base class.
Direction is an 8-bit unsigned integer type used to represent Cartesian directions,...
OBJstream os(runTime.globalPath()/outputName)
Ostream & operator<<(Ostream &, const boundaryPatch &p)
Write boundaryPatch as dictionary entries (without surrounding braces).
Istream & operator>>(Istream &, directionInfo &)
bool readBool(Istream &is)
Read bool from stream using Foam::Switch(Istream&).