/usr/include/ossim/vec/ossimVpfLibrary.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 | //*******************************************************************
//
// 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: ossimVpfLibrary.h 9967 2006-11-29 02:01:23Z gpotts $
#ifndef ossimVpfLibrary_HEADER
#define ossimVpfLibrary_HEADER
#include <vector>
#include <map>
#include <ossim/base/ossimString.h>
#include <ossim/base/ossimFilename.h>
#include <ossim/base/ossimErrorContext.h>
class ossimVpfCoverage;
class ossimVpfDatabase;
class ossimVpfExtent;
class OSSIMDLLEXPORT ossimVpfLibrary
{
public:
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:
ossimVpfDatabase* theDatabase;
ossimString theLibraryName;
ossimFilename theLibraryNameFullPath;
ossim_uint32 theNumberOfCoverages;
std::vector<ossimString> theCoverageNames;
mutable std::map<ossim_int32, ossimString> theTileNameMap;
void setCoverageNames();
void setTileNames()const;
};
#endif
|