Formatted file I/O


Classes

class  AntexReader
 This is a class to read and parse antenna data in Antex file format. More...
class  BLQDataReader
 This is a class to read and parse ocean tides harmonics data in BLQ file format. More...
class  ConfDataReader
 This is a class to parse and manage configuration data files. More...
class  ConfDataWriter
 This is a class to write configuration data files. More...
class  DCBDataReader
 This is a class to read and DCB(Differences of Code Biases) data file from CODE. More...
class  FFBinaryStream
 This is an FFStream that is required to be binary. More...
class  FFData
 This is the base class for all Formatted File Data (FFData). More...
class  EndOfFile
 This gets thrown if a valid EOF occurs on formattedGetLine. More...
class  FFStream
 Formatted File Stream (FFStream). More...
class  FFStreamError
 FFStreamError is an exception for when the file read doesn't match the specs for that file type. More...
class  FFTextStream
 An FFStream is meant for reading text. More...
class  SatDataReader
 This is a class to read and parse satellite data from PRN_GPS-like files. More...

Functions

std::ostream & gpstk::operator<< (std::ostream &s, const AntexReader &antread)
 Operator << for AntexReader.
void gpstk::FFTextStream::formattedGetLine (std::string &line, const bool expectEOF=false) throw (EndOfFile, FFStreamError, gpstk::StringUtils::StringException)
 Like std::istream::getline but checks for EOF and removes '/r'.


Function Documentation

void formattedGetLine std::string &  line,
const bool  expectEOF = false
throw (EndOfFile, FFStreamError, gpstk::StringUtils::StringException) [inline, inherited]
 

Like std::istream::getline but checks for EOF and removes '/r'.

Also increments lineNumber. When expectEOF is true and EOF is found, an gpstk::EndOfFile exception is thrown. If expectEOF is false and an EOF is encountered, an gpstk::FFStreamError is thrown.

Parameters:
line is set to the value of the line read from the file.
expectEOF set true if finding EOF on this read is acceptable.
Exceptions:
EndOfFile if expectEOF is true and an EOF is encountered.
FFStreamError if EOF is found and expectEOF is false
gpstk::StringUtils::StringException when a string error occurs or if any other error happens.
Warning:
There is a maximum line length of 1500 characters when using this function.

Definition at line 196 of file FFTextStream.hpp.

References GPSTK_THROW, and gpstk::StringUtils::stripTrailing().

Referenced by YumaData::reallyGetRecord(), SP3Header::reallyGetRecord(), SP3Data::reallyGetRecord(), SMODFData::reallyGetRecord(), SEMHeader::reallyGetRecord(), SEMData::reallyGetRecord(), RinexObsHeader::reallyGetRecord(), RinexObsData::reallyGetRecord(), RinexNavHeader::reallyGetRecord(), RinexNavData::reallyGetRecord(), RinexMetHeader::reallyGetRecord(), RinexMetData::reallyGetRecord(), RinexClockHeader::reallyGetRecord(), RinexClockData::reallyGetRecord(), Rinex3ObsHeader::reallyGetRecord(), Rinex3ObsData::reallyGetRecord(), Rinex3NavHeader::reallyGetRecord(), Rinex3ClockHeader::reallyGetRecord(), Rinex3ClockData::reallyGetRecord(), MSCData::reallyGetRecord(), IonexHeader::reallyGetRecord(), IonexData::reallyGetRecord(), FICHeader::reallyGetRecord(), FICData::reallyGetRecord(), AntexHeader::reallyGetRecord(), AntexData::reallyGetRecord(), and gpstk::reallyGetRecordVer2().

std::ostream& operator<< std::ostream &  s,
const AntexReader &  antread
[inline]
 

Operator << for AntexReader.

Definition at line 385 of file AntexReader.hpp.


Generated on Wed May 22 03:31:43 2013 for GPS ToolKit Software Library by  doxygen 1.3.9.1