Go to the documentation of this file.
45 unsigned exponent,
unsigned width,
char expChar,
47 : val(d), leadChar(lead), mantissaLen(mantissa), exponentLen(exponent),
48 totalLen(width), exponentChar(expChar), leadSign(sign),
56 : val(0), leadChar(StringUtils::
FFLead::
NonZero), mantissaLen(0),
57 exponentLen(2), totalLen(width), exponentChar(expChar),
66 : val(0), leadChar(StringUtils::
FFLead::
NonZero), mantissaLen(0),
67 exponentLen(2), totalLen(width), exponentChar(expChar),
85 if (
pos != std::string::npos)
89 std::istringstream iss(copy);
97 std::istringstream iss(s);
124 if (
pos != std::string::npos)
128 std::istringstream iss(str);
145 s <<
"FormattedDouble(" <<
val <<
"," <<
static_cast<int>(
leadChar) <<
","
148 <<
static_cast<int>(
alignment) <<
")" << std::endl;
@ Left
Formatted output will be left-aligned.
std::istream & operator>>(FFStream &i, FFData &f)
FFLead
Leading character for floatFormat(), after any whitespace or sign.
std::string floatFormat(double d, FFLead lead, unsigned mantissa, unsigned exponent, unsigned width, char expChar, FFSign sign, FFAlign align)
@ NegOnly
Prefix output with a minus sign (neg) or nothing (pos)
std::ostream & operator<<(std::ostream &s, const ObsEpoch &oe) noexcept
@ NonZero
Start with the first non-zero digit, e.g. 1.2345.
FFSign
How to handle sign in floatFormat()
FFAlign
Alignment of data for floatFormat()
gnsstk
Author(s):
autogenerated on Wed Oct 25 2023 02:40:39