|
label | readLabel (const char *buf) |
| Parse entire buffer as a label, skipping leading/trailing whitespace. More...
|
|
label | readLabel (const std::string &str) |
| Parse entire string as a label, skipping leading/trailing whitespace. More...
|
|
bool | readLabel (const char *buf, label &val) |
| Parse entire buffer as a label, skipping leading/trailing whitespace. More...
|
|
bool | readLabel (const std::string &str, label &val) |
| Parse entire string as a label, skipping leading/trailing whitespace. More...
|
|
label | readLabel (Istream &is) |
| Read label from stream. More...
|
|
label | readRawLabel (Istream &is) |
| Read raw label from binary stream. More...
|
|
void | readRawLabel (Istream &is, label *data, size_t nElem=1) |
| Read raw label(s) from binary stream. More...
|
|
label | pow (label a, label b) |
| Raise one label to the power of another. More...
|
|
label | factorial (label n) |
| Evaluate n! : 0 < n <= 12. More...
|
|
label & | setComponent (label &val, const direction) noexcept |
| Non-const access to integer-type (has no components) More...
|
|
constexpr label | component (const label val, const direction) noexcept |
| Return integer value (has no components) More...
|
|
template<class T > |
bool | equal (const T &a, const T &b) |
| Compare two values for equality. More...
|
|
template<class T > |
T | clamp (const T &val, const T &lower, const T &upper) |
| Return value clamped between upper and lower limits. More...
|
|
int32_t | narrowInt32 (const int64_t val) |
| Type narrowing from int64_t to int32_t. More...
|
|
Original source file label.H
Definition in file label.H.