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;
A 1D vector of objects of type <T> with a fixed length <N>.
An Istream is an abstract base class for all input systems (streams, files, token lists etc)....
Specialized bundling of boolean values as a vector of 3 components, element access using x(),...
unsigned int count(const bool on=true) const
Count number of items set.
void flip()
Invert all values.
components
Component labeling enumeration.
boolVector(const boolVector &)=default
Copy construct.
bool none() const
True if no components are set.
static constexpr direction rank
Rank of a vector is 1.
boolVector(boolVector &&)=default
Move construct.
boolVector & operator=(const boolVector &)=default
Copy assignment.
bool & z()
The z component.
bool all() const
True if all components are set.
boolVector & operator=(boolVector &&)=default
Move assignment.
boolVector()
Default construct, zero-initialized (ie, false)
bool & y()
The y component.
bool any() const
True if any components are set.
bool & x()
The x component.
A template class to specify that a data type can be considered as being contiguous in memory.