Go to the documentation of this file.
63 return word(std::to_string(val),
false);
73 return word(std::to_string(val),
false);
96 bool readInt64(
const char* buf, int64_t& val);
100 inline bool readInt64(
const std::string& str, int64_t& val)
107 inline bool read(
const char* buf, int64_t& val)
114 inline bool read(
const std::string& str, int64_t& val)
120 Istream&
operator>>(Istream& is, int64_t& val);
121 Ostream&
operator<<(Ostream& os,
const int64_t val);
126 #if defined(__APPLE__)
128 Ostream&
operator<<(Ostream& os,
const long val);
164 static const char*
const componentNames[];
176 explicit pTraits(
const int64_t& val);
185 operator int64_t()
const
198 inline int64_t
mag(
const int64_t val)
word operator()(const int64_t val) const
A class for handling words, derived from Foam::string.
bool read(const char *buf, int32_t &val)
Same as readInt32.
static const int64_t rootMax
Istream & operator>>(Istream &, directionInfo &)
static const int64_t zero
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)....
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 the Cartesian directions etc.
Traits class for primitives.
dimensioned< typename typeOfMag< Type >::type > mag(const dimensioned< Type > &dt)
int64_t magType
Magnitude type.
static const int64_t rootMin
int64_t cmptType
Component type.
static const char *const typeName
int64_t readInt64(Istream &is)
Read int64_t from stream.