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 readInt64(
const char* buf, int64_t& val);
101 inline bool readInt64(
const std::string& str, int64_t& val)
108 inline bool read(
const char* buf, int64_t& val)
115 inline bool read(
const std::string& str, int64_t& val)
121 Istream&
operator>>(Istream& is, int64_t& val);
122 Ostream&
operator<<(Ostream& os,
const int64_t val);
127 #if defined(__APPLE__)
129 Ostream&
operator<<(Ostream& os,
const long val);
165 static const char*
const componentNames[];
177 explicit pTraits(
const int64_t& val);
186 operator int64_t()
const
199 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 Cartesian directions,...
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.