DEIMOS
Earth Observation Mission CFI Software
DataHandling Software User Manual
ESA

EECFI::OrbitFile Class Reference

Class for reading/writing orbit files. More...

Inheritance diagram for EECFI::OrbitFile:
EECFI::EEFile EECFI::CfiClass

List of all members.

Public Member Functions

 OrbitFile ()
 Empty constructor.
 OrbitFile (const string fileNam)
 Constructor with file name.
 ~OrbitFile ()
 Destructor.
void read (const bool readFroFlag, const bool readingOsvFlag) throw (CfiError)
 Read the whole file data block.
void read (const bool readFroFlag, const double startRange, const double stopRange, const bool readingOsvFlag) throw (CfiError)
 Read the file data block between startRange and stopRange in orbits.
void read (const bool readFroFlag, const long timeRef, const double startRange, const double stopRange, const bool readingOsvFlag) throw (CfiError)
 Read the file data block between startRange and stopRange in days.
void write (const string fileNam, FixedHeader &fixedHead, vector< OsvRec > &osvData) throw (CfiError)
 Write the file.

Public Attributes

vector< OsvRecosvRec
 Vector of state vectors.

Detailed Description

Class for reading/writing orbit files.


Constructor & Destructor Documentation

EECFI::OrbitFile::OrbitFile (  ) 

Empty constructor.

References EECFI::EEFile::fileType.

EECFI::OrbitFile::OrbitFile ( const string  fileNam  ) 

Constructor with file name.

EECFI::OrbitFile::~OrbitFile (  ) 

Destructor.

References EECFI::EEFile::fixedHeader, and osvRec.


Member Function Documentation

void EECFI::OrbitFile::read ( const bool  readFroFlag,
const bool  readingOsvFlag 
) throw (CfiError)

Read the whole file data block.

Parameters:
readFroFlag Type of input file: "true" for ROF and DORIS files "false" for POF files.
readingOsvFlag Select if state vectors are read (true) or only times and orbit numbers (false).
void EECFI::OrbitFile::read ( const bool  readFroFlag,
const double  startRange,
const double  stopRange,
const bool  readingOsvFlag 
) throw (CfiError)

Read the file data block between startRange and stopRange in orbits.

Parameters:
readFroFlag Type of input file: "true" for ROF and DORIS files "false" for POF files.
readingOsvFlag Select of state vectors are read (true) or only times and orbit numbers (false).
startRange Start orbit.
stopRange Stop orbit.
void EECFI::OrbitFile::read ( const bool  readFroFlag,
const long  timeRef,
const double  startRange,
const double  stopRange,
const bool  readingOsvFlag 
) throw (CfiError)

Read the file data block between startRange and stopRange in days.

Parameters:
readFroFlag Type of input file: "true" for ROF and DORIS files "false" for POF files.
readingOsvFlag Select of state vectors are read (true) or only times and orbit numbers (false).
startRange Start day.
stopRange Stop day.
timeRef Time reference.
void EECFI::OrbitFile::write ( const string  fileNam,
FixedHeader fixedHead,
vector< OsvRec > &  osvData 
) throw (CfiError)

Write the file.

Parameters:
fileNam Name of the file to write.
fixedHead FixedHeader object with fixed header data.
osvData Vector of state vectors.

Member Data Documentation

Vector of state vectors.

Referenced by ~OrbitFile().


Generated on Thu Jul 15 2010 10:10:40 for by doxygen 1.7.1