![]() |
Earth Explorer Mission CFI Software DataHandling Software User Manual |
![]() |
Public Member Functions | |
StfFile () | |
Empty constructor. | |
StfFile (const string fileNam) | |
Constructor file name. | |
StfFile (const StfFile &stfFile) | |
Copy constructor. | |
~StfFile () | |
Destructor. | |
void | read () throw (CfiError) |
Read the whole file. | |
void | readVhr () throw (CfiError) |
Read the STF variable header. | |
void | write (string fileName, FixedHeader &fixedHead, StfVhr &stfVhr, vector< StfRec > &stfData) throw (CfiError) |
Write STF file with a given name. | |
void | write (FixedHeader &fixedHead, StfVhr &stfVhr, vector< StfRec > &stfData) throw (CfiError) |
Write STF file with the file name stored in the object. | |
void | operator= (const StfFile &stfFile) |
Operator=. | |
Public Attributes | |
vector< StfRec > | stfRec |
Vector of swath points. | |
StfVhr * | vhr |
Variable header data. | |
Friends | |
class | Swath |
EECFI::StfFile::StfFile | ( | ) |
EECFI::StfFile::StfFile | ( | const string | fileNam | ) |
EECFI::StfFile::StfFile | ( | const StfFile & | stfFile | ) |
Copy constructor.
stfFile | Object to be copied. |
References EECFI::EEFile::fixedHeader, and vhr.
EECFI::StfFile::~StfFile | ( | ) |
Destructor.
void EECFI::StfFile::operator= | ( | const StfFile & | stfFile | ) |
Operator=.
stfFile | Object to be copied. |
References EECFI::EEFile::fileName, EECFI::EEFile::fileType, EECFI::EEFile::fixedHeader, stfRec, EECFI::CfiClass::throwWarn, and vhr.
void EECFI::StfFile::read | ( | ) | throw (CfiError) |
Read the whole file.
References EECFI::EEFile::fileName, stfRec, EECFI::CfiClass::throwWarn, and vhr.
void EECFI::StfFile::readVhr | ( | ) | throw (CfiError) |
Read the STF variable header.
References EECFI::EEFile::fileName, EECFI::CfiClass::throwWarn, and vhr.
void EECFI::StfFile::write | ( | FixedHeader & | fixedHead, | |
StfVhr & | stfVhr, | |||
vector< StfRec > & | stfData | |||
) | throw (CfiError) |
Write STF file with the file name stored in the object.
fixedHead | Values of the fixed header. | |
stfVhr | STF variable header values. | |
stfData | Vector of swath points. |
void EECFI::StfFile::write | ( | string | fileNam, | |
FixedHeader & | fixedHead, | |||
StfVhr & | stfVhr, | |||
vector< StfRec > & | stfData | |||
) | throw (CfiError) |
Write STF file with a given name.
fileNam | Name of the file to write. | |
fixedHead | Values of the fixed header. | |
stfVhr | STF variable header values. | |
stfData | Vector of swath points. |
friend class Swath [friend] |
vector<StfRec> EECFI::StfFile::stfRec |