|
OSSIM - Open Source Software Image Map
Version 1.9.0 (20180803)
|
#include <ossimVpfLibrary.h>
Public Member Functions | |
| ossimVpfLibrary () | |
| virtual | ~ossimVpfLibrary () |
| bool | openLibrary (ossimVpfDatabase *database, const ossimString &name, const ossimFilename &libraryPath) |
| void | setDatabase (ossimVpfDatabase *database) |
| ossimVpfDatabase * | getDatabase () const |
| bool | getCoverage (long coverageNumber, ossimVpfCoverage &coverage) |
| bool | getCoverage (const ossimString &name, ossimVpfCoverage &coverage) |
| bool | getExtent (ossimVpfExtent &result) const |
| bool | hasGazette () const |
| ossimFilename | getPath () const |
| ossimString | getName () const |
| bool | getCoverageNames (std::vector< ossimString > &coverageNames) const |
| int | getNumberOfCoverages () const |
| bool | hasCoverage (const ossimString &coverageName) const |
| ossimString | getTileName (ossim_int32 id) const |
| void | getTileNames (std::vector< ossimString > &tileNames) const |
Private Member Functions | |
| void | setCoverageNames () |
| void | setTileNames () const |
Private Attributes | |
| ossimVpfDatabase * | theDatabase |
| ossimString | theLibraryName |
| ossimFilename | theLibraryNameFullPath |
| ossim_uint32 | theNumberOfCoverages |
| std::vector< ossimString > | theCoverageNames |
| std::map< ossim_int32, ossimString > | theTileNameMap |
Definition at line 23 of file ossimVpfLibrary.h.
| ossimVpfLibrary::ossimVpfLibrary | ( | ) |
Definition at line 20 of file ossimVpfLibrary.cpp.
|
virtual |
| bool ossimVpfLibrary::getCoverage | ( | long | coverageNumber, |
| ossimVpfCoverage & | coverage | ||
| ) |
Definition at line 65 of file ossimVpfLibrary.cpp.
References ossimFilename::dirCat(), ossimVpfCoverage::openCoverage(), theCoverageNames, and theLibraryNameFullPath.
Referenced by ossimVpfAnnotationCoverageInfo::buildCoverage(), getCoverage(), and ossimVpfAnnotationCoverageInfo::loadState().
| bool ossimVpfLibrary::getCoverage | ( | const ossimString & | name, |
| ossimVpfCoverage & | coverage | ||
| ) |
Definition at line 81 of file ossimVpfLibrary.cpp.
References getCoverage(), and theCoverageNames.
| bool ossimVpfLibrary::getCoverageNames | ( | std::vector< ossimString > & | coverageNames | ) | const |
Definition at line 169 of file ossimVpfLibrary.cpp.
References theCoverageNames.
| ossimVpfDatabase* ossimVpfLibrary::getDatabase | ( | ) | const |
| bool ossimVpfLibrary::getExtent | ( | ossimVpfExtent & | result | ) | const |
Definition at line 96 of file ossimVpfLibrary.cpp.
References free_row(), ossimVpfTable::getColumnValueAsString(), ossimVpfDatabase::getLibraryAttributeTable(), ossimVpfTable::getNumberOfRows(), ossimVpfTable::getVpfTableData(), ossimVpfTable::openTable(), read_row(), table_pos(), theDatabase, theLibraryName, ossimString::toDouble(), ossimString::trim(), extent_type::x1, extent_type::x2, extent_type::y1, and extent_type::y2.
| ossimString ossimVpfLibrary::getName | ( | ) | const |
| int ossimVpfLibrary::getNumberOfCoverages | ( | ) | const |
Definition at line 178 of file ossimVpfLibrary.cpp.
References theNumberOfCoverages.
| ossimFilename ossimVpfLibrary::getPath | ( | ) | const |
Definition at line 158 of file ossimVpfLibrary.cpp.
References theLibraryNameFullPath.
| ossimString ossimVpfLibrary::getTileName | ( | ossim_int32 | id | ) | const |
Definition at line 190 of file ossimVpfLibrary.cpp.
References ossimFilename::dirCat(), ossimFilename::exists(), setTileNames(), theLibraryNameFullPath, and theTileNameMap.
Referenced by ossimVpfAnnotationFeatureInfo::buildEdgFeature(), ossimVpfAnnotationFeatureInfo::buildFaceFeature(), ossimVpfAnnotationFeatureInfo::buildPointFeature(), and ossimVpfAnnotationFeatureInfo::buildTxtFeature().
| void ossimVpfLibrary::getTileNames | ( | std::vector< ossimString > & | tileNames | ) | const |
Definition at line 210 of file ossimVpfLibrary.cpp.
References ossimFilename::dirCat(), ossimFilename::exists(), setTileNames(), theLibraryNameFullPath, and theTileNameMap.
Referenced by ossimVpfCoverage::getExtent().
| bool ossimVpfLibrary::hasCoverage | ( | const ossimString & | coverageName | ) | const |
Definition at line 183 of file ossimVpfLibrary.cpp.
References theCoverageNames.
| bool ossimVpfLibrary::hasGazette | ( | ) | const |
| bool ossimVpfLibrary::openLibrary | ( | ossimVpfDatabase * | database, |
| const ossimString & | name, | ||
| const ossimFilename & | libraryPath | ||
| ) |
Definition at line 33 of file ossimVpfLibrary.cpp.
References setCoverageNames(), theCoverageNames, theDatabase, theLibraryName, theLibraryNameFullPath, and theNumberOfCoverages.
Referenced by ossimVpfDatabase::initializeLibraryList().
|
private |
Definition at line 227 of file ossimVpfLibrary.cpp.
References ossimFilename::dirCat(), ossimVpfTable::getColumnValues(), ossimVpfTable::openTable(), theCoverageNames, and theLibraryNameFullPath.
Referenced by openLibrary().
| void ossimVpfLibrary::setDatabase | ( | ossimVpfDatabase * | database | ) |
|
private |
Definition at line 241 of file ossimVpfLibrary.cpp.
References ossimFilename::dirCat(), free_row(), ossimVpfTable::getColumnPosition(), ossimVpfTable::getColumnValueAsString(), ossimVpfTable::getNumberOfRows(), ossimVpfTable::getVpfTableData(), ossimVpfTable::openTable(), read_row(), ossimVpfTable::reset(), theLibraryNameFullPath, theTileNameMap, ossimString::toInt32(), and ossimString::trim().
Referenced by getTileName(), and getTileNames().
|
private |
Definition at line 53 of file ossimVpfLibrary.h.
Referenced by getCoverage(), getCoverageNames(), hasCoverage(), openLibrary(), and setCoverageNames().
|
private |
Definition at line 49 of file ossimVpfLibrary.h.
Referenced by getExtent(), openLibrary(), and ~ossimVpfLibrary().
|
private |
Definition at line 50 of file ossimVpfLibrary.h.
Referenced by getExtent(), getName(), and openLibrary().
|
private |
Definition at line 51 of file ossimVpfLibrary.h.
Referenced by getCoverage(), getPath(), getTileName(), getTileNames(), openLibrary(), setCoverageNames(), and setTileNames().
|
private |
Definition at line 52 of file ossimVpfLibrary.h.
Referenced by getNumberOfCoverages(), and openLibrary().
|
mutableprivate |
Definition at line 54 of file ossimVpfLibrary.h.
Referenced by getTileName(), getTileNames(), and setTileNames().
1.8.14