Earth Observation Mission CFI Software DataHandling Software User Manual |
Class for reading star files. More...
Public Member Functions | |
StarFile () | |
Empty constructor. | |
StarFile (const string fileNam) | |
Constructor with file name. | |
~StarFile () | |
Destructor. | |
void | read () throw (CfiError) |
Read the whole file. | |
void | read (const string zoneIdentity) throw (CfiError) |
Read one star. | |
vector< string > | readIds () throw (CfiError) |
Read the list of star names. | |
Public Attributes | |
vector< StarRec > | starRec |
Class for reading star files.
EECFI::StarFile::StarFile | ( | ) |
Empty constructor.
References EECFI::EEFile::fileType.
EECFI::StarFile::StarFile | ( | const string | fileNam | ) |
Constructor with file name.
EECFI::StarFile::~StarFile | ( | ) |
Destructor.
References EECFI::EEFile::fixedHeader.
void EECFI::StarFile::read | ( | ) | throw (CfiError) |
Read the whole file.
References EECFI::EEFile::fileName, EECFI::StarRec::flag, EECFI::StarRec::muDec, EECFI::StarRec::muRa, EECFI::StarRec::par, EECFI::StarRec::radVel, EECFI::StarRec::starDec, EECFI::StarRec::starId, EECFI::StarRec::starRa, starRec, and EECFI::CfiClass::throwWarn.
void EECFI::StarFile::read | ( | const string | starIdentity | ) | throw (CfiError) |
Read one star.
starIdentity | Identity of the star to read. |
References EECFI::StarRec::flag, EECFI::StarRec::muDec, EECFI::StarRec::muRa, EECFI::StarRec::par, EECFI::StarRec::radVel, EECFI::StarRec::starDec, EECFI::StarRec::starId, and EECFI::StarRec::starRa.
vector< string > EECFI::StarFile::readIds | ( | ) | throw (CfiError) |
Read the list of star names.
References EECFI::EEFile::fileName, and EECFI::CfiClass::throwWarn.
vector<StarRec> EECFI::StarFile::starRec |
Referenced by read().