This class encapsulates all data in a SINEX file. The data in this class is organized into a list of Sinex::Block objects which contain individual lines of SINEX data. This class derives from FFData and thus can be read from or written to an FFStream.
Definition at line 67 of file SinexData.hpp.
#include <SinexData.hpp>
Public Member Functions | |
Data () | |
Constructor. More... | |
virtual void | dump (std::ostream &s) const |
Debug output function. More... | |
virtual bool | isData () const |
Data is "data" so this function always returns true. More... | |
virtual | ~Data () |
Destructor. More... | |
![]() | |
void | getRecord (FFStream &s) |
virtual bool | isHeader () const |
void | putRecord (FFStream &s) const |
virtual | ~FFData (void) |
virtual desctuctor More... | |
Static Public Member Functions | |
static bool | isValidBlockTitle (const std::string &block) |
Verifies that the specified block title is valid. More... | |
Public Attributes | |
Blocks | blocks |
Block storage. More... | |
Header | header |
Header. More... | |
Protected Member Functions | |
void | reallyGetRecord (FFStream &s) |
void | reallyPutRecord (FFStream &s) const |
Static Protected Member Functions | |
static void | initBlockFactory () |
Static Protected Attributes | |
static BlockFactory | blockFactory |
Mappings from block titles to create functions. More... | |
|
inline |
Constructor.
Definition at line 72 of file SinexData.hpp.
|
virtual |
Destructor.
Definition at line 108 of file SinexData.cpp.
|
virtual |
Debug output function.
Reimplemented from gnsstk::FFData.
Definition at line 305 of file SinexData.cpp.
|
staticprotected |
Initializes the block factory with mappings from block titles to create functions.
Already initialized ?
Definition at line 62 of file SinexData.cpp.
|
inlinevirtual |
Data is "data" so this function always returns true.
Reimplemented from gnsstk::FFData.
Definition at line 79 of file SinexData.hpp.
|
static |
Verifies that the specified block title is valid.
Definition at line 295 of file SinexData.cpp.
|
protectedvirtual |
This function reads a record from the given FFStream. If an error is encountered in retrieving the record, the stream is reset to its original position and its fail-bit is set.
std::exception | |
StringException | when a StringUtils function fails |
FFStreamError | when exceptions(failbit) is set and a read or formatting error occurs. This also resets the stream to its pre-read position. |
EOF possible
EOF possible
Implements gnsstk::FFData.
Definition at line 158 of file SinexData.cpp.
|
protectedvirtual |
Writes the formatted record to the FFStream.
std::exception | |
FFStreamError | |
StringUtils::StringException |
Implements gnsstk::FFData.
Definition at line 120 of file SinexData.cpp.
|
staticprotected |
Mappings from block titles to create functions.
Mappings of block titles to create functions.
Definition at line 96 of file SinexData.hpp.
Blocks gnsstk::Sinex::Data::blocks |
Block storage.
Definition at line 91 of file SinexData.hpp.
Header gnsstk::Sinex::Data::header |
Definition at line 88 of file SinexData.hpp.