Earth Observation Mission CFI Software DataHandling Software User Manual |
Class for reading zone files. More...
Public Member Functions | |
ZoneFile () | |
Default constructor. | |
ZoneFile (const std::string &fileNam) | |
Constructor with file name. | |
ZoneFile (const ZoneFile &other) | |
~ZoneFile () NOEXCEPT | |
Destructor. | |
ZoneFile & | operator= (const ZoneFile &other) |
void | read () |
Read the whole file data block. | |
void | read (const std::string &zoneIdentity) |
Read one zone. | |
std::vector< std::string > | readIds () const |
Read the list of zone names. | |
Public Attributes | |
std::vector< ZoneRec > | zoneRec |
List of zones. |
Class for reading zone files.
EECFI::ZoneFile::ZoneFile | ( | ) |
Default constructor.
EECFI::ZoneFile::ZoneFile | ( | const std::string & | fileNam | ) | [explicit] |
Constructor with file name.
EECFI::ZoneFile::ZoneFile | ( | const ZoneFile & | other | ) |
Copy constructor.
other | The ZoneFile to copy from |
EECFI::ZoneFile::~ZoneFile | ( | ) |
Destructor.
void EECFI::ZoneFile::read | ( | ) |
Read the whole file data block.
References EECFI::ZoneRec::creator, EECFI::ZoneRec::description, EECFI::EEFile::fileName, EECFI::ZoneRec::projection, EECFI::ZoneRec::surface, EECFI::CfiClass::throwWarn, EECFI::ZoneRec::zoneDiam, EECFI::ZoneRec::zoneId, EECFI::ZoneRec::zonePoint, zoneRec, and EECFI::ZoneRec::zoneType.
void EECFI::ZoneFile::read | ( | const std::string & | zoneIdentity | ) |
Read one zone.
zoneIdentity | Identity of the zone to read. |
References EECFI::ZoneRec::creator, EECFI::ZoneRec::description, EECFI::EEFile::fileName, EECFI::ZoneRec::projection, EECFI::ZoneRec::surface, EECFI::CfiClass::throwWarn, EECFI::ZoneRec::zoneDiam, EECFI::ZoneRec::zoneId, EECFI::ZoneRec::zonePoint, zoneRec, and EECFI::ZoneRec::zoneType.
vector< string > EECFI::ZoneFile::readIds | ( | ) | const |
Read the list of zone names.
References EECFI::EEFile::fileName, and EECFI::CfiClass::throwWarn.
std::vector<ZoneRec> EECFI::ZoneFile::zoneRec |
List of zones.
Referenced by operator=(), and read().