Go to the documentation of this file.
45 const std::string& fmt )
56 gnsstk::InvalidRequest ir(
"Incomplete time specification." );
60 catch( gnsstk::StringUtils::StringException&
se )
67 const std::string& fmt,
80 while( !s.empty() && !f.empty() )
95 if ( s.empty() || f.empty() )
101 std::string::size_type fieldLength = std::string::npos;
105 std::cout <<
"--------------" << std::endl
106 <<
"f:\"" << f <<
"\"" << std::endl
107 <<
"s:\"" << s <<
"\"" << std::endl;
109 if( !isalpha( f[0] ) )
114 fieldLength =
asInt( f );
118 while ( !f.empty() && !isalpha( f[0] ) )
134 fieldLength = s.find( delimiter, 0 );
147 std::string value( s.substr( 0, fieldLength ) );
150 info[ f[0] ] = value;
166 catch( gnsstk::StringUtils::StringException&
se )
173 gnsstk::StringUtils::StringException
174 exc(
"Failed to process time string");
213 InvalidRequest exc(
"TimeTag objects not in same time system,"
214 " cannot be compared");
long asInt(const std::string &s)
double se
obliquity cos, T*cos, sin coefficients
@ Any
wildcard; allows comparison with any other type
std::string & stripLeading(std::string &s, const std::string &aString, std::string::size_type num=std::string::npos)
std::ostream & operator<<(std::ostream &s, const ObsEpoch &oe) noexcept
TimeSystem
Definition of various time systems.
#define GNSSTK_RETHROW(exc)
#define GNSSTK_THROW(exc)
bool changeTimeSystem(TimeSystem timeSystem, TimeSystemConverter *conv)
gnsstk
Author(s):
autogenerated on Wed Oct 25 2023 02:40:42