Go to the documentation of this file.
67 for (
const bool val : *
this)
69 if (!val)
return false;
77 for (
const bool val : *
this)
93 unsigned int total = 0;
95 for (
const bool val : *
this)
121 for (
bool& val : *
this)
bool all() const
True if all components are set.
boolVector & operator=(const boolVector &)=default
Copy assignment.
bool none() const
True if no components are set.
void operator=(const T list[N])
Assignment to array operator. Takes linear time.
void flip()
Invert all values.
An Istream is an abstract base class for all input systems (streams, files, token lists etc)....
boolVector()
Default construct, zero-initialized (ie, false)
bool any(const UList< bool > &bools)
True if any entries are 'true'.
bool z() const
The z component.
A 1D vector of objects of type <T> with a fixed length <N>.
bool x() const
The x component.
bool any() const
True if any components are set.
bool y() const
The y component.
unsigned int count(const bool on=true) const
Count number of items set.