|
OSSIM - Open Source Software Image Map
Version 1.9.0 (20180803)
|
#include <ossimGpkgNsgTileMatrixExtentRecord.h>
Public Member Functions | |
| ossimGpkgNsgTileMatrixExtentRecord () | |
| default constructor More... | |
| ossimGpkgNsgTileMatrixExtentRecord (const ossimGpkgNsgTileMatrixExtentRecord &obj) | |
| const ossimGpkgNsgTileMatrixExtentRecord & | operator= (const ossimGpkgNsgTileMatrixExtentRecord &obj) |
| virtual | ~ossimGpkgNsgTileMatrixExtentRecord () |
| destructor More... | |
| virtual bool | init (sqlite3_stmt *pStmt) |
| Initialize from database. More... | |
| bool | init (const std::string &tableName, ossim_int32 zoom_level, const ossimIrect &imageRect, const ossimDrect &projectionRect) |
| Initialize from projection. More... | |
| bool | insert (sqlite3 *db) |
| Inserst this record into gpkg_spatial_ref_sys table. More... | |
| virtual void | saveState (ossimKeywordlist &kwl, const std::string &prefix) const |
| Saves the state of object. More... | |
Public Member Functions inherited from ossimGpkgDatabaseRecordBase | |
| ossimGpkgDatabaseRecordBase () | |
| default constructor More... | |
| virtual | ~ossimGpkgDatabaseRecordBase () |
| virtual destructor. More... | |
| virtual std::ostream & | print (std::ostream &out) const |
| Print method. More... | |
Public Member Functions inherited from ossimReferenced | |
| ossimReferenced () | |
| ossimReferenced (const ossimReferenced &) | |
| ossimReferenced & | operator= (const ossimReferenced &) |
| void | ref () const |
| increment the reference count by one, indicating that this object has another pointer which is referencing it. More... | |
| void | unref () const |
| decrement the reference count by one, indicating that a pointer to this object is referencing it. More... | |
| void | unref_nodelete () const |
| decrement the reference count by one, indicating that a pointer to this object is referencing it. More... | |
| int | referenceCount () const |
Static Public Member Functions | |
| static const std::string & | getTableName () |
| Get the table name "nsg_tile_matrix_extent". More... | |
| static bool | createTable (sqlite3 *db) |
| Creates table in database. More... | |
Public Attributes | |
| std::string | m_table_name |
| ossim_int32 | m_zoom_level |
| std::string | m_extent_type |
| “complete”,”missing”,“present”,”absent”,”mixed” More... | |
| ossim_int32 | m_min_column |
| ossim_int32 | m_min_row |
| ossim_int32 | m_max_column |
| ossim_int32 | m_max_row |
| ossim_float64 | m_min_x |
| ossim_float64 | m_min_y |
| ossim_float64 | m_max_x |
| ossim_float64 | m_max_y |
Additional Inherited Members | |
Protected Member Functions inherited from ossimReferenced | |
| virtual | ~ossimReferenced () |
Definition at line 24 of file ossimGpkgNsgTileMatrixExtentRecord.h.
| ossimGpkgNsgTileMatrixExtentRecord::ossimGpkgNsgTileMatrixExtentRecord | ( | ) |
default constructor
Definition at line 27 of file ossimGpkgNsgTileMatrixExtentRecord.cpp.
| ossimGpkgNsgTileMatrixExtentRecord::ossimGpkgNsgTileMatrixExtentRecord | ( | const ossimGpkgNsgTileMatrixExtentRecord & | obj | ) |
Definition at line 44 of file ossimGpkgNsgTileMatrixExtentRecord.cpp.
|
virtual |
|
static |
Creates table in database.
| db |
Definition at line 230 of file ossimGpkgNsgTileMatrixExtentRecord.cpp.
References status, and ossim_sqlite::tableExists().
Referenced by ossimGpkgWriter::createTables().
|
static |
Get the table name "nsg_tile_matrix_extent".
Definition at line 86 of file ossimGpkgNsgTileMatrixExtentRecord.cpp.
Referenced by ossim_gpkg::getNewTableRecord(), ossim_gpkg::getTileEntries(), and ossim_gpkg::getTileEntry().
|
virtual |
Initialize from database.
| pStmt | SQL statement, i.e. result of sqlite3_prepare_v2(...) call. |
Implements ossimGpkgDatabaseRecordBase.
Definition at line 91 of file ossimGpkgNsgTileMatrixExtentRecord.cpp.
References m_extent_type, m_max_column, m_max_row, m_max_x, m_max_y, m_min_column, m_min_row, m_min_x, m_min_y, m_table_name, m_zoom_level, ossimNotify(), ossimNotifyLevel_WARN, and status.
| bool ossimGpkgNsgTileMatrixExtentRecord::init | ( | const std::string & | tableName, |
| ossim_int32 | zoom_level, | ||
| const ossimIrect & | imageRect, | ||
| const ossimDrect & | projectionRect | ||
| ) |
Initialize from projection.
| tableName | e.g. "tiles" |
| zoom_level | |
| imageRect | |
| projectionRect | Edge to edge either Easting Northin or lat lon. |
Definition at line 205 of file ossimGpkgNsgTileMatrixExtentRecord.cpp.
References ossimIrect::hasNans(), ossimDrect::hasNans(), ossimDrect::ll(), ossimIrect::lr(), m_extent_type, m_max_column, m_max_row, m_max_x, m_max_y, m_min_column, m_min_row, m_min_x, m_min_y, m_table_name, m_zoom_level, status, ossimIrect::ul(), ossimDrect::ur(), ossimIpt::x, ossimDpt::x, ossimIpt::y, and ossimDpt::y.
| bool ossimGpkgNsgTileMatrixExtentRecord::insert | ( | sqlite3 * | db | ) |
Inserst this record into gpkg_spatial_ref_sys table.
| db |
Definition at line 265 of file ossimGpkgNsgTileMatrixExtentRecord.cpp.
References ossim_sqlite::exec(), m_extent_type, m_max_column, m_max_row, m_max_x, m_max_y, m_min_column, m_min_row, m_min_x, m_min_y, m_table_name, m_zoom_level, and status.
| const ossimGpkgNsgTileMatrixExtentRecord & ossimGpkgNsgTileMatrixExtentRecord::operator= | ( | const ossimGpkgNsgTileMatrixExtentRecord & | obj | ) |
Definition at line 62 of file ossimGpkgNsgTileMatrixExtentRecord.cpp.
References m_extent_type, m_max_column, m_max_row, m_max_x, m_max_y, m_min_column, m_min_row, m_min_x, m_min_y, m_table_name, and m_zoom_level.
|
virtual |
Saves the state of object.
| kwl | Initialized by this. |
| prefix | e.g. "image0.". Can be empty. |
Implements ossimGpkgDatabaseRecordBase.
Definition at line 294 of file ossimGpkgNsgTileMatrixExtentRecord.cpp.
References ossimKeywordlist::addPair(), m_extent_type, m_max_column, m_max_row, m_max_x, m_max_y, m_min_column, m_min_row, m_min_x, m_min_y, m_table_name, m_zoom_level, ossimString::string(), and ossimString::toString().
| std::string ossimGpkgNsgTileMatrixExtentRecord::m_extent_type |
“complete”,”missing”,“present”,”absent”,”mixed”
Definition at line 92 of file ossimGpkgNsgTileMatrixExtentRecord.h.
Referenced by init(), insert(), operator=(), and saveState().
| ossim_int32 ossimGpkgNsgTileMatrixExtentRecord::m_max_column |
Definition at line 96 of file ossimGpkgNsgTileMatrixExtentRecord.h.
Referenced by init(), insert(), operator=(), and saveState().
| ossim_int32 ossimGpkgNsgTileMatrixExtentRecord::m_max_row |
Definition at line 97 of file ossimGpkgNsgTileMatrixExtentRecord.h.
Referenced by init(), insert(), operator=(), and saveState().
| ossim_float64 ossimGpkgNsgTileMatrixExtentRecord::m_max_x |
Definition at line 100 of file ossimGpkgNsgTileMatrixExtentRecord.h.
Referenced by init(), insert(), operator=(), and saveState().
| ossim_float64 ossimGpkgNsgTileMatrixExtentRecord::m_max_y |
Definition at line 101 of file ossimGpkgNsgTileMatrixExtentRecord.h.
Referenced by init(), insert(), operator=(), and saveState().
| ossim_int32 ossimGpkgNsgTileMatrixExtentRecord::m_min_column |
Definition at line 94 of file ossimGpkgNsgTileMatrixExtentRecord.h.
Referenced by init(), insert(), operator=(), and saveState().
| ossim_int32 ossimGpkgNsgTileMatrixExtentRecord::m_min_row |
Definition at line 95 of file ossimGpkgNsgTileMatrixExtentRecord.h.
Referenced by init(), insert(), operator=(), and saveState().
| ossim_float64 ossimGpkgNsgTileMatrixExtentRecord::m_min_x |
Definition at line 98 of file ossimGpkgNsgTileMatrixExtentRecord.h.
Referenced by init(), insert(), operator=(), and saveState().
| ossim_float64 ossimGpkgNsgTileMatrixExtentRecord::m_min_y |
Definition at line 99 of file ossimGpkgNsgTileMatrixExtentRecord.h.
Referenced by init(), insert(), operator=(), and saveState().
| std::string ossimGpkgNsgTileMatrixExtentRecord::m_table_name |
Definition at line 88 of file ossimGpkgNsgTileMatrixExtentRecord.h.
Referenced by init(), insert(), operator=(), and saveState().
| ossim_int32 ossimGpkgNsgTileMatrixExtentRecord::m_zoom_level |
Definition at line 89 of file ossimGpkgNsgTileMatrixExtentRecord.h.
Referenced by init(), insert(), operator=(), and saveState().
1.8.14