OSSIM - Open Source Software Image Map
Version 1.9.0 (20180803)
ossim-plugins
cnes
src
erssar
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
12
#include "
erssar/ErsSarLeaderFactory.h
"
13
14
#include "
erssar/ErsSarDataSetSummary.h
"
15
#include "
erssar/ErsSarFileDescriptor.h
"
16
#include "
erssar/ErsSarMapProjectionData.h
"
17
#include "
erssar/ErsSarPlatformPositionData.h
"
18
#include "
erssar/ErsSarFacilityData.h
"
19
20
namespace
ossimplugins
21
{
22
23
ErsSarLeaderFactory::ErsSarLeaderFactory
()
24
{
25
RegisterRecord
(5,
new
ErsSarFacilityData
());
26
RegisterRecord
(4,
new
ErsSarPlatformPositionData
());
27
RegisterRecord
(3,
new
ErsSarMapProjectionData
());
28
RegisterRecord
(2,
new
ErsSarDataSetSummary
());
29
RegisterRecord
(1,
new
ErsSarFileDescriptor
());
30
}
31
32
ErsSarLeaderFactory::~ErsSarLeaderFactory
()
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
}
ossimplugins::ErsSarPlatformPositionData
This class is able to read a Platform position data record.
Definition:
ErsSarPlatformPositionData.h:30
ossimplugins::ErsSarDataSetSummary
This class is able to read the SAR leader data set summary record of the leader file.
Definition:
ErsSarDataSetSummary.h:28
ErsSarFacilityData.h
ossimplugins
Definition:
AlosPalsarData.cpp:26
ossimplugins::ErsSarMapProjectionData
This class is able to read the SAR leader data set summary record of the leader file.
Definition:
ErsSarMapProjectionData.h:29
ossimplugins::ErsSarLeaderFactory::ErsSarLeaderFactory
ErsSarLeaderFactory()
Contstructor.
Definition:
ErsSarLeaderFactory.cpp:23
ossimplugins::ErsSarRecordFactory::RegisterRecord
void RegisterRecord(int id, ErsSarRecord *record)
Add a new Record type available in this factory.
Definition:
ErsSarRecordFactory.cpp:38
ErsSarMapProjectionData.h
ErsSarLeaderFactory.h
ossimplugins::ErsSarFacilityData
This class is able to read the SAR leader data set summary record of the leader file.
Definition:
ErsSarFacilityData.h:28
ossimplugins::ErsSarRecordFactory::_availableRecords
std::map< int, ErsSarRecord * > _availableRecords
Contain all the available Records for the factory.
Definition:
ErsSarRecordFactory.h:60
ossimplugins::ErsSarFileDescriptor
This class is able to read the SAR leader file descriptor record of the leader file.
Definition:
ErsSarFileDescriptor.h:30
ErsSarPlatformPositionData.h
ErsSarFileDescriptor.h
ErsSarDataSetSummary.h
ossimplugins::ErsSarLeaderFactory::~ErsSarLeaderFactory
virtual ~ErsSarLeaderFactory()
Destructor.
Definition:
ErsSarLeaderFactory.cpp:32
Generated on Fri Aug 3 2018 08:46:44 for OSSIM - Open Source Software Image Map by
1.8.14