OSSIM - Open Source Software Image Map
Version 1.9.0 (20180803)
|
Factory for J2K image reader. More...
#include <ossimKakaduReaderFactory.h>
Public Member Functions | |
virtual | ~ossimKakaduReaderFactory () |
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 overview that takes a file name. More... | |
virtual ossimRefPtr< ossimImageHandler > | open (std::shared_ptr< ossim::istream > &str, const std::string &connectionString, bool openOverview) const |
Open method that takes a stream. More... | |
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 ossimObject * | createObject (const ossimString &typeName) const |
createObject that takes a class name (ossimKakaduReader) 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 ossimKakaduWriter to the typeList. More... | |
virtual void | getSupportedExtensions (ossimImageHandlerFactoryBase::UniqueStringList &extensionList) const |
Method to add supported extension to the list, like "jp2". More... | |
virtual void | getImageHandlersBySuffix (ossimImageHandlerFactoryBase::ImageHandlerList &result, const ossimString &ext) const |
Will add to the result list any handler that supports the passed in extensions. More... | |
virtual void | getImageHandlersByMimeType (ossimImageHandlerFactoryBase::ImageHandlerList &result, const ossimString &mimeType) const |
Will add to the result list and handler that supports the passed in mime type. More... | |
![]() | |
virtual ossimRefPtr< ossimImageHandler > | open (std::shared_ptr< ossim::ImageHandlerState > state) const |
![]() | |
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 ossimKakaduReaderFactory * | instance () |
static method to return instance (the only one) of this class. More... | |
Protected Member Functions | |
bool | hasExcludedExtension (const ossimFilename &file) const |
Method to weed out extensions that this plugin knows it does not support. More... | |
ossimKakaduReaderFactory () | |
hidden from use default constructor More... | |
ossimKakaduReaderFactory (const ossimKakaduReaderFactory &) | |
hidden from use copy constructor More... | |
void | operator= (const ossimKakaduReaderFactory &) |
hidden from use copy constructor More... | |
![]() | |
virtual | ~ossimReferenced () |
Additional Inherited Members | |
![]() | |
typedef UniqueList< ossimString > | UniqueStringList |
typedef std::vector< ossimRefPtr< ossimImageHandler > > | ImageHandlerList |
Factory for J2K image reader.
Definition at line 21 of file ossimKakaduReaderFactory.h.
|
virtual |
|
protected |
hidden from use default constructor
Definition at line 309 of file ossimKakaduReaderFactory.cpp.
|
protected |
hidden from use copy constructor
Definition at line 311 of file ossimKakaduReaderFactory.cpp.
|
virtual |
createObject that takes a class name (ossimKakaduReader)
typeName | Should be "ossimKakaduReader". |
Implements ossimObjectFactory.
Definition at line 208 of file ossimKakaduReaderFactory.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 226 of file ossimKakaduReaderFactory.cpp.
References open().
|
virtual |
Will add to the result list and handler that supports the passed in mime type.
Reimplemented from ossimImageHandlerFactoryBase.
Definition at line 290 of file ossimKakaduReaderFactory.cpp.
References ossimString::begin(), ossimString::end(), and ossimString::push_back().
|
virtual |
Will add to the result list any handler that supports the passed in extensions.
Reimplemented from ossimImageHandlerFactoryBase.
Definition at line 268 of file ossimKakaduReaderFactory.cpp.
References ossimString::downcase(), and ossimString::push_back().
|
virtual |
Method to add supported extension to the list, like "jp2".
extensionList | The list to add to. |
Implements ossimImageHandlerFactoryBase.
Definition at line 241 of file ossimKakaduReaderFactory.cpp.
References ossimImageHandlerFactoryBase::UniqueList< T >::push_back().
|
virtual |
Adds ossimKakaduWriter to the typeList.
typeList | List to add to. |
Implements ossimObjectFactory.
Definition at line 233 of file ossimKakaduReaderFactory.cpp.
|
protected |
Method to weed out extensions that this plugin knows it does not support.
This is to avoid a costly open on say a tiff or jpeg that is not handled by this plugin.
Definition at line 248 of file ossimKakaduReaderFactory.cpp.
References ossimString::downcase(), and ossimFilename::ext().
|
static |
static method to return instance (the only one) of this class.
Definition at line 34 of file ossimKakaduReaderFactory.cpp.
Referenced by ossimSharedLibraryFinalize(), and ossimSharedLibraryInitialize().
|
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 40 of file ossimKakaduReaderFactory.cpp.
Referenced by createObject().
|
virtual |
Open overview that takes a file name.
file | File to open. |
Implements ossimImageHandlerFactoryBase.
Definition at line 82 of file ossimKakaduReaderFactory.cpp.
|
virtual |
Open method that takes a stream.
This implementation returns an ossimRefPtr with a null pointer.
str | Open stream to image. |
connectionString | |
openOverview | If true attempt to open overview file. |
Reimplemented from ossimImageHandlerFactoryBase.
Definition at line 143 of file ossimKakaduReaderFactory.cpp.
References ossimRefPtr< T >::get(), ossimNitfTileSource::open(), openOverview(), and ossimImageHandler::setOpenOverviewFlag().
|
virtual |
Open overview that takes a file name.
file | File to open. |
Reimplemented from ossimImageHandlerFactoryBase.
Definition at line 168 of file ossimKakaduReaderFactory.cpp.
References ossimImageHandler::open(), ossimImageHandler::setOpenOverviewFlag(), and ossimString::size().
Referenced by open().
|
virtual |
Open method that takes a stream.
str | Open stream to image. |
connectionString |
Reimplemented from ossimImageHandlerFactoryBase.
Definition at line 186 of file ossimKakaduReaderFactory.cpp.
References ossimRefPtr< T >::get(), ossimNitfTileSource::open(), and ossimImageHandler::setOpenOverviewFlag().
|
protected |
hidden from use copy constructor
Definition at line 313 of file ossimKakaduReaderFactory.cpp.