39#ifndef Foam_primitives_uLabel_H
40#define Foam_primitives_uLabel_H
47#define UINT_ADD_SIZE(x,s,y) x ## s ## y
48#define UINT_ADD_DEF_SIZE(x,s,y) UINT_ADD_SIZE(x,s,y)
49#define UINT_SIZE(x,y) UINT_ADD_DEF_SIZE(x,WM_LABEL_SIZE,y)
97inline bool readULabel(
const std::string& str, uLabel& val)
106uLabel
pow(uLabel a, uLabel
b);
132#undef UINT_ADD_DEF_SIZE
An Istream is an abstract base class for all input systems (streams, files, token lists etc)....
Typedefs for label/uLabel without requiring label.H.
void component(FieldField< Field, typename FieldField< Field, Type >::cmptType > &sf, const FieldField< Field, Type > &f, const direction d)
unsigned int readUint(Istream &is)
Read unsigned int from stream.
label & setComponent(label &val, const direction) noexcept
Non-const access to integer-type (has no components)
constexpr uLabel uLabelMax
dimensionedScalar pow(const dimensionedScalar &ds, const dimensionedScalar &expt)
label factorial(label n)
Evaluate n! : 0 < n <= 12.
uLabel readULabel(Istream &is)
Read uLabel from stream.