OSSIM - Open Source Software Image Map  Version 1.9.0 (20180803)
ossimInfoFactoryInterface.h
Go to the documentation of this file.
1 //---
2 //
3 // License: MIT
4 //
5 // Author: David Burken
6 //
7 // Description: Interface for info factories.
8 //
9 //---
10 // $Id$
11 
12 #ifndef ossimInfoFactoryInterface_HEADER
13 #define ossimInfoFactoryInterface_HEADER 1
14 
17 
18 class ossimFilename;
19 
20 //---
21 // Note: Deriving from ossimObjectFactory is being backed out as no
22 // ossimObjectFactory interfaces were ever called and it introduces warning in
23 // the header file so anyone who #includes this gets warnings...
24 //
25 // We can add back if there is a interface from ossimObjectFactory needed;
26 // else, please leave out.
27 //
28 // drb 20120518
29 //---
30 
35 {
36 public:
37 
40 
43 
53  virtual std::shared_ptr<ossimInfoBase> create(const ossimFilename& file) const = 0;
54 
55  virtual std::shared_ptr<ossimInfoBase> create(std::shared_ptr<ossim::istream>& str,
56  const std::string& connectionString) const = 0;
57 
58 };
59 
60 #endif /* End of "#ifndef ossimInfoFactoryInterface_HEADER" */
ossimInfoFactoryInterface()
default constructor
virtual ~ossimInfoFactoryInterface()
virtual destructor
#define OSSIM_DLL