Go to the documentation of this file.
64 return word(std::to_string(val),
false);
73 return word(std::to_string(val),
false);
89 inline uint32_t
readUint32(
const std::string& str)
96 bool readUint32(
const char* buf, uint32_t& val);
100 inline bool readUint32(
const std::string& str, uint32_t& val)
107 inline bool read(
const char* buf, uint32_t& val)
114 inline bool read(
const std::string& str, uint32_t& val)
120 Istream&
operator>>(Istream& is, uint32_t& val);
134 typedef uint32_t cmptType;
146 static constexpr
direction nComponents = 1;
151 static const char*
const typeName;
152 static const char*
const componentNames[];
153 static const uint32_t
zero;
154 static const uint32_t
one;
155 static const uint32_t
min;
156 static const uint32_t
max;
157 static const uint32_t rootMax;
158 static const uint32_t rootMin;
164 explicit pTraits(
const uint32_t& val) noexcept;
173 operator uint32_t() const noexcept
179 operator uint32_t&() noexcept
static const uint32_t max
A class for handling words, derived from Foam::string.
bool read(const char *buf, int32_t &val)
static const uint32_t one
A class representing the concept of 1 (one) that can be used to avoid manipulating objects known to b...
Istream & operator>>(Istream &, directionInfo &)
uint32_t readUint32(Istream &is)
label min(const labelHashSet &set, label minValue=labelMax)
static const char *const typeName
static const uint32_t rootMax
Ostream & operator<<(Ostream &, const boundaryPatch &p)
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)....
static const uint32_t min
label max(const labelHashSet &set, label maxValue=labelMin)
OBJstream os(runTime.globalPath()/outputName)
Direction is an 8-bit unsigned integer type used to represent Cartesian directions,...
A traits class, which is primarily used for primitives.
word name(const expressions::valueTypeCode typeCode)
static const uint32_t zero
A class representing the concept of 0 (zero) that can be used to avoid manipulating objects known to ...