Class used to read and write the formatted data in a RINEX clock file.
Definition at line 65 of file RinexClockBase.hpp.
#include <RinexClockBase.hpp>
Public Member Functions | |
RCDouble & | operator= (const std::string &s) |
Assign a value by decoding a string using existing formatting. More... | |
RCDouble (double d) | |
Constructor for a value, with all defaults for format. More... | |
![]() | |
void | dump (std::ostream &s) const |
debug output all data members More... | |
FormattedDouble (const std::string &str, unsigned width=0, char expChar='e') | |
FormattedDouble (double d, StringUtils::FFLead lead, unsigned mantissa=0, unsigned exponent=2, unsigned width=0, char expChar='e', StringUtils::FFSign sign=StringUtils::FFSign::NegOnly, StringUtils::FFAlign align=StringUtils::FFAlign::Left) | |
FormattedDouble (unsigned width=0, char expChar='e') | |
operator double () const | |
Cast this object to a double for math and such. More... | |
operator double & () | |
Cast this object to a double for math and such. More... | |
operator std::string () | |
Cast this object to a string using formatting configuration. More... | |
FormattedDouble | operator* (double d) const |
FormattedDouble & | operator++ () |
Increment the value (prefix). More... | |
FormattedDouble | operator++ (int) |
Increment the value (postfix). More... | |
FormattedDouble & | operator-- () |
Decrement the value (prefix). More... | |
FormattedDouble | operator-- (int) |
Decrement the value (postfix). More... | |
FormattedDouble | operator/ (double d) const |
FormattedDouble & | operator= (const FormattedDouble &right)=default |
Copy assignment. More... | |
FormattedDouble & | operator= (const std::string &s) |
Assign a value by decoding a string using existing formatting. More... | |
FormattedDouble & | operator= (double d) |
Assign a value without affecting formatting. More... | |
Additional Inherited Members | |
![]() | |
StringUtils::FFAlign | alignment |
Alignment when padding with space. More... | |
char | exponentChar |
What character delimits the exponent. More... | |
unsigned | exponentLen |
How many digits of exponent. More... | |
StringUtils::FFLead | leadChar |
Leading non-space character. More... | |
StringUtils::FFSign | leadSign |
How to handle signs for positive val. More... | |
unsigned | mantissaLen |
How many digits of mantissa. More... | |
unsigned | totalLen |
Total width of space-padded value. More... | |
double | val |
The value as read or to be formatted. More... | |
|
inline |
Constructor for a value, with all defaults for format.
Definition at line 69 of file RinexClockBase.hpp.
Assign a value by decoding a string using existing formatting.
Definition at line 76 of file RinexClockBase.hpp.