Go to the documentation of this file.
96 inline boolVector(
const bool vx,
const bool vy,
const bool vz);
109 inline bool all()
const;
114 inline bool any()
const;
119 inline bool none()
const;
126 inline unsigned int count(
const bool on=
true)
const;
132 inline bool x()
const;
135 inline bool y()
const;
138 inline bool z()
const;
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.
Specialized bundling of boolean values as a vector of 3 components, element access using x(),...
void flip()
Invert all values.
static constexpr direction rank
Rank of a vector is 1.
An Istream is an abstract base class for all input systems (streams, files, token lists etc)....
boolVector()
Default construct, zero-initialized (ie, false)
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.
components
Component labeling enumeration.
A template class to specify that a data type can be considered as being contiguous in memory.