Earth Observation Mission CFI Software DataHandling Software User Manual |
Class for reading Station files. More...
Public Member Functions | |
StationFile () | |
Default constructor. | |
StationFile (const std::string &fileNam) | |
Constructor with file name. | |
StationFile (const StationFile &other) | |
~StationFile () NOEXCEPT | |
Destructor. | |
StationFile & | operator= (const StationFile &other) |
void | read () |
Read the whole file data block. | |
void | read (const std::string &stationIdentity) |
Read one station. | |
void | readIds (std::vector< std::string > &stationIds) |
Read the list of station names. | |
Public Attributes | |
std::vector< StationRec > | stationList |
Stations records. |
Class for reading Station files.
EECFI::StationFile::StationFile | ( | ) |
Default constructor.
EECFI::StationFile::StationFile | ( | const std::string & | fileNam | ) | [explicit] |
Constructor with file name.
EECFI::StationFile::StationFile | ( | const StationFile & | other | ) |
Copy constructor.
other | The StationFile to copy from |
EECFI::StationFile::~StationFile | ( | ) |
Destructor.
StationFile & EECFI::StationFile::operator= | ( | const StationFile & | other | ) |
Copy assigment operator.
other | The StationFile to copy/assign from |
References stationList.
void EECFI::StationFile::read | ( | ) |
Read the whole file data block.
References EECFI::StationRec::antenna, EECFI::StationRec::azimuth, EECFI::StationRec::descriptor, EECFI::StationRec::elevation, EECFI::EEFile::fileName, EECFI::StationRec::latMax, EECFI::StationRec::latMin, EECFI::StationRec::longMax, EECFI::StationRec::longMin, EECFI::StationRec::missionAosEl, EECFI::StationRec::missionList, EECFI::StationRec::missionLosEl, EECFI::StationRec::missionMaskType, EECFI::StationRec::missionName, EECFI::StationRec::numMaskPt, EECFI::StationRec::points, EECFI::StationRec::projLat, EECFI::StationRec::projLong, EECFI::StationRec::purpose, EECFI::StationRec::stationAlt, EECFI::StationRec::stationId, EECFI::StationRec::stationLat, stationList, EECFI::StationRec::stationLong, EECFI::CfiClass::throwWarn, and EECFI::StationRec::type.
void EECFI::StationFile::read | ( | const std::string & | stationIdentity | ) |
Read one station.
stationIdentity | Identity of the station to read. |
References EECFI::EEFile::fileName, stationList, and EECFI::CfiClass::throwWarn.
void EECFI::StationFile::readIds | ( | std::vector< std::string > & | stationIds | ) |
Read the list of station names.
stationIds | [OUTPUT]: is an output vector with the name of the stations in the file. |
References EECFI::EEFile::fileName, and EECFI::CfiClass::throwWarn.
std::vector<StationRec> EECFI::StationFile::stationList |
Stations records.
Referenced by operator=(), and read().