OSSIM - Open Source Software Image Map
Version 1.9.0 (20180803)
|
This class is able to read the data file of the RadarSat file structure. More...
#include <Data.h>
Public Member Functions | |
Data () | |
Constructor. More... | |
~Data () | |
Destructor. More... | |
Data (const Data &rhs) | |
Copy constructor. More... | |
Data & | operator= (const Data &rhs) |
Copy operator. More... | |
void | ClearRecords () |
Removes all the previous records from the Data. More... | |
void | InsertRecord (int id, RadarSatRecord *record) |
Inserts an existing record in the Data. More... | |
ImageOptionsFileDescriptor * | get_ImageOptionsFileDescriptor () |
ProcessedDataRecord * | get_FirstProcessedDataRecord () |
ProcessedDataRecord * | get_LastProcessedDataRecord () |
Protected Attributes | |
std::map< int, RadarSatRecord * > | _records |
Static Protected Attributes | |
static const int | ImageOptionsFileDescriptorID = 1 |
static const int | FirstProcessedDataRecordID = 2 |
static const int | LastProcessedDataRecordID = 3 |
Friends | |
std::ostream & | operator<< (std::ostream &os, const Data &data) |
This function writes the Data in a stream. More... | |
std::istream & | operator>> (std::istream &is, Data &data) |
This function reads a Data from a stream. More... | |
This class is able to read the data file of the RadarSat file structure.
ossimplugins::Data::~Data | ( | ) |
Destructor.
Definition at line 32 of file Data.cpp.
References ClearRecords().
ossimplugins::Data::Data | ( | const Data & | rhs | ) |
void ossimplugins::Data::ClearRecords | ( | ) |
ProcessedDataRecord * ossimplugins::Data::get_FirstProcessedDataRecord | ( | ) |
Definition at line 226 of file Data.cpp.
References _records, and FirstProcessedDataRecordID.
Referenced by ossimplugins::ossimRadarSatModel::internalSaveState().
ImageOptionsFileDescriptor * ossimplugins::Data::get_ImageOptionsFileDescriptor | ( | ) |
Definition at line 221 of file Data.cpp.
References _records, and ImageOptionsFileDescriptorID.
Referenced by ossimplugins::ossimRadarSatModel::internalSaveState(), and ossimplugins::operator>>().
ProcessedDataRecord * ossimplugins::Data::get_LastProcessedDataRecord | ( | ) |
Definition at line 231 of file Data.cpp.
References _records, and LastProcessedDataRecordID.
Referenced by ossimplugins::ossimRadarSatModel::internalSaveState().
void ossimplugins::Data::InsertRecord | ( | int | id, |
RadarSatRecord * | record | ||
) |
|
friend |
|
friend |
This function reads a Data from a stream.
Definition at line 49 of file Data.cpp.
|
protected |
Definition at line 78 of file Data.h.
Referenced by ClearRecords(), Data(), get_FirstProcessedDataRecord(), get_ImageOptionsFileDescriptor(), get_LastProcessedDataRecord(), InsertRecord(), ossimplugins::operator<<(), operator=(), and ossimplugins::operator>>().
|
staticprotected |
Definition at line 80 of file Data.h.
Referenced by get_FirstProcessedDataRecord(), and ossimplugins::operator>>().
|
staticprotected |
Definition at line 79 of file Data.h.
Referenced by get_ImageOptionsFileDescriptor(), and ossimplugins::operator>>().
|
staticprotected |
Definition at line 81 of file Data.h.
Referenced by get_LastProcessedDataRecord(), and ossimplugins::operator>>().