OSSIM - Open Source Software Image Map  Version 1.9.0 (20180803)
ossimImageSourceFactoryBase.cpp
Go to the documentation of this file.
1 //*******************************************************************
2 //
3 // License: See top level LICENSE.txt file.
4 //
5 // Author: David Burken <dburken@imagelinks.com>
6 //
7 //*************************************************************************
8 // $Id: ossimImageSourceFactoryBase.cpp 15766 2009-10-20 12:37:09Z gpotts $
9 
14 {}
15 
18 {}
19 
21 {
22  return *this;
23 }
24 
26 {
28 
29  if(PTR_CAST(ossimImageSource, result.get()))
30  {
31  return (ossimImageSource*)result.release();
32  }
33  result = 0;
34 
35  return 0;
36 }
37 
39  const char* prefix)const
40 {
41  ossimRefPtr<ossimObject> result =createObject(kwl, prefix);
42 
43  if(PTR_CAST(ossimImageSource, result.get()))
44  {
45  return (ossimImageSource*)result.release();
46  }
47  result = 0;
48 
49  return (ossimImageSource*)0;
50 }
Represents serializable keyword/value map.
#define PTR_CAST(T, p)
Definition: ossimRtti.h:321
T * release()
Definition: ossimRefPtr.h:93
virtual ossimObject * createObject(const ossimString &typeName) const =0
virtual ossimImageSource * createImageSource(const ossimString &name) const
const ossimImageSourceFactoryBase & operator=(const ossimImageSourceFactoryBase &)