Go to the documentation of this file.
63 return word(std::to_string(val),
false);
72 return word(std::to_string(val),
false);
95 bool readUint32(
const char* buf, uint32_t& val);
99 inline bool readUint32(
const std::string& str, uint32_t& val)
106 inline bool read(
const char* buf, uint32_t& val)
113 inline bool read(
const std::string& str, uint32_t& val)
119 Istream&
operator>>(Istream& is, uint32_t& val);
120 Ostream&
operator<<(Ostream& os,
const uint32_t val);
151 static const char*
const componentNames[];
153 static const uint32_t
one;
154 static const uint32_t
min;
155 static const uint32_t
max;
163 explicit pTraits(
const uint32_t& val);
172 operator uint32_t()
const
static const uint32_t max
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
Ostream & operator<<(Ostream &, const boundaryPatch &p)
Write boundaryPatch as dictionary entries (without surrounding braces)
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)
Copy 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