DEIMOS
Earth Observation Mission CFI Software
DataHandling Software User Manual
ESA

EECFI::EEFile Class Reference

Abstract basic class for Earth Observation File. More...

Inheritance diagram for EECFI::EEFile:
EECFI::CfiClass EECFI::AemFile EECFI::AttFile EECFI::AttitudeDefinitionData EECFI::DemConfFile EECFI::DemFile EECFI::DorisFile EECFI::FovConstraintsFile EECFI::IersBulletinFile EECFI::IersFile EECFI::OemFile EECFI::OrbitFile EECFI::OsfFile EECFI::PropagPreciseConf EECFI::SdfFile EECFI::SP3File EECFI::StarFile EECFI::StarTrackerConfFile EECFI::StarTrackerFile EECFI::StationFile EECFI::StfFile EECFI::TleFile EECFI::ZoneFile

List of all members.

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.
EEFileoperator= (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.
FixedHeaderfixedHeader
 File fixed Header.

Detailed Description

Abstract basic class for Earth Observation File.


Constructor & Destructor Documentation

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.

Parameters:
fileTyp File type enumeration value (FileEnum).
fileNam Name of the file.
EECFI::EEFile::EEFile ( const EEFile other  ) 

Copy Constructor

Parameters:
other The EEFile to copy from

References fixedHeader.

EECFI::EEFile::~EEFile (  )  [virtual]

Destructor.

References fixedHeader.


Member Function Documentation

EEFile & EECFI::EEFile::operator= ( const EEFile other  ) 

Copy assignment operator.

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

Parameters:
schema File name path of the schema we want to compare with.
logfile File where messages from the validation proccess are witten.
Returns:
Result of comparison. true on success.

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.

Parameters:
logfile File where messages from the validation proccess are written.
Returns:
Result of comparison. true on success.

References fileName, and EECFI::CfiClass::throwWarn.


Member Data Documentation

File type enum value (FileEnum).

Reimplemented in EECFI::DorisFile.

Referenced by operator=(), EECFI::OrbitFile::read(), and readHeader().


Generated on Mon Dec 11 2023 13:28:17 for by doxygen 1.7.1