OSSIM - Open Source Software Image Map
Version 1.9.0 (20180803)
|
#include <ossimGdalFactory.h>
Public Member Functions | |
virtual | ~ossimGdalFactory () |
virtual ossimImageHandler * | open (const ossimFilename &fileName, bool openOverview=true) const |
open that takes a filename. More... | |
virtual ossimImageHandler * | open (const ossimKeywordlist &kwl, const char *prefix=0) const |
virtual ossimRefPtr< ossimImageHandler > | openOverview (const ossimFilename &file) const |
Open overview that takes a file name. More... | |
virtual ossimObject * | createObject (const ossimString &typeName) const |
virtual ossimObject * | createObject (const ossimKeywordlist &kwl, const char *prefix=0) const |
virtual void | getTypeNameList (std::vector< ossimString > &typeList) const |
virtual void | getSupportedExtensions (ossimImageHandlerFactoryBase::UniqueStringList &extensionList) const |
virtual void | getImageHandlersBySuffix (ossimImageHandlerFactoryBase::ImageHandlerList &result, const ossimString &ext) const |
virtual void | getImageHandlersByMimeType (ossimImageHandlerFactoryBase::ImageHandlerList &result, const ossimString &mimeType) const |
![]() | |
virtual ossimRefPtr< ossimImageHandler > | open (std::shared_ptr< ossim::istream > &str, const std::string &connectionString, bool openOverview=true) const |
Open method that takes a stream. More... | |
virtual ossimRefPtr< ossimImageHandler > | open (std::shared_ptr< ossim::ImageHandlerState > state) const |
virtual ossimRefPtr< ossimImageHandler > | openOverview (std::shared_ptr< ossim::istream > &str, const ossimString &connectionString) const |
Open method that takes a stream. More... | |
![]() | |
virtual | ~ossimObjectFactory () |
![]() | |
ossimObject () | |
virtual | ~ossimObject () |
virtual ossimObject * | dup () const |
virtual ossimString | getShortName () const |
virtual ossimString | getLongName () const |
virtual ossimString | getDescription () const |
virtual ossimString | getClassName () const |
virtual RTTItypeid | getType () const |
virtual bool | canCastTo (ossimObject *obj) const |
virtual bool | canCastTo (const RTTItypeid &id) const |
virtual bool | canCastTo (const ossimString &parentClassName) const |
virtual bool | saveState (ossimKeywordlist &kwl, const char *prefix=0) const |
virtual bool | loadState (const ossimKeywordlist &kwl, const char *prefix=0) |
virtual std::ostream & | print (std::ostream &out) const |
Generic print method. More... | |
virtual bool | isEqualTo (const ossimObject &obj, ossimCompareType compareType=OSSIM_COMPARE_FULL) const |
virtual void | accept (ossimVisitor &visitor) |
![]() | |
ossimReferenced () | |
ossimReferenced (const ossimReferenced &) | |
ossimReferenced & | operator= (const ossimReferenced &) |
void | ref () const |
increment the reference count by one, indicating that this object has another pointer which is referencing it. More... | |
void | unref () const |
decrement the reference count by one, indicating that a pointer to this object is referencing it. More... | |
void | unref_nodelete () const |
decrement the reference count by one, indicating that a pointer to this object is referencing it. More... | |
int | referenceCount () const |
Static Public Member Functions | |
static ossimGdalFactory * | instance () |
Protected Member Functions | |
ossimGdalFactory () | |
ossimGdalFactory (const ossimGdalFactory &) | |
void | operator= (const ossimGdalFactory &) |
![]() | |
virtual | ~ossimReferenced () |
Static Protected Attributes | |
static ossimGdalFactory * | theInstance = 0 |
Additional Inherited Members | |
![]() | |
typedef UniqueList< ossimString > | UniqueStringList |
typedef std::vector< ossimRefPtr< ossimImageHandler > > | ImageHandlerList |
Definition at line 25 of file ossimGdalFactory.h.
|
virtual |
Definition at line 32 of file ossimGdalFactory.cpp.
References theInstance.
|
inlineprotected |
|
inlineprotected |
Definition at line 75 of file ossimGdalFactory.h.
|
virtual |
Creates an object given a type name.
Implements ossimObjectFactory.
Definition at line 218 of file ossimGdalFactory.cpp.
References STATIC_TYPE_NAME.
Referenced by createObject().
|
virtual |
Creates and object given a keyword list.
Implements ossimObjectFactory.
Definition at line 236 of file ossimGdalFactory.cpp.
References createObject(), ossimKeywordNames::FILENAME_KW, ossimKeywordlist::find(), ossimObject::loadState(), open(), ossimRefPtr< T >::release(), STATIC_TYPE_NAME, ossimKeywordNames::TYPE_KW, and ossimRefPtr< T >::valid().
|
virtual |
Reimplemented from ossimImageHandlerFactoryBase.
Definition at line 332 of file ossimGdalFactory.cpp.
|
virtual |
Reimplemented from ossimImageHandlerFactoryBase.
Definition at line 310 of file ossimGdalFactory.cpp.
References ossimString::downcase(), ossimImageHandlerFactoryBase::UniqueList< T >::getList(), getSupportedExtensions(), and ossimString::push_back().
|
virtual |
Implements ossimImageHandlerFactoryBase.
Definition at line 273 of file ossimGdalFactory.cpp.
References ossimImageHandlerFactoryBase::UniqueList< T >::push_back(), and ossimString::split().
Referenced by getImageHandlersBySuffix().
|
virtual |
This should return the type name of all objects in all factories. This is the name used to construct the objects dynamially and this name must be unique.
Implements ossimObjectFactory.
Definition at line 266 of file ossimGdalFactory.cpp.
References STATIC_TYPE_NAME.
|
static |
Definition at line 38 of file ossimGdalFactory.cpp.
References ossimGdalFactory(), and theInstance.
Referenced by ossimSharedLibraryFinalize(), and ossimSharedLibraryInitialize().
|
virtual |
open that takes a filename.
fileName | File to open. |
trySuffixFirst | If true calls code to try to open by suffix first, then goes through the list of available handlers. default=true. |
openOverview | If true image handler will attempt to open overview. default = true |
Implements ossimImageHandlerFactoryBase.
Definition at line 56 of file ossimGdalFactory.cpp.
References ossimString::downcase(), and ossimFilename::ext().
Referenced by createObject().
|
virtual |
Implements ossimImageHandlerFactoryBase.
Definition at line 151 of file ossimGdalFactory.cpp.
|
virtual |
Open overview that takes a file name.
file | File to open. |
Reimplemented from ossimImageHandlerFactoryBase.
Definition at line 200 of file ossimGdalFactory.cpp.
References ossimImageHandler::open(), ossimImageHandler::setOpenOverviewFlag(), and ossimString::size().
|
inlineprotected |
Definition at line 76 of file ossimGdalFactory.h.
|
staticprotected |
Definition at line 78 of file ossimGdalFactory.h.
Referenced by instance(), and ~ossimGdalFactory().