OSSIM - Open Source Software Image Map  Version 1.9.0 (20180803)
ossimInfoFactory.h
Go to the documentation of this file.
1 //---
2 //
3 // License: MIT
4 //
5 // Author: David Burken
6 //
7 // Description: Factory for info objects.
8 //
9 //---
10 // $Id$
11 
12 #ifndef ossimInfoFactory_HEADER
13 #define ossimInfoFactory_HEADER 1
14 
17 
18 class ossimFilename;
19 class ossimInfoBase;
20 
25 {
26 public:
27 
29  virtual ~ossimInfoFactory();
30 
31  static ossimInfoFactory* instance();
32 
41  // virtual ossimInfoBase* create(const ossimFilename& file) const;
42  virtual std::shared_ptr<ossimInfoBase> create(const ossimFilename& file) const;
43 
44  virtual std::shared_ptr<ossimInfoBase> create(std::shared_ptr<ossim::istream>& str,
45  const std::string& connectionString)const;
46 
47 private:
48 
51 
54 
56  const ossimInfoFactory& operator=(const ossimInfoFactory& rhs);
57 
60 };
61 
62 #endif /* End of "#ifndef ossimInfoFactory_HEADER" */
Info factory.
Info Base.
Definition: ossimInfoBase.h:32
virtual std::shared_ptr< ossimInfoBase > create(const ossimFilename &file) const =0
Pure virtual create method.
#define OSSIM_DLL
static ossimInfoFactory * theInstance
The single instance of this class.