|
OSSIM - Open Source Software Image Map
Version 1.9.0 (20180803)
|
This class is a factory able to construct Record base classes given the id of the record wanted. More...
#include <EnvisatAsarRecordFactory.h>
Public Member Functions | |
| EnvisatAsarRecordFactory () | |
| Constructor. More... | |
| ~EnvisatAsarRecordFactory () | |
| Destructor. More... | |
| void | RegisterRecord (std::string id, EnvisatAsarRecord *record) |
| Adds a new Record type available in this factory. More... | |
| EnvisatAsarRecord * | Instanciate (std::string id) |
| Instanciatse a new Record. More... | |
Protected Attributes | |
| std::map< std::string, EnvisatAsarRecord * > | _availableRecords |
| Contains all the available Records for the factory. More... | |
This class is a factory able to construct Record base classes given the id of the record wanted.
Definition at line 26 of file EnvisatAsarRecordFactory.h.
| ossimplugins::EnvisatAsarRecordFactory::EnvisatAsarRecordFactory | ( | ) |
| ossimplugins::EnvisatAsarRecordFactory::~EnvisatAsarRecordFactory | ( | ) |
| EnvisatAsarRecord * ossimplugins::EnvisatAsarRecordFactory::Instanciate | ( | std::string | id | ) |
Instanciatse a new Record.
| id | Id of the Record we want to instanciate |
Definition at line 24 of file EnvisatAsarRecordFactory.cpp.
References _availableRecords, and ossimplugins::EnvisatAsarRecord::Instanciate().
Referenced by ossimplugins::operator>>().
| void ossimplugins::EnvisatAsarRecordFactory::RegisterRecord | ( | std::string | id, |
| EnvisatAsarRecord * | record | ||
| ) |
Adds a new Record type available in this factory.
| record | Record to add in the factory |
| id | Id of the new avalaible Record |
Definition at line 37 of file EnvisatAsarRecordFactory.cpp.
References _availableRecords.
Referenced by ossimplugins::EnvisatAsarDataFactory::EnvisatAsarDataFactory().
|
protected |
Contains all the available Records for the factory.
Definition at line 55 of file EnvisatAsarRecordFactory.h.
Referenced by Instanciate(), and RegisterRecord().
1.8.14