![]() |
VR-Forces 4.0.4 Class Documentation
|

Public Member Functions | |
| DtShapefile (const DtShapeInitializer *i) | |
| DtShapefile (const DtShapeVectorInitializer *i) | |
| virtual | ~DtShapefile () |
| virtual void | init () |
| virtual bool | load (const DtFilename &path, const DtShapeEntry *entry) |
| virtual DtGroup * | import (DtShapeReader *db)=0 |
| virtual bool | importFeatures (DtShapeVectorReader *db)=0 |
| virtual double | xMin () |
| virtual double | yMin () |
| virtual double | xMax () |
| virtual double | yMax () |
| virtual DtList & | list () |
| virtual void | setRealImportFunction (const char type, DtRealShapeImportFcn fcn) |
| virtual DtRealShapeImportFcn | lookupRealImportFunction (const char type) |
| virtual void | setIntegerImportFunction (const char type, DtIntegerShapeImportFcn fcn) |
| virtual DtIntegerShapeImportFcn | lookupIntegerImportFunction (const char type) |
| virtual void | setStringImportFunction (const char type, DtStringShapeImportFcn fcn) |
| virtual DtStringShapeImportFcn | lookupStringImportFunction (const char type) |
| virtual DtString | projectionType () const |
| DtShapeProjection * | projectionInformation () const |
| virtual Coordinate_System * | coordinateSystem () const |
| virtual void | getCorners (DtGeodeticCoord &ll, DtGeodeticCoord &ur) |
| virtual void | loadProjectionFile () |
| virtual bool | openDbf () |
| virtual bool | openDbf (const DtFilename &) |
| virtual bool | closeDbf () |
| virtual int | numDbfColumns () const |
| virtual bool | column (int col, DtString &colName, char &colType, unsigned char &colLength) |
Static Public Member Functions | |
| static void | importNumberAsReal (const char *feature, DtReal &value) |
| static void | importNumberAsInteger (const char *feature, int &value) |
| static void | importCharAsString (const char *feature, DtString &value) |
| static void | setShapeProjectionCreatorFcn (DtShapeProjectionCreatorFcn) |
Protected Member Functions | |
| virtual char * | readFeature (const DtString &featureName, int featureNumber, char &fieldType) |
| virtual bool | readFeatureAsReal (const DtString &featureName, int featureNumber, DtReal &value) |
| virtual bool | readFeatureAsInteger (const DtString &featureName, int featureNumber, int &value) |
| virtual bool | readFeatureAsString (const DtString &featureName, int featureNumber, DtString &value) |
Protected Attributes | |
| const DtShapeInitializer * | myInitializer |
| const DtShapeVectorInitializer * | myVectorInitializer |
| const DtShapeEntry * | myEntry |
| DtFilename | myFilename |
| DtShapeHeader * | myHeader |
| DtList | myList |
| DtShapeReader * | myReader |
| DtShapeVectorReader * | myVectorReader |
| FILE * | myDbfFile |
| DtNetInt32 | myDbfRecordCount |
| DtNetInt16 | myDbfRecordSize |
| DtNetInt16 | myDbfHeaderSize |
| DtHashlist | myRealImportFunctions |
| DtHashlist | myIntegerImportFunctions |
| DtHashlist | myStringImportFunctions |
| DtShapeProjection * | myProjectionInformation |
Static Protected Attributes | |
| static DtShapeProjectionCreatorFcn | theShapeProjectionCreator |
Private Member Functions | |
| DtShapefile (const DtShapefile &original) | |
| DtShapefile & | operator= (const DtShapefile &original) |
| DtShapefile::DtShapefile | ( | const DtShapeInitializer * | i | ) |
| DtShapefile::DtShapefile | ( | const DtShapeVectorInitializer * | i | ) |
| virtual DtShapefile::~DtShapefile | ( | ) | [virtual] |
| DtShapefile::DtShapefile | ( | const DtShapefile & | original | ) | [private] |
| DtShapefile& DtShapefile::operator= | ( | const DtShapefile & | original | ) | [private] |
| virtual void DtShapefile::init | ( | ) | [virtual] |
| virtual bool DtShapefile::load | ( | const DtFilename & | path, |
| const DtShapeEntry * | entry | ||
| ) | [virtual] |
Reimplemented in DtShapeTerrainFile.
| virtual DtGroup* DtShapefile::import | ( | DtShapeReader * | db | ) | [pure virtual] |
Implemented in DtShapeFeatureFile, and DtShapeTerrainFile.
| virtual bool DtShapefile::importFeatures | ( | DtShapeVectorReader * | db | ) | [pure virtual] |
Implemented in DtShapeFeatureFile, and DtShapeTerrainFile.
| virtual double DtShapefile::xMin | ( | ) | [virtual] |
| virtual double DtShapefile::yMin | ( | ) | [virtual] |
| virtual double DtShapefile::xMax | ( | ) | [virtual] |
| virtual double DtShapefile::yMax | ( | ) | [virtual] |
| virtual DtList& DtShapefile::list | ( | ) | [virtual] |
| virtual void DtShapefile::setRealImportFunction | ( | const char | type, |
| DtRealShapeImportFcn | fcn | ||
| ) | [virtual] |
| virtual DtRealShapeImportFcn DtShapefile::lookupRealImportFunction | ( | const char | type | ) | [virtual] |
| static void DtShapefile::importNumberAsReal | ( | const char * | feature, |
| DtReal & | value | ||
| ) | [static] |
| virtual void DtShapefile::setIntegerImportFunction | ( | const char | type, |
| DtIntegerShapeImportFcn | fcn | ||
| ) | [virtual] |
| virtual DtIntegerShapeImportFcn DtShapefile::lookupIntegerImportFunction | ( | const char | type | ) | [virtual] |
| static void DtShapefile::importNumberAsInteger | ( | const char * | feature, |
| int & | value | ||
| ) | [static] |
| virtual void DtShapefile::setStringImportFunction | ( | const char | type, |
| DtStringShapeImportFcn | fcn | ||
| ) | [virtual] |
| virtual DtStringShapeImportFcn DtShapefile::lookupStringImportFunction | ( | const char | type | ) | [virtual] |
| static void DtShapefile::importCharAsString | ( | const char * | feature, |
| DtString & | value | ||
| ) | [static] |
| virtual DtString DtShapefile::projectionType | ( | ) | const [virtual] |
| DtShapeProjection * DtShapefile::projectionInformation | ( | ) | const [inline] |
References myProjectionInformation.
| static void DtShapefile::setShapeProjectionCreatorFcn | ( | DtShapeProjectionCreatorFcn | ) | [static] |
| virtual Coordinate_System* DtShapefile::coordinateSystem | ( | ) | const [virtual] |
| virtual void DtShapefile::getCorners | ( | DtGeodeticCoord & | ll, |
| DtGeodeticCoord & | ur | ||
| ) | [virtual] |
| virtual bool DtShapefile::openDbf | ( | ) | [virtual] |
| virtual bool DtShapefile::openDbf | ( | const DtFilename & | ) | [virtual] |
| virtual bool DtShapefile::closeDbf | ( | ) | [virtual] |
| virtual int DtShapefile::numDbfColumns | ( | ) | const [virtual] |
| virtual bool DtShapefile::column | ( | int | col, |
| DtString & | colName, | ||
| char & | colType, | ||
| unsigned char & | colLength | ||
| ) | [virtual] |
| virtual void DtShapefile::loadProjectionFile | ( | ) | [virtual] |
| virtual char* DtShapefile::readFeature | ( | const DtString & | featureName, |
| int | featureNumber, | ||
| char & | fieldType | ||
| ) | [protected, virtual] |
| virtual bool DtShapefile::readFeatureAsReal | ( | const DtString & | featureName, |
| int | featureNumber, | ||
| DtReal & | value | ||
| ) | [protected, virtual] |
| virtual bool DtShapefile::readFeatureAsInteger | ( | const DtString & | featureName, |
| int | featureNumber, | ||
| int & | value | ||
| ) | [protected, virtual] |
| virtual bool DtShapefile::readFeatureAsString | ( | const DtString & | featureName, |
| int | featureNumber, | ||
| DtString & | value | ||
| ) | [protected, virtual] |
const DtShapeInitializer* DtShapefile::myInitializer [protected] |
const DtShapeVectorInitializer* DtShapefile::myVectorInitializer [protected] |
const DtShapeEntry* DtShapefile::myEntry [protected] |
DtFilename DtShapefile::myFilename [protected] |
DtShapeHeader* DtShapefile::myHeader [protected] |
DtList DtShapefile::myList [protected] |
DtShapeReader* DtShapefile::myReader [protected] |
DtShapeVectorReader* DtShapefile::myVectorReader [protected] |
FILE* DtShapefile::myDbfFile [protected] |
DtNetInt32 DtShapefile::myDbfRecordCount [protected] |
DtNetInt16 DtShapefile::myDbfRecordSize [protected] |
DtNetInt16 DtShapefile::myDbfHeaderSize [protected] |
DtHashlist DtShapefile::myRealImportFunctions [protected] |
DtHashlist DtShapefile::myIntegerImportFunctions [protected] |
DtHashlist DtShapefile::myStringImportFunctions [protected] |
DtShapeProjection* DtShapefile::myProjectionInformation [protected] |
Referenced by projectionInformation().
DtShapeProjectionCreatorFcn DtShapefile::theShapeProjectionCreator [static, protected] |