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);
138 operator uint8_t()
const
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)....
pTraits(const PrimitiveType &p)
Copy construct from primitive.
word name(const complex &c)
Return string representation of complex.
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
Traits class for primitives.
static const uint8_t rootMax