/usr/include/ossim/vec/ossimVpfFeatureClass.h is in libossim-dev 1.7.21-3ubuntu2.
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 90 91 92 | #ifndef ossimVpfFeatureClass_HEADER
#define ossimVpfFeatureClass_HEADER
#include <ossim/base/ossimString.h>
#include <ossim/base/ossimFilename.h>
#include <ossim/base/ossimErrorContext.h>
class ossimVpfCoverage;
class ossimVpfFeatureClass
{
public:
ossimVpfFeatureClass();
/*!
* Will initialize the feature class for this
* coverage and do some validation.
*/
bool openFeatureClass(const ossimString& featureClassName,
const ossimFilename& featureClassFullPath,
const ossimFilename& table1,
const ossimString& columnNameIdTable1,
const ossimFilename& table2,
const ossimString& columnNameIdTable2);
const ossimString& getName()const;
/*!
* This will specify if this feature is a primitive.
* the names of certain primitives are:
*
* end Entity node primitive
* cnd Connected node primitive
* edg Edge Primitive
* fac Face Primitive
* txt Text primitive
*/
static bool isPrimitive(const ossimString& featureName);
/*!
* This just specifies if the input is a simple feature.
*
* Some of the simple features are:
*
* .pft Point feature table
* .lft Line feature table
* .aft area feature table
* .tft text feature table
*/
static bool isSimpleFeature(const ossimString& featureName);
/*!
* This just specifies if the input is a comples feature.
*
* .cft Complex feature table.
*
*/
static bool isComplexFeature(const ossimString& featureName);
/*!
* Will use the isComplexFeature and isSimpleFeature to
* determine if the input is a feature
*/
static bool isFeature(const ossimString& featureName);
/*!
* Will specifiy if it is a join table.
*
* Some of the join table type are:
*
* .cjt Complex join table
* .pjt Point join table
* .ljt Line join table
* .ajt area join table
* .tjt text join table
*/
static bool isJoin(const ossimString& featureName);
ossimFilename getTable1()const;
ossimFilename getTable2()const;
private:
ossimFilename theFeatureClassFullPath;
ossimString theFeatureClassName;
ossimFilename theTableName1;
ossimString theColumnNameId1;
ossimFilename theTableName2;
ossimString theColumnNameId2;
};
#endif
|