| Earth Observation Mission CFI Software DataHandling Software User Manual |

Public Member Functions | Public Attributes

# EECFI::TleFile Class Reference

Class for reading/writing Two Line Elements file. More...

Inheritance diagram for EECFI::TleFile:

List of all members.

## 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.

## Detailed Description

Class for reading/writing Two Line Elements file.

## Constructor & Destructor Documentation

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.

## Member Function Documentation

void EECFI::TleFile::read | ( | string | satellite | ) | throw (CfiError)

Read the TLE file.

Parameters:

  | 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.

void EECFI::TleFile::write | ( | string | fileNam,
|  | vector< TleRec > & | tleData |
| ) |  |  | throw (CfiError)

Write the file.

Parameters:

  | fileNam | Name of the file to write.
  | tleData | Vector of TLE.

References EECFI::CfiError::addMsg().

## Member Data Documentation

vector<TleRec> EECFI::TleFile::tleRec

Vector of TLE.

Referenced by ~TleFile().