|
OSSIM - Open Source Software Image Map
Version 1.9.0 (20180803)
|
#include <ossimVpfDatabase.h>
Public Member Functions | |
| ossimVpfDatabase () | |
| virtual | ~ossimVpfDatabase () |
| virtual bool | openDatabase (const ossimFilename &filename) |
| void | closeDatabase () |
| ossimFilename | getPath () const |
| long | getNumberOfLibraries () const |
| ossimVpfLibrary * | getLibrary (unsigned long libraryNumber) |
| ossimVpfLibrary * | getLibrary (const ossimString &name) |
| bool | isOpened () const |
| vector< ossimString > | getLibraryNames () const |
| vector< ossimString > | getLibraryNamesFullPath () const |
| ossimFilename | getLibraryAttributeTable () const |
Protected Member Functions | |
| void | initializeLibraryList () |
| void | deleteLibraryList () |
Protected Attributes | |
| ossimFilename | theDatabaseHeaderTable |
| ossimFilename | theLibraryAttributeTable |
| vector< ossimVpfLibrary * > | theVpfLibraryList |
| bool | theOpenedFlag |
Definition at line 22 of file ossimVpfDatabase.h.
| ossimVpfDatabase::ossimVpfDatabase | ( | ) |
Initializes everything to null;
Definition at line 18 of file ossimVpfDatabase.cpp.
|
virtual |
Destroys any allocated space.
Definition at line 25 of file ossimVpfDatabase.cpp.
References closeDatabase(), and deleteLibraryList().
| void ossimVpfDatabase::closeDatabase | ( | ) |
Definition at line 77 of file ossimVpfDatabase.cpp.
References deleteLibraryList(), theDatabaseHeaderTable, theLibraryAttributeTable, and theOpenedFlag.
Referenced by ossimVpfAnnotationSource::close(), ossimVpfAnnotationSource::openDatabase(), and ~ossimVpfDatabase().
|
protected |
Definition at line 181 of file ossimVpfDatabase.cpp.
References theVpfLibraryList.
Referenced by closeDatabase(), initializeLibraryList(), and ~ossimVpfDatabase().
| ossimVpfLibrary * ossimVpfDatabase::getLibrary | ( | unsigned long | libraryNumber | ) |
Definition at line 97 of file ossimVpfDatabase.cpp.
References theVpfLibraryList.
Referenced by ossimVpfAnnotationLibraryInfo::loadState().
| ossimVpfLibrary * ossimVpfDatabase::getLibrary | ( | const ossimString & | name | ) |
Definition at line 108 of file ossimVpfDatabase.cpp.
References theVpfLibraryList.
| ossimFilename ossimVpfDatabase::getLibraryAttributeTable | ( | ) | const |
Definition at line 161 of file ossimVpfDatabase.cpp.
References theLibraryAttributeTable.
Referenced by ossimVpfLibrary::getExtent().
| vector< ossimString > ossimVpfDatabase::getLibraryNames | ( | ) | const |
Definition at line 127 of file ossimVpfDatabase.cpp.
References ossimVpfTable::getColumnValues(), ossimVpfTable::openTable(), and theLibraryAttributeTable.
Referenced by initializeLibraryList().
| vector< ossimString > ossimVpfDatabase::getLibraryNamesFullPath | ( | ) | const |
Definition at line 140 of file ossimVpfDatabase.cpp.
References ossimVpfTable::getColumnValues(), ossimVpfTable::openTable(), ossimFilename::path(), and theLibraryAttributeTable.
| long ossimVpfDatabase::getNumberOfLibraries | ( | ) | const |
Definition at line 92 of file ossimVpfDatabase.cpp.
References theVpfLibraryList.
| ossimFilename ossimVpfDatabase::getPath | ( | ) | const |
Definition at line 86 of file ossimVpfDatabase.cpp.
References ossimFilename::path(), and theLibraryAttributeTable.
Referenced by initializeLibraryList().
|
protected |
Definition at line 166 of file ossimVpfDatabase.cpp.
References deleteLibraryList(), getLibraryNames(), getPath(), ossimVpfLibrary::openLibrary(), and theVpfLibraryList.
Referenced by openDatabase().
| bool ossimVpfDatabase::isOpened | ( | ) | const |
Definition at line 122 of file ossimVpfDatabase.cpp.
References theOpenedFlag.
Referenced by ossimVpfAnnotationSource::isOpen(), and ossimVpfAnnotationSource::openDatabase().
|
virtual |
This will open a database. This will either be a dht(database header table) table or a library attribut table (lat) file. Both of these files should exist in a vpf database.
Definition at line 32 of file ossimVpfDatabase.cpp.
References ossimFilename::exists(), initializeLibraryList(), ossimVpfTable::openTable(), ossimFilename::path(), theDatabaseHeaderTable, theLibraryAttributeTable, and theOpenedFlag.
Referenced by ossimVpfAnnotationSource::openDatabase().
|
protected |
This is the complete path to the Database Header Table (dht file).
Definition at line 71 of file ossimVpfDatabase.h.
Referenced by closeDatabase(), and openDatabase().
|
protected |
This is the complete path to the library attribute table (lat file).
Definition at line 76 of file ossimVpfDatabase.h.
Referenced by closeDatabase(), getLibraryAttributeTable(), getLibraryNames(), getLibraryNamesFullPath(), getPath(), and openDatabase().
|
protected |
This jhust specifies whether the database has been opened or not.
Definition at line 86 of file ossimVpfDatabase.h.
Referenced by closeDatabase(), isOpened(), and openDatabase().
|
protected |
Will hold a constructed set of libraries.
Definition at line 81 of file ossimVpfDatabase.h.
Referenced by deleteLibraryList(), getLibrary(), getNumberOfLibraries(), and initializeLibraryList().
1.8.14