Info factory.
More...
#include <ossimInfoFactory.h>
Info factory.
Definition at line 24 of file ossimInfoFactory.h.
◆ ~ossimInfoFactory()
ossimInfoFactory::~ossimInfoFactory |
( |
| ) |
|
|
virtual |
◆ ossimInfoFactory() [1/2]
ossimInfoFactory::ossimInfoFactory |
( |
| ) |
|
|
private |
◆ ossimInfoFactory() [2/2]
◆ create() [1/2]
create method.
- Parameters
-
file | Some file you want info for. |
- Returns
- ossimInfoBase* on success 0 on failure. Caller is responsible for memory.
Implements ossimInfoFactoryInterface.
Definition at line 138 of file ossimInfoFactory.cpp.
Referenced by ossimRpfInfo::print().
140 std::shared_ptr<ossimInfoBase> result(0);
142 result = std::make_shared<ossimNitfInfo>();
143 if ( result->open( file ) )
152 result = std::make_shared<ossimTiffInfo>();
153 if ( result->open( file ) )
162 result = std::make_shared<ossimCcfInfo>();
163 if ( result->open( file ) )
172 result = std::make_shared<ossimDtedInfo>();
173 if ( result->open( file ) )
182 result = std::make_shared<ossimDoqq>();
183 if ( result->open( file ) )
192 result = std::make_shared<ossimDemInfo>();
193 if ( result->open( file ) )
202 result = std::make_shared<ossimJp2Info>();
203 if ( result->open( file ) )
212 result = std::make_shared<ossimEnviInfo>();
213 if ( result->open( file ) )
222 result = std::make_shared<ossimRpfInfo>();
223 if ( result->open( file ) )
232 result = std::make_shared<ossimXmpInfo>();
233 if ( result->open( file ) )
242 result = std::make_shared<ossimLasInfo>();
243 if ( result->open( file ) )
252 result = std::make_shared<ossimJ2kInfo>();
253 if ( result->open( file ) )
263 result = std::make_shared<ossimHdf5Info>();
264 if ( result->open( file ) )
◆ create() [2/2]
std::shared_ptr< ossimInfoBase > ossimInfoFactory::create |
( |
std::shared_ptr< ossim::istream > & |
str, |
|
|
const std::string & |
connectionString |
|
) |
| const |
|
virtual |
Implements ossimInfoFactoryInterface.
Definition at line 52 of file ossimInfoFactory.cpp.
55 std::shared_ptr<ossimInfoBase> result(0);
61 result = std::make_shared<ossimNitfInfo>();
62 if ( result->open(str, connectionString) )
73 result = std::make_shared<ossimTiffInfo>();
74 if ( result->open(str, connectionString) )
85 result = std::make_shared<ossimCcfInfo>();
86 if ( result->open(str, connectionString) )
97 result = std::make_shared<ossimDtedInfo>();
98 if ( result->open(str, connectionString) )
109 result = std::make_shared<ossimDoqq>();
110 if ( result->open(str, connectionString) )
121 result = std::make_shared<ossimDemInfo>();
122 if ( result->open(str, connectionString) )
◆ instance()
◆ operator=()
◆ theInstance
The documentation for this class was generated from the following files: