Earth Observation Mission CFI Software DataHandling Software User Manual |
Class for reading/writing Orbit Scenario files. More...
Public Member Functions | |
OsfFile () | |
Empty constructor. | |
OsfFile (const string fileNam) | |
Constructor with file name. | |
~OsfFile () | |
Destructor. | |
void | read () throw (CfiError) |
Read the file data block. | |
void | write (const string fileNam, FixedHeader &fixedHead, vector< OsfRec > &osfData) throw (CfiError) |
Write the file. | |
void | write (FixedHeader &fixedHead, vector< OsfRec > &osfData) throw (CfiError) |
Write the file using the existing fileName. | |
long | xsltAdd () throw (CfiError) |
Add xslt reference with default stylesheet. | |
Public Attributes | |
vector< OsfRec > | osfRec |
Vector of state vectors. |
Class for reading/writing Orbit Scenario files.
EECFI::OsfFile::OsfFile | ( | ) |
Empty constructor.
References EECFI::EEFile::fileType.
EECFI::OsfFile::OsfFile | ( | const string | fileNam | ) |
Constructor with file name.
EECFI::OsfFile::~OsfFile | ( | ) |
Destructor.
References EECFI::EEFile::fixedHeader, and osfRec.
void EECFI::OsfFile::read | ( | ) | throw (CfiError) |
Read the file data block.
References EECFI::EEFile::fileName, EECFI::MlstNonlinearDrift::linearApproxValidity, EECFI::MlstNonlinearDrift::mlstHarmonics, osfRec, EECFI::MlstNonlinearDrift::quadraticTerm, and EECFI::CfiClass::throwWarn.
void EECFI::OsfFile::write | ( | const string | fileNam, | |
FixedHeader & | fixedHead, | |||
vector< OsfRec > & | osfData | |||
) | throw (CfiError) |
Write the file.
fileNam | Name of the file to write. | |
fixedHead | FixedHeader object with fixed header data. | |
osfData | Vector of orbit scenario records. |
void EECFI::OsfFile::write | ( | FixedHeader & | fixedHead, | |
vector< OsfRec > & | osfData | |||
) | throw (CfiError) |
Write the file using the existing fileName.
fixedHead | FixedHeader object with fixed header data. | |
osfData | Vector of orbit scenario records. |
long EECFI::OsfFile::xsltAdd | ( | ) | throw (CfiError) |
Add xslt reference with default stylesheet.
References EECFI::EEFile::fileName.
vector<OsfRec> EECFI::OsfFile::osfRec |
Vector of state vectors.
Referenced by read(), and ~OsfFile().