Go to the documentation of this file.
39 #ifndef GNSSTK_YDSTIME_HPP
40 #define GNSSTK_YDSTIME_HPP
42 #include "gnsstk_export.h"
137 virtual std::string
printf(
const std::string& fmt )
const;
141 virtual std::string
printError(
const std::string& fmt )
const;
161 return "%04Y/%03j %s %P";
166 virtual void reset();
205 #endif // GNSSTK_YDSTIME_HPP
virtual void convertFromCommonTime(const CommonTime &ct)
virtual std::string printError(const std::string &fmt) const
YDSTime(const TimeTag &right)
bool operator==(const YDSTime &right) const
virtual void reset()
Reset this object to the default state.
bool operator>=(const YDSTime &right) const
@ Unknown
unknown time frame; for legacy code compatibility
virtual bool isValid() const
Returns true if this object's members are valid, false otherwise.
YDSTime & operator=(const YDSTime &right)
page HOWTO subpage DoxygenGuide Documenting Your Code page DoxygenGuide Documenting Your Code todo Flesh out this document section doctips Tips for Documenting When defining make sure that the prototype is identical between the cpp and hpp including both the namespaces and the parameter names for you have std::string as the return type in the hpp file and string as the return type in the cpp Doxygen may get confused and autolink to the cpp version with no documentation If you don t use the same parameter names between the cpp and hpp that will also confuse Doxygen Don t put type information in return or param documentation It doesn t really add anything and will often cause Doxygen to complain and not produce the documentation< br > use note Do not put a comma after a param name unless you mean to document multiple parameters< br/> the output stream</code >< br/> y
virtual ~YDSTime()
Virtual Destructor.
YDSTime(long y=0, long d=0, double s=0., TimeSystem ts=TimeSystem::Unknown)
YDSTime(const YDSTime &right)
static const GNSSTK_EXPORT YDSTime BEGIN_TIME
virtual std::string getPrintChars() const
bool operator<(const YDSTime &right) const
TimeSystem
Definition of various time systems.
virtual bool setFromInfo(const IdToValue &info)
virtual CommonTime convertToCommonTime() const
virtual std::string getDefaultFormat() const
Return a string containing the default format to use in printing.
bool operator<=(const YDSTime &right) const
bool operator>(const YDSTime &right) const
YDSTime(const CommonTime &right)
std::ostream & operator<<(std::ostream &s, const gnsstk::YDSTime &yt)
bool operator!=(const YDSTime &right) const
virtual std::string printf(const std::string &fmt) const
gnsstk
Author(s):
autogenerated on Wed Oct 25 2023 02:40:42