DEIMOS
Earth Observation Mission CFI Software
DataHandling Software User Manual
ESA

EECFI::DorisFile Class Reference

Class for reading/writing DORIS navigator files. More...

Inheritance diagram for EECFI::DorisFile:
EECFI::EEFile EECFI::CfiClass

List of all members.

Public Member Functions

 DorisFile (const std::string &fileNam)
 Default constructor.
 DorisFile (const std::string &fileNam, const DorisHeader &fhr, const std::vector< OsvRec > &osvRecEF, const std::vector< OsvRec > &osvRecJ, double leapTim, int leapSig, long absOrbi, long relOrbi)
 Constructor with parameters.
 DorisFile (const DorisFile &other)
 ~DorisFile () NOEXCEPT
 Destructor.
DorisFileoperator= (const DorisFile &other)
void read (bool interpolFlag)
 Read the whole file (DORIS header is not read).
void read (bool interpolFlag, double time0, double time1)
 Read the file between 2 given times (DORIS header is not read).
void readHeader ()
 Read DORIS header.
void write (const std::string &fileNam) const
 Write the file with the data in the object.
void write (const std::string &fileNam, const DorisHeader &fhr, const std::vector< OsvRec > &osvRecEF, const std::vector< OsvRec > &osvRecJ, double leapTim, int leapSig, long absOrbi, long relOrbi)
 Write the file with all the parameters.

Public Attributes

long fileType
 file type (XDDORISFileTypeEnum) (AN-524)
DorisHeaderheader
 DORIS header.
std::vector< OsvRecosvRec
 Vector of state vectors in EF.
std::vector< OsvRecosvRecJ2
 Vector of state vectors in J2000.
double leapTime
 Time for the leap second.
int leapSign
 Sign of the leap second.
long absOrbit
 First absolute orbit number.
long relOrbit
 First relative orbit number.

Detailed Description

Class for reading/writing DORIS navigator files.


Constructor & Destructor Documentation

EECFI::DorisFile::DorisFile ( const std::string &  fileNam  )  [explicit]

Default constructor.

EECFI::DorisFile::DorisFile ( const std::string &  fileNam,
const DorisHeader fhr,
const std::vector< OsvRec > &  osvRecEF,
const std::vector< OsvRec > &  osvRecJ,
double  leapTim,
int  leapSig,
long  absOrbi,
long  relOrbi 
)

Constructor with parameters.

EECFI::DorisFile::DorisFile ( const DorisFile other  ) 

Copy constructor.

Parameters:
other The AttFile to copy from
EECFI::DorisFile::~DorisFile (  ) 

Destructor.

References header.


Member Function Documentation

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

Copy assigment operator.

Parameters:
other The DorisFile to copy/assign from

References absOrbit, fileType, header, leapSign, leapTime, osvRec, osvRecJ2, and relOrbit.

void EECFI::DorisFile::read ( bool  interpolFlag  ) 

Read the whole file (DORIS header is not read).

Parameters:
interpolFlag Flag to indicate if interpolation is used.

References absOrbit, EECFI::EEFile::fileName, fileType, leapSign, leapTime, osvRec, osvRecJ2, relOrbit, and EECFI::CfiClass::throwWarn.

void EECFI::DorisFile::read ( bool  interpolFlag,
double  time0,
double  time1 
)

Read the file between 2 given times (DORIS header is not read).

Parameters:
interpolFlag Flag to indicate if interpolation is used.
time0 Start time for the requested time window.
time1 Stop time for the requested time window.

References absOrbit, EECFI::EEFile::fileName, fileType, leapSign, leapTime, osvRec, osvRecJ2, relOrbit, and EECFI::CfiClass::throwWarn.

void EECFI::DorisFile::readHeader (  ) 

Read DORIS header.

Reimplemented from EECFI::EEFile.

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

void EECFI::DorisFile::write ( const std::string &  fileNam  )  const

Write the file with the data in the object.

void EECFI::DorisFile::write ( const std::string &  fileNam,
const DorisHeader fhr,
const std::vector< OsvRec > &  osvRecEF,
const std::vector< OsvRec > &  osvRecJ,
double  leapTim,
int  leapSig,
long  absOrbi,
long  relOrbi 
)

Write the file with all the parameters.


Member Data Documentation

First absolute orbit number.

Referenced by operator=(), and read().

file type (XDDORISFileTypeEnum) (AN-524)

Reimplemented from EECFI::EEFile.

Referenced by operator=(), and read().

Sign of the leap second.

Referenced by operator=(), and read().

Time for the leap second.

Referenced by operator=(), and read().

Vector of state vectors in EF.

Referenced by operator=(), and read().

Vector of state vectors in J2000.

Referenced by operator=(), and read().

First relative orbit number.

Referenced by operator=(), and read().


Generated on Thu Jun 23 2022 18:11:49 for by doxygen 1.7.1