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::AttFile EECFI::AttitudeDefinitionData EECFI::DemConfFile EECFI::DemFile EECFI::DorisFile EECFI::IersBulletinFile EECFI::IersFile 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 ()
 Empty constructor.
 EEFile (long fileType, string fileName)
 Constructor with arguments.
virtual ~EEFile ()
 Destructor.
bool validate (const string logfile) const throw (CfiError)
 Validate file wrt schema in the root element of the XML file.
bool validate (const string schema, const string logfile) const throw (CfiError)
 Validate file wrt to the schema given in the schema parameter.
void readHeader () throw (CfiError)
 Read fixed header from XML file.

Public Attributes

long fileType
 File type enum value (FileEnum).
string fileName
 Filename.
FixedHeaderfixedHeader
 File fixed Header.

Detailed Description

Abstract basic class for Earth Observation File.


Constructor & Destructor Documentation

EECFI::EEFile::EEFile (  ) 

Empty constructor.

References fileName, fileType, and fixedHeader.

EECFI::EEFile::EEFile ( long  fileTyp,
string  fileNam 
)

Constructor with arguments.

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

References fileName, fileType, and fixedHeader.

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

Destructor.


Member Function Documentation

void EECFI::EEFile::readHeader (  )  throw (CfiError)

Read fixed header from XML file.

Reimplemented in EECFI::DorisFile.

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

bool EECFI::EEFile::validate ( const string  logfile  )  const throw (CfiError)

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.
bool EECFI::EEFile::validate ( const string  schema,
const string  logfile 
) const throw (CfiError)

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.

Member Data Documentation


Generated on Mon Mar 31 2014 12:10:03 for by doxygen 1.7.1