Go to the documentation of this file.
66 <<
"Direction " <<
bits <<
" outside range 0..7"
67 <<
" or value " <<
val <<
" negative or larger than "
68 << label(8*
sizeof(label)-3) <<
" bit representation"
100 inline label
val()
const
125 return a.data_ ==
b.data_;
137 return is >> lb.data_;
142 return os << lb.data_;
friend bool operator!=(const labelBits &a, const labelBits &b)
A 29bits label and 3bits direction packed into single label.
labelBits()
Construct null.
labelBits(const label val, const direction bits)
Construct from components.
friend Istream & operator>>(Istream &is, labelBits &lb)
const dimensionedScalar b
Wien displacement law constant: default SI units: [m.K].
An Istream is an abstract base class for all input systems (streams, files, token lists etc)....
friend bool operator==(const labelBits &a, const labelBits &b)
void setBits(const direction bits)
labelBits(Istream &is)
Construct from Istream.
OBJstream os(runTime.globalPath()/outputName)
errorManip< error > abort(error &err)
Direction is an 8-bit unsigned integer type used to represent Cartesian directions,...
void setVal(const label val)
#define FatalErrorInFunction
Report an error message using Foam::FatalError.
An Ostream is an abstract base class for all output systems (streams, files, token lists,...
friend Ostream & operator<<(Ostream &os, const labelBits &lb)