Go to the documentation of this file.
63 return word(std::to_string(
val),
false);
72 return word(std::to_string(
val),
false);
106 inline bool read(
const char* buf, uint32_t&
val)
113 inline bool read(
const std::string& str, uint32_t&
val)
149 static const char*
const componentNames[];
151 static const uint32_t
one;
152 static const uint32_t
min;
153 static const uint32_t
max;
170 operator uint32_t()
const
static const uint32_t max
label ListType::const_reference val
A class for handling words, derived from Foam::string.
bool read(const char *buf, int32_t &val)
Same as readInt32.
static const uint32_t one
Istream & operator>>(Istream &, directionInfo &)
uint32_t readUint32(Istream &is)
Read uint32_t from stream.
static const char *const typeName
static const uint32_t rootMax
word operator()(const uint32_t val) const
static const uint32_t rootMin
An Istream is an abstract base class for all input systems (streams, files, token lists etc)....
pTraits(const PrimitiveType &p)
Construct from primitive.
word name(const complex &c)
Return string representation of complex.
static const uint32_t min
Extract name (as a word) from an object, typically using its name() method.
Direction is an 8-bit unsigned integer type used to represent the Cartesian directions etc.
uint32_t cmptType
Component type.
Traits class for primitives.
static const uint32_t zero
Ostream & operator<<(Ostream &, const boundaryPatch &)