64 <<
"Direction " <<
bits <<
" outside range 0..7"
65 <<
" or value " <<
val <<
" negative or larger than "
66 <<
label(8*
sizeof(
label)-3) <<
" bit representation"
123 return a.data_ ==
b.data_;
135 return is >> lb.data_;
140 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)
friend bool operator!=(const labelBits &a, const labelBits &b)
labelBits()
Construct null.
friend Ostream & operator<<(Ostream &os, const labelBits &lb)
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 the Cartesian directions etc.
#define FatalErrorInFunction
Report an error message using Foam::FatalError.
intWM_LABEL_SIZE_t label
A label is an int32_t or int64_t as specified by the pre-processor macro WM_LABEL_SIZE.
errorManip< error > abort(error &err)