OSSIM - Open Source Software Image Map  Version 1.9.0 (20180803)
ossimGpkgDatabaseRecordBase.cpp
Go to the documentation of this file.
1 //----------------------------------------------------------------------------
2 // File: ossimGpkgDatabaseRecordInferface.h
3 //
4 // License: LGPL
5 //
6 // See LICENSE.txt file in the top level directory for more details.
7 //
8 // Description: Base class definition for GeoPackage database record.
9 //
10 //----------------------------------------------------------------------------
11 // $Id$
12 
15 #include <ostream>
16 
18  : ossimReferenced()
19 {
20 }
21 
23 {
24 }
25 
27 {
28  ossimKeywordlist kwl;
29  saveState(kwl, std::string(""));
30  out << kwl;
31  return out;
32 }
33 
35  const ossimGpkgDatabaseRecordBase& obj)
36 {
37  return obj.print( out );
38 }
39 
40 
virtual void saveState(ossimKeywordlist &kwl, const std::string &prefix) const =0
Saves the state of object to keyword list.
Represents serializable keyword/value map.
ossimGpkgDatabaseRecordBase()
default constructor
ossimReferenced allows for shared object ref counting if the reference count ever gets to 0 or less i...
std::ostream & operator<<(std::ostream &out, const ossimGpkgDatabaseRecordBase &obj)
virtual std::ostream & print(std::ostream &out) const
Print method.
virtual ~ossimGpkgDatabaseRecordBase()
virtual destructor.
std::basic_ostream< char > ostream
Base class for char output streams.
Definition: ossimIosFwd.h:23