OSSIM - Open Source Software Image Map
Version 1.9.0 (20180803)
|
Factory for PNG image reader. More...
#include <ossimPngReaderFactory.h>
Public Member Functions | |
virtual | ~ossimPngReaderFactory () |
virtual destructor More... | |
virtual ossimImageHandler * | open (const ossimFilename &fileName, bool openOverview=true) const |
open that takes a file name. More... | |
virtual ossimImageHandler * | open (const ossimKeywordlist &kwl, const char *prefix=0) const |
open that takes a keyword list and prefix. More... | |
virtual ossimRefPtr< ossimImageHandler > | open (std::shared_ptr< ossim::istream > &str, const ossimString &connectionString, bool openOverview) const |
Open method that takes a stream. More... | |
virtual ossimObject * | createObject (const ossimString &typeName) const |
createObject that takes a class name (ossimPngReader) More... | |
virtual ossimObject * | createObject (const ossimKeywordlist &kwl, const char *prefix=0) const |
Creates and object given a keyword list and prefix. More... | |
virtual void | getTypeNameList (std::vector< ossimString > &typeList) const |
Adds ossimPngWriter to the typeList. More... | |
virtual void | getSupportedExtensions (ossimImageHandlerFactoryBase::UniqueStringList &extensionList) const |
Method to add supported extension to the list, like "png". More... | |
virtual void | getImageHandlersBySuffix (ImageHandlerList &result, const ossimString &ext) const |
virtual void | getImageHandlersByMimeType (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 (const ossimFilename &file) const |
Open overview that takes a file name. More... | |
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 ossimPngReaderFactory * | instance () |
static method to return instance (the only one) of this class. More... | |
Protected Member Functions | |
ossimPngReaderFactory () | |
hidden from use default constructor More... | |
ossimPngReaderFactory (const ossimPngReaderFactory &) | |
hidden from use copy constructor More... | |
void | operator= (const ossimPngReaderFactory &) |
hidden from use copy constructor More... | |
![]() | |
virtual | ~ossimReferenced () |
Static Protected Attributes | |
static ossimPngReaderFactory * | theInstance = 0 |
static instance of this class More... | |
Additional Inherited Members | |
![]() | |
typedef UniqueList< ossimString > | UniqueStringList |
typedef std::vector< ossimRefPtr< ossimImageHandler > > | ImageHandlerList |
Factory for PNG image reader.
Definition at line 22 of file ossimPngReaderFactory.h.
|
virtual |
virtual destructor
Definition at line 29 of file ossimPngReaderFactory.cpp.
References theInstance.
|
protected |
hidden from use default constructor
Definition at line 188 of file ossimPngReaderFactory.cpp.
Referenced by instance().
|
protected |
|
virtual |
createObject that takes a class name (ossimPngReader)
typeName | Should be "ossimPngReader". |
Implements ossimObjectFactory.
Definition at line 140 of file ossimPngReaderFactory.cpp.
References ossimRefPtr< T >::release().
|
virtual |
Creates and object given a keyword list and prefix.
kwl | The keyword list. |
prefix | the keyword list prefix. |
Implements ossimObjectFactory.
Definition at line 151 of file ossimPngReaderFactory.cpp.
References open().
|
virtual |
Reimplemented from ossimImageHandlerFactoryBase.
Definition at line 178 of file ossimPngReaderFactory.cpp.
References ossimString::downcase(), and ossimString::push_back().
|
virtual |
Reimplemented from ossimImageHandlerFactoryBase.
Definition at line 168 of file ossimPngReaderFactory.cpp.
References ossimString::downcase(), and ossimString::push_back().
|
virtual |
Method to add supported extension to the list, like "png".
extensionList | The list to add to. |
Implements ossimImageHandlerFactoryBase.
Definition at line 162 of file ossimPngReaderFactory.cpp.
References ossimImageHandlerFactoryBase::UniqueList< T >::push_back().
|
virtual |
Adds ossimPngWriter to the typeList.
typeList | List to add to. |
Implements ossimObjectFactory.
Definition at line 157 of file ossimPngReaderFactory.cpp.
|
static |
static method to return instance (the only one) of this class.
Definition at line 34 of file ossimPngReaderFactory.cpp.
References ossimPngReaderFactory(), and theInstance.
Referenced by ossimSharedLibraryFinalize().
|
virtual |
open that takes a file name.
file | The file to open. |
openOverview | If true image handler will attempt to open overview. default = true |
Implements ossimImageHandlerFactoryBase.
Definition at line 43 of file ossimPngReaderFactory.cpp.
Referenced by createObject().
|
virtual |
open that takes a keyword list and prefix.
kwl | The keyword list. |
prefix | the keyword list prefix. |
Implements ossimImageHandlerFactoryBase.
Definition at line 71 of file ossimPngReaderFactory.cpp.
|
virtual |
Open method that takes a stream.
str | Open stream to image. |
connectionString | |
openOverview | If true attempt to open overview file. |
Definition at line 98 of file ossimPngReaderFactory.cpp.
References ossimRefPtr< T >::get(), ossimPngReader::open(), ossimImageHandlerFactoryBase::openOverview(), and ossimImageHandler::setOpenOverviewFlag().
|
protected |
|
staticprotected |
static instance of this class
Definition at line 132 of file ossimPngReaderFactory.h.
Referenced by instance(), and ~ossimPngReaderFactory().