/usr/include/ossim/vec/ossimVpfDatabase.h is in libossim-dev 1.8.16-4ubuntu1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 | //*******************************************************************
//
// License: See top level LICENSE.txt file.
//
// Author: Garrett Potts (gpotts@imagelinks.com)
// Description: This class give the capability to access tiles from an
// vpf file.
//
//********************************************************************
// $Id: ossimVpfDatabase.h 9967 2006-11-29 02:01:23Z gpotts $
#ifndef ossimVpfDatabase_HEADER
#define ossimVpfDatabase_HEADER
#include <vector>
using namespace std;
#include <ossim/base/ossimErrorContext.h>
#include <ossim/base/ossimFilename.h>
#include <ossim/base/ossimString.h>
class ossimVpfLibrary;
class ossimVpfDatabase
{
public:
/*!
* Initializes everything to null;
*/
ossimVpfDatabase();
/*!
* Destroys any allocated space.
*/
virtual ~ossimVpfDatabase();
/*!
* 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.
*/
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:
void initializeLibraryList();
void deleteLibraryList();
/*!
* This is the complete path to the Database Header Table (dht file).
*/
ossimFilename theDatabaseHeaderTable;
/*!
* This is the complete path to the library attribute table (lat file).
*/
ossimFilename theLibraryAttributeTable;
/*!
* Will hold a constructed set of libraries.
*/
vector<ossimVpfLibrary*> theVpfLibraryList;
/*!
* This jhust specifies whether the database has been opened or not.
*/
bool theOpenedFlag;
};
#endif
|