Reference documentation for deal.II version 9.2.0
\(\newcommand{\dealvcentcolon}{\mathrel{\mathop{:}}}\) \(\newcommand{\dealcoloneq}{\dealvcentcolon\mathrel{\mkern-1.2mu}=}\) \(\newcommand{\jump}[1]{\left[\!\left[ #1 \right]\!\right]}\) \(\newcommand{\average}[1]{\left\{\!\left\{ #1 \right\}\!\right\}}\)
Classes | Functions
component_mask.h File Reference
#include <deal.II/base/config.h>
#include <deal.II/base/exceptions.h>
#include <deal.II/base/memory_consumption.h>
#include <algorithm>
#include <iosfwd>
#include <vector>

Go to the source code of this file.

Classes

class  ComponentMask
 

Functions

std::ostream & operator<< (std::ostream &out, const ComponentMask &mask)
 

Function Documentation

◆ operator<<()

std::ostream& operator<< ( std::ostream &  out,
const ComponentMask mask 
)

Write a component mask to an output stream. If the component mask represents one where all components are selected without specifying a particular size of the mask, then it writes the string [all components selected] to the stream. Otherwise, it prints the component mask in a form like [true,true,true,false].

Parameters
outThe stream to write to.
maskThe mask to write.
Returns
A reference to the first argument.

Definition at line 25 of file component_mask.cc.