OSSIM - Open Source Software Image Map  Version 1.9.0 (20180803)
LeaderFactory.cpp
Go to the documentation of this file.
1 //----------------------------------------------------------------------------
2 //
3 // "Copyright Centre National d'Etudes Spatiales"
4 //
5 // License: LGPL
6 //
7 // See LICENSE.txt file in the top level directory for more details.
8 //
9 //----------------------------------------------------------------------------
10 // $Id$
11 
13 
24 
25 namespace ossimplugins
26 {
28 {
31  RegisterRecord(8, new AttitudeData());
36  RegisterRecord(3, new DataQuality());
39 }
40 
42 {
43 
44  std::map<int, RadarSatRecord*>::iterator i = _availableRecords.begin();
45 
46  while (i != _availableRecords.end())
47  {
48  if ( (*i).second )
49  {
50  delete (*i).second;
51  (*i).second = 0;
52  }
53  ++i;
54  }
55  _availableRecords.clear();
56 
57 }
58 }
This class is able to read the SAR leader file descriptor record of the leader file.
This class is able to read a data histogram record - Processed data.
This class is able to read a data quality record.
Definition: DataQuality.h:29
This class is able to read a Platform position data record.
This class is able to read a data histogram record - Signal data.
This class is able to read a radiometric data record.
This class is able to read a Radiometric Compensation data record.
This class is able to read a Detailed processing parameters record.
std::map< int, RadarSatRecord * > _availableRecords
Contains all the available Records for the factory.
This class is able to read the SAR leader data set summary record of the leader file.
This class is able to read a Attitude data record.
Definition: AttitudeData.h:28
void RegisterRecord(int id, RadarSatRecord *record)
Add a new Record type available in this factory.