Earth Observation Mission CFI Software DataHandling Software User Manual |
Abstract basic class for Earth Observation File. More...
Public Member Functions | |
EEFile () | |
Default constructor. | |
EEFile (long fileType) | |
Constructor with arguments. | |
EEFile (long fileType, const std::string &fileName) | |
Constructor with arguments. | |
EEFile (const EEFile &other) | |
virtual | ~EEFile () NOEXCEPT |
Destructor. | |
EEFile & | operator= (const EEFile &other) |
bool | validate (const std::string &logfile) const |
Validate file wrt schema in the root element of the XML file. | |
bool | validate (const std::string &schema, const std::string &logfile) const |
Validate file wrt to the schema given in the schema parameter. | |
void | readHeader () |
Read fixed header from XML file. | |
void | setEoffsVersion (long eoffs) const |
Set Eoffs Version. | |
Public Attributes | |
long | fileType |
File type enum value (FileEnum). | |
std::string | fileName |
Filename. | |
FixedHeader * | fixedHeader |
File fixed Header. |
Abstract basic class for Earth Observation File.
EECFI::EEFile::EEFile | ( | ) |
Default constructor.
EECFI::EEFile::EEFile | ( | long | fileType | ) | [explicit] |
Constructor with arguments.
EECFI::EEFile::EEFile | ( | long | fileTyp, | |
const std::string & | fileName | |||
) |
Constructor with arguments.
fileTyp | File type enumeration value (FileEnum). | |
fileNam | Name of the file. |
EECFI::EEFile::EEFile | ( | const EEFile & | other | ) |
EECFI::EEFile::~EEFile | ( | ) | [virtual] |
Destructor.
References fixedHeader.
Copy assignment operator.
other | The EEFile to copy/assign from |
References fileName, fileType, and fixedHeader.
void EECFI::EEFile::readHeader | ( | ) |
Read fixed header from XML file.
Reimplemented in EECFI::DorisFile.
References fileName, fileType, fixedHeader, and EECFI::CfiClass::throwWarn.
void EECFI::EEFile::setEoffsVersion | ( | long | eoffs | ) | const |
Set Eoffs Version.
bool EECFI::EEFile::validate | ( | const std::string & | schema, | |
const std::string & | logfile | |||
) | const |
Validate file wrt to the schema given in the schema parameter.
schema | File name path of the schema we want to compare with. | |
logfile | File where messages from the validation proccess are witten. |
References fileName, and EECFI::CfiClass::throwWarn.
bool EECFI::EEFile::validate | ( | const std::string & | logfile | ) | const |
Validate file wrt schema in the root element of the XML file.
logfile | File where messages from the validation proccess are written. |
References fileName, and EECFI::CfiClass::throwWarn.
std::string EECFI::EEFile::fileName |
Filename.
Referenced by operator=(), EECFI::ZoneFile::read(), EECFI::TleFile::read(), EECFI::StfFile::read(), EECFI::StationFile::read(), EECFI::StarTrackerConfFile::read(), EECFI::StarFile::read(), EECFI::SP3File::read(), EECFI::SdfFile::read(), EECFI::OsfFile::read(), EECFI::OrbitFile::read(), EECFI::OemFile::read(), EECFI::IersFile::read(), EECFI::IersBulletinFile::read(), EECFI::FovConstraintsFile::read(), EECFI::DorisFile::read(), EECFI::DemFile::read(), EECFI::DemConfFile::read(), EECFI::AttitudeDefinitionData::read(), EECFI::AttFile::read(), EECFI::AemFile::read(), readHeader(), EECFI::DorisFile::readHeader(), EECFI::ZoneFile::readIds(), EECFI::StationFile::readIds(), EECFI::StarFile::readIds(), EECFI::StfFile::readVhr(), validate(), EECFI::StfFile::write(), EECFI::OsfFile::write(), EECFI::OrbitFile::write(), EECFI::DorisFile::write(), EECFI::AttitudeDefinitionData::write(), EECFI::AttFile::write(), EECFI::OsfFile::xsltAdd(), EECFI::OrbitFile::xsltAdd(), and EECFI::AttFile::xsltAdd().
File type enum value (FileEnum).
Reimplemented in EECFI::DorisFile.
Referenced by operator=(), EECFI::OrbitFile::read(), and readHeader().