Go to the documentation of this file.
64 return word(std::to_string(val),
false);
74 return word(std::to_string(val),
false);
97 bool readInt32(
const char* buf, int32_t& val);
101 inline bool readInt32(
const std::string& str, int32_t& val)
108 inline bool read(
const char* buf, int32_t& val)
115 inline bool read(
const std::string& str, int32_t& val)
121 Istream&
operator>>(Istream& is, int32_t& val);
128 #if (__SIZEOF_LONG__ == 4)
166 static const char*
const componentNames[];
178 explicit pTraits(
const int32_t& val) noexcept;
187 operator int32_t() const noexcept
193 operator int32_t&() noexcept
200 inline int32_t
mag(
const int32_t val)
pTraits(const Base &obj)
Copy construct from base class.
static const int32_t zero
A class for handling words, derived from Foam::string.
bool read(const char *buf, int32_t &val)
Same as readInt32.
Istream & operator>>(Istream &, directionInfo &)
word operator()(const int32_t val) const
Ostream & operator<<(Ostream &, const boundaryPatch &p)
Write boundaryPatch as dictionary entries (without surrounding braces)
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.
int32_t cmptType
Component type.
OBJstream os(runTime.globalPath()/outputName)
int32_t readInt32(Istream &is)
Read int32_t from stream.
Direction is an 8-bit unsigned integer type used to represent Cartesian directions,...
int32_t magType
Magnitude type.
static const char *const typeName
A traits class, which is primarily used for primitives.
dimensioned< typename typeOfMag< Type >::type > mag(const dimensioned< Type > &dt)
word name(const expressions::valueTypeCode typeCode)
A word representation of a valueTypeCode. Empty for INVALID.
static const int32_t rootMin
static const int32_t rootMax