![]() |
VR-Forces 4.6 Class Documentation
|
DtShapeFeatureFile reads in DtShapeRecords and their associated attributes. More...

Public Types | |
| enum | DtFeatureTypes { PointFeature, LinearFeature, ArealFeature } |
Public Member Functions | |
| DtShapeFeatureFile (const DtShapeVectorInitializer *i) | |
| Constructor. | |
| virtual | ~DtShapeFeatureFile () |
| Destructor. | |
| virtual DtGroup * | import (DtShapeReader *reader) |
| Override from DtShapeFile. Returns 0. | |
| virtual bool | importFeatures (DtShapeVectorReader *reader) |
| Reads the feature and associated attributes (if specified in the .map file) for each DtShapeRecord in myList. | |
Public Member Functions inherited from DtShapefile | |
| DtShapefile (const DtShapeInitializer *i) | |
| DtShapefile (const DtShapeVectorInitializer *i) | |
| virtual | ~DtShapefile () |
| virtual void | init () |
| virtual bool | load (const DtFilename &path, const DtShapeEntry *entry) |
| 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) |
Protected Member Functions | |
| virtual bool | initSpecification (int &fccCode, DtSpecification &spec, DtSpecificationID &specID, DtFeatureTypes featureType, int recordNumber, const DtShapeVectorInitializer::DtShapeAttributeMapContainer &attributeAliasMap) |
| Called by import features with a spec that contains a DtFidCode and DtFeatureType. | |
| virtual bool | createNewSpecification (const DtFilename &specificationFilename, int fccCode, DtSpecification &spec, DtSpecificationID &specID, DtFeatureTypes featureType, bool warn=true) |
| virtual void | readMappedFeatureAttributes (DtSpecification &spec, DtSpecificationID &specID, int recordNumber, const DtShapeVectorInitializer::DtShapeAttributeMapContainer &attributeMap, std::list< DtString > &fieldNamesRead) |
| Attempts to add an attribute for each dBASE field specified in the supplied mapping. | |
| virtual bool | readSingleFeatureAttribute (DtSpecification &spec, int recordNumber, unsigned int attributeType, const DtString &fieldName, const DtString &attributeName) |
| virtual void | readAllFeatureAttributes (DtSpecification &spec, DtSpecificationID &specID, int recordNumber, const std::list< DtString > &fieldsToExclude) |
| Adds an attribute for every field specified in .dbf file. | |
| virtual int | findFccCodeFromFilename () |
| virtual bool | loadShapeAttributeAliasMap (DtShapeVectorInitializer::DtShapeAttributeMapContainer &attributeMap) |
Protected Member Functions inherited from DtShapefile | |
| 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) |
DtShapeFeatureFile reads in DtShapeRecords and their associated attributes.
| DtShapeFeatureFile::DtShapeFeatureFile | ( | const DtShapeVectorInitializer * | i | ) |
Constructor.
|
virtual |
Destructor.
|
virtual |
Override from DtShapeFile. Returns 0.
Implements DtShapefile.
|
virtual |
Reads the feature and associated attributes (if specified in the .map file) for each DtShapeRecord in myList.
Implements DtShapefile.
|
protectedvirtual |
Called by import features with a spec that contains a DtFidCode and DtFeatureType.
If the spec is not already contained in myVectorReader's local specification list, it is created according to dfad_sedris_map.txt.
|
protectedvirtual |
|
protectedvirtual |
Attempts to add an attribute for each dBASE field specified in the supplied mapping.
Any fields that are read by this function have their name added
|
protectedvirtual |
|
protectedvirtual |
Adds an attribute for every field specified in .dbf file.
|
protectedvirtual |
|
protectedvirtual |