OSSIM - Open Source Software Image Map  Version 1.9.0 (20180803)
ossimInfoBase.h
Go to the documentation of this file.
1 //----------------------------------------------------------------------------
2 //
3 // License: MIT
4 //
5 // See LICENSE.txt file in the top level directory for more details.
6 //
7 // Author: David Burken
8 //
9 // Description: Base class for Info object.
10 //
11 //----------------------------------------------------------------------------
12 // $Id$
13 #ifndef ossimInfoBase_HEADER
14 #define ossimInfoBase_HEADER 1
15 
18 #include <iosfwd>
19 #include <ossim/base/ossimIosFwd.h>
20 #include <memory>
21 #include <string>
22 
23 class ossimFilename;
24 class ossimKeywordlist;
25 
33 {
34 public:
35 
37  ossimInfoBase();
38 
39 
47  virtual bool open(const ossimFilename& file);
48 
56  virtual bool open(std::shared_ptr<ossim::istream>& str,
57  const std::string& connectionString);
58 
66  virtual std::ostream& print(std::ostream& out) const = 0;
67 
72  void setProcessOverviewFlag(bool flag);
73 
78  bool getProcessOverviewFlag() const;
79 
85  virtual bool getKeywordlist(ossimKeywordlist& kwl)const;
86 
94  virtual bool getKeywordlist(ossimKeywordlist& kwl,
95  ossim_uint32 entryIndex)const;
96 
97 protected:
99  virtual ~ossimInfoBase();
100 
101  bool theOverviewFlag; // If true overview information should be processed.
102 
103 };
104 
105 #endif /* End of "#ifndef ossimInfoBase_HEADER" */
Represents serializable keyword/value map.
ossimReferenced allows for shared object ref counting if the reference count ever gets to 0 or less i...
std::ostream & print(H5::H5File *file, std::ostream &out)
Print method.
Definition: ossimH5Util.cpp:41
unsigned int ossim_uint32
Info Base.
Definition: ossimInfoBase.h:32
#define OSSIM_DLL
std::basic_ostream< char > ostream
Base class for char output streams.
Definition: ossimIosFwd.h:23