OSSIM - Open Source Software Image Map  Version 1.9.0 (20180803)
ossimGpkgNsgTileMatrixExtentRecord.h
Go to the documentation of this file.
1 //----------------------------------------------------------------------------
2 //
3 // File: ossimGpkgNsgTileMatrixExtentRecord.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 nsg_tile_matrix_extent table.
10 //
11 //----------------------------------------------------------------------------
12 // $Id$
13 
14 #ifndef ossimGpkgNsgTileMatrixExtentRecord_HEADER
15 #define ossimGpkgNsgTileMatrixExtentRecord_HEADER 1
16 
19 
20 class ossimIrect;
21 class ossimDrect;
22 struct sqlite3;
23 
25 {
26 public:
27 
30 
31  /* @brief copy constructor */
33 
34  /* @brief assignment operator= */
35  const ossimGpkgNsgTileMatrixExtentRecord& operator=
37 
40 
45  static const std::string& getTableName();
46 
51  virtual bool init( sqlite3_stmt* pStmt );
52 
61  bool init( const std::string& tableName,
62  ossim_int32 zoom_level,
63  const ossimIrect& imageRect,
64  const ossimDrect& projectionRect );
65 
71  static bool createTable( sqlite3* db );
72 
78  bool insert( sqlite3* db );
79 
85  virtual void saveState( ossimKeywordlist& kwl,
86  const std::string& prefix ) const;
87 
88  std::string m_table_name;
90 
92  std::string m_extent_type;
93 
102 };
103 
104 #endif /* #ifndef ossimGpkgNsgTileMatrixExtentRecord_HEADER */
Represents serializable keyword/value map.
static bool createTable(sqlite3 *db)
Creates table in database.
virtual void saveState(ossimKeywordlist &kwl, const std::string &prefix) const
Saves the state of object.
virtual bool init(sqlite3_stmt *pStmt)
Initialize from database.
double ossim_float64
std::string m_extent_type
“complete”,”missing”,“present”,”absent”,”mixed”
bool insert(sqlite3 *db)
Inserst this record into gpkg_spatial_ref_sys table.
static const std::string & getTableName()
Get the table name "nsg_tile_matrix_extent".
int ossim_int32