OSSIM - Open Source Software Image Map  Version 1.9.0 (20180803)
ossimGpkgTileMatrixSetRecord.h
Go to the documentation of this file.
1 //----------------------------------------------------------------------------
2 //
3 // File: ossimGpkgTileMatrixSetRecord.h
4 //
5 // License: LGPL
6 //
7 // See LICENSE.txt file in the top level directory for more details.
8 //
9 // Description: Container class for gpkg_tile_matrix_set table.
10 //
11 //----------------------------------------------------------------------------
12 // $Id$
13 
14 #ifndef ossimGpkgTileMatrixSetRecord_HEADER
15 #define ossimGpkgTileMatrixSetRecord_HEADER 1
16 
19 
20 class ossimDpt;
21 class ossimDrect;
22 struct sqlite3;
23 
25 {
26 public:
27 
30 
31  /* @brief copy constructor */
33 
34  /* @brief assignment operator= */
35  const ossimGpkgTileMatrixSetRecord& operator=
36  (const ossimGpkgTileMatrixSetRecord& obj);
37 
40 
45  static const std::string& getTableName();
46 
51  virtual bool init( sqlite3_stmt* pStmt );
52 
62  bool init( const std::string& tableName,
63  ossim_int32 srs_id,
64  const ossimDpt& minPt,
65  const ossimDpt& maxPt );
66 
72  static bool createTable( sqlite3* db );
73 
79  bool insert( sqlite3* db );
80 
86  virtual void saveState( ossimKeywordlist& kwl,
87  const std::string& prefix ) const;
88 
93  void getRect( ossimDrect& rect ) const;
94 
96  ossim_float64 getWidth() const;
97 
99  ossim_float64 getHeight() const;
100 
101  std::string m_table_name;
107 };
108 
109 #endif /* #ifndef ossimGpkgTileMatrixSetRecord_HEADER */
Represents serializable keyword/value map.
static const std::string & getTableName()
Get the table name "gpkg_tile_matrix_set".
virtual void saveState(ossimKeywordlist &kwl, const std::string &prefix) const
Saves the state of object.
static bool createTable(sqlite3 *db)
Creates table in database.
double ossim_float64
ossimGpkgTileMatrixSetRecord()
default constructor
void getRect(ossimDrect &rect) const
Gets the rectangle from bounds.
bool insert(sqlite3 *db)
Inserst this record into gpkg_spatial_ref_sys table.
virtual bool init(sqlite3_stmt *pStmt)
Initialize from database.
int ossim_int32