<NME> ossimImageHandlerFactoryBase.cpp
<BEF> //*******************************************************************
//
// License:  See top level LICENSE.txt file.
// 
// Author:  Garrett Potts (gpotts@imagelinks.com)
//
//*******************************************************************
// $Id$

#include <ossim/imaging/ossimImageHandlerFactoryBase.h>

RTTI_DEF1(ossimImageHandlerFactoryBase, "ossimImageHandlerFactoryBase", ossimObjectFactory);

void ossimImageHandlerFactoryBase::getImageHandlersBySuffix(ImageHandlerList& /*result*/,
                                                            const ossimString& /*ext*/)const
{
}

void ossimImageHandlerFactoryBase::getImageHandlersByMimeType(ImageHandlerList& /*result*/,
                                                              const ossimString& /*mimeType*/)const
{
}

ossimRefPtr<ossimImageHandler> ossimImageHandlerFactoryBase::openOverview(
   const ossimFilename& /* file */ ) const
{
   return ossimRefPtr<ossimImageHandler>(0);
}

#if 0
ossimRefPtr<ossimImageHandler> ossimImageHandlerFactoryBase::open(
   ossim::istream* /* str */,
   std::streamoff /* restartPosition */,
   bool /* youOwnIt */ ) const
{
   return ossimRefPtr<ossimImageHandler>(0);
}
#endif

ossimRefPtr<ossimImageHandler> ossimImageHandlerFactoryBase::open(
   std::shared_ptr<ossim::istream>& /*str */,
   const std::string& /* connectionString */,
   bool /* openOverview */ ) const
{
   return ossimRefPtr<ossimImageHandler>(0);
}

ossimRefPtr<ossimImageHandler> ossimImageHandlerFactoryBase::openOverview(
   std::shared_ptr<ossim::istream>& /* str */,
   const ossimString& /* connectionString */ ) const
{
   return ossimRefPtr<ossimImageHandler>(0);
}

<MSG> Added a default that will return null for open with a state object

<DFF> @@ -45,6 +45,11 @@ ossimRefPtr<ossimImageHandler> ossimImageHandlerFactoryBase::open(
    return ossimRefPtr<ossimImageHandler>(0);
 }
 
+ossimRefPtr<ossimImageHandler> ossimImageHandlerFactoryBase::open(std::shared_ptr<ossim::ImageHandlerState> state)const
+{
+   return ossimRefPtr<ossimImageHandler>(0);   
+}
+
 ossimRefPtr<ossimImageHandler> ossimImageHandlerFactoryBase::openOverview(
    std::shared_ptr<ossim::istream>& /* str */,
    const ossimString& /* connectionString */ ) const

{'commit': 'diff --git a/src/imaging/ossimImageHandlerFactoryBase.cpp b/src/imaging/ossimImageHandlerFactoryBase.cpp\nindex 25ff6525..b84f750f 100644\n--- a/src/imaging/ossimImageHandlerFactoryBase.cpp\n+++ b/src/imaging/ossimImageHandlerFactoryBase.cpp\n@@ -45,6 +45,11 @@ ossimRefPtr<ossimImageHandler> ossimImageHandlerFactoryBase::open(\n    return ossimRefPtr<ossimImageHandler>(0);\n }\n \n+ossimRefPtr<ossimImageHandler> ossimImageHandlerFactoryBase::open(std::shared_ptr<ossim::ImageHandlerState> state)const\n+{\n+   return ossimRefPtr<ossimImageHandler>(0);   \n+}\n+\n ossimRefPtr<ossimImageHandler> ossimImageHandlerFactoryBase::openOverview(\n    std::shared_ptr<ossim::istream>& /* str */,\n    const ossimString& /* connectionString */ ) const\n', 'commit_subject': 'Added a default that will return null for open with a state object', 'repo_name': 'ossimlabs/ossim', 'committer': {'name': 'Garrett Potts', 'email': 'd0f85c59e0abb75023e0d8d875362d9a8f63592e@radiantblue.com', 'time_sec': '1507643374', 'tz_offset': '-240', 'date': {'seconds': '1507643374'}}, 'commit_tree': '491ea5fa2ae2feae1d1b7dda4bdf3247d314b58a', 'commit_message': 'Added a default that will return null for open with a state object\n', 'language_name': 'HTML', 'license': 'mit', 'hunks': '@@ -45,6 +45,11 @@ ossimRefPtr<ossimImageHandler> ossimImageHandlerFactoryBase::open(\n    return ossimRefPtr<ossimImageHandler>(0);\n }\n \n+ossimRefPtr<ossimImageHandler> ossimImageHandlerFactoryBase::open(std::shared_ptr<ossim::ImageHandlerState> state)const\n+{\n+   return ossimRefPtr<ossimImageHandler>(0);   \n+}\n+\n ossimRefPtr<ossimImageHandler> ossimImageHandlerFactoryBase::openOverview(\n    std::shared_ptr<ossim::istream>& /* str */,\n    const ossimString& /* connectionString */ ) const\n', 'addition_count': 5, 'deletion_count': 0, 'src_file': 'a/src/imaging/ossimImageHandlerFactoryBase.cpp', 'tgt_file': 'b/src/imaging/ossimImageHandlerFactoryBase.cpp', 'file_extension': '.cpp', 'before_file': '//*******************************************************************\n//\n// License:  See top level LICENSE.txt file.\n// \n// Author:  Garrett Potts (gpotts@imagelinks.com)\n//\n//*******************************************************************\n// $Id$\n\n#include <ossim/imaging/ossimImageHandlerFactoryBase.h>\n\nRTTI_DEF1(ossimImageHandlerFactoryBase, "ossimImageHandlerFactoryBase", ossimObjectFactory);\n\nvoid ossimImageHandlerFactoryBase::getImageHandlersBySuffix(ImageHandlerList& /*result*/,\n                                                            const ossimString& /*ext*/)const\n{\n}\n\nvoid ossimImageHandlerFactoryBase::getImageHandlersByMimeType(ImageHandlerList& /*result*/,\n                                                              const ossimString& /*mimeType*/)const\n{\n}\n\nossimRefPtr<ossimImageHandler> ossimImageHandlerFactoryBase::openOverview(\n   const ossimFilename& /* file */ ) const\n{\n   return ossimRefPtr<ossimImageHandler>(0);\n}\n\n#if 0\nossimRefPtr<ossimImageHandler> ossimImageHandlerFactoryBase::open(\n   ossim::istream* /* str */,\n   std::streamoff /* restartPosition */,\n   bool /* youOwnIt */ ) const\n{\n   return ossimRefPtr<ossimImageHandler>(0);\n}\n#endif\n\nossimRefPtr<ossimImageHandler> ossimImageHandlerFactoryBase::open(\n   std::shared_ptr<ossim::istream>& /*str */,\n   const std::string& /* connectionString */,\n   bool /* openOverview */ ) const\n{\n   return ossimRefPtr<ossimImageHandler>(0);\n}\n\nossimRefPtr<ossimImageHandler> ossimImageHandlerFactoryBase::openOverview(\n   std::shared_ptr<ossim::istream>& /* str */,\n   const ossimString& /* connectionString */ ) const\n{\n   return ossimRefPtr<ossimImageHandler>(0);\n}\n', 'message': 'Added a default that will return null for open with a state object\n', 'author_name': 'Garrett Potts', 'lang': 'cpp'}