OSSIM - Open Source Software Image Map  Version 1.9.0 (20180803)
ErsSarLeaderFactory.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 
19 
20 namespace ossimplugins
21 {
22 
24 {
30 }
31 
33 {
34  std::map<int, ErsSarRecord*>::iterator i = _availableRecords.begin();
35 
36  while (i != _availableRecords.end())
37  {
38  if ((*i).second)
39  {
40  delete(*i).second;
41  (*i).second = 0;
42  }
43  ++i;
44  }
45  _availableRecords.clear();
46 }
47 }
This class is able to read a Platform position data record.
This class is able to read the SAR leader data set summary record of the leader file.
This class is able to read the SAR leader data set summary record of the leader file.
void RegisterRecord(int id, ErsSarRecord *record)
Add a new Record type available in this factory.
This class is able to read the SAR leader data set summary record of the leader file.
std::map< int, ErsSarRecord * > _availableRecords
Contain all the available Records for the factory.
This class is able to read the SAR leader file descriptor record of the leader file.
virtual ~ErsSarLeaderFactory()
Destructor.