Go to the documentation of this file.
41 const label len = this->size();
48 for (label i=0; i < len; ++i)
50 const T* ptr = (*this)[i];
58 <<
"cannot dereference nullptr at index " << i
59 <<
" in range [0," << len <<
")"
Ostream & incrIndent(Ostream &os)
Increment the indent level.
OBJstream os(runTime.globalPath()/outputName)
Ostream & decrIndent(Ostream &os)
Decrement the indent level.
errorManip< error > abort(error &err)
Ostream & indent(Ostream &os)
Indent stream.
Ostream & write(Ostream &os, const bool trimNull=false) const
Write output, optionally silently trimming nullptrs.
#define FatalErrorInFunction
Report an error message using Foam::FatalError.
unsigned int count(const UList< bool > &bools, const bool val=true)
Count number of 'true' entries.
An Ostream is an abstract base class for all output systems (streams, files, token lists,...