Go to the documentation of this file.
38 #ifndef primitives_uint8_H
39 #define primitives_uint8_H
63 return word(std::to_string(
int(val)),
false);
73 return word(std::to_string(
int(val)),
false);
117 static const char*
const componentNames[];
129 explicit pTraits(
const uint8_t& val) noexcept;
138 operator uint8_t()
const
pTraits(const Base &obj)
Copy construct from base class.
static const uint8_t zero
uint8_t cmptType
Component type.
A class for handling words, derived from Foam::string.
word operator()(const uint8_t val) const
uint8_t readUint8(Istream &is)
Read uint8_t from stream.
static const char *const typeName
An Istream is an abstract base class for all input systems (streams, files, token lists etc)....
Extract name (as a word) from an object, typically using its name() method.
Direction is an 8-bit unsigned integer type used to represent Cartesian directions,...
static const uint8_t rootMin
A traits class, which is primarily used for primitives.
static const uint8_t rootMax
word name(const expressions::valueTypeCode typeCode)
A word representation of a valueTypeCode. Empty for INVALID.