43 #ifndef Foam_boolVector_H 44 #define Foam_boolVector_H 87 void front() =
delete;
102 inline boolVector(
const bool vx,
const bool vy,
const bool vz);
132 inline
unsigned int count(const
bool on=true) const;
138 bool x() const
noexcept {
return get<0>(); }
141 bool y() const
noexcept {
return get<1>(); }
144 bool z() const
noexcept {
return get<2>(); }
bool none() const noexcept
True if no components are set.
boolVector & operator=(const boolVector &)=default
Copy assignment.
A 1D vector of objects of type <T> with a fixed length <N>.
bool y() const noexcept
The y component.
An Istream is an abstract base class for all input systems (streams, files, token lists etc)...
void back()=delete
The back() accessor (from FixedList) has no purpose.
boolVector()
Default construct, zero-initialized (ie, false)
void front()=delete
The front() accessor (from FixedList) has no purpose.
bool x() const noexcept
The x component.
Specialized bundling of boolean values as a vector of 3 components, element access using x()...
bool all() const noexcept
True if all components are set.
components
Component labeling enumeration.
A template class to specify that a data type can be considered as being contiguous in memory...
void flip()
Invert all values.
bool z() const noexcept
The z component.
bool any() const noexcept
True if any components are set.
unsigned int count(const bool on=true) const
Count number of items set.
static constexpr direction rank
Rank of a vector is 1.