Earth Observation Mission CFI Software DataHandling Software User Manual |
Class for reading/writing Two Line Elements file. More...
Public Member Functions | |
TleFile () | |
Empty constructor. | |
TleFile (string fileNam) | |
Constructor with file name. | |
~TleFile () | |
Destructor. | |
void | read (string satellite) throw (CfiError) |
Read the TLE file. | |
void | write (string fileNam, vector< TleRec > &tleData) throw (CfiError) |
Write the file. | |
Public Attributes | |
vector< TleRec > | tleRec |
Vector of TLE. |
Class for reading/writing Two Line Elements file.
EECFI::TleFile::TleFile | ( | ) |
Empty constructor.
References EECFI::EEFile::fileType.
EECFI::TleFile::TleFile | ( | string | fileNam | ) |
Constructor with file name.
EECFI::TleFile::~TleFile | ( | ) |
Destructor.
References EECFI::EEFile::fixedHeader, and tleRec.
void EECFI::TleFile::read | ( | string | satellite | ) | throw (CfiError) |
Read the TLE file.
satellite | name as it appears in line 0 for a TLE; if it is empty (""), the whole file is read, otherwise only the lines for the specified satellite. |
Write the file.
fileNam | Name of the file to write. | |
tleData | Vector of TLE. |
References EECFI::CfiError::addMsg().
vector<TleRec> EECFI::TleFile::tleRec |
Vector of TLE.
Referenced by ~TleFile().