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_;
An Istream is an abstract base class for all input systems (streams, files, token lists etc)....
An Ostream is an abstract base class for all output systems (streams, files, token lists,...
A 29bits label and 3bits direction packed into single label.
void setBits(const direction bits)
labelBits(Istream &is)
Construct from Istream.
friend bool operator!=(const labelBits &a, const labelBits &b)
labelBits(const label val, const direction bits)
Construct from components.
friend Ostream & operator<<(Ostream &os, const labelBits &lb)
labelBits()
Construct null.
friend Istream & operator>>(Istream &is, labelBits &lb)
friend bool operator==(const labelBits &a, const labelBits &b)
void setVal(const label val)
Direction is an 8-bit unsigned integer type used to represent Cartesian directions,...
#define FatalErrorInFunction
Report an error message using Foam::FatalError.
OBJstream os(runTime.globalPath()/outputName)
errorManip< error > abort(error &err)