VR-Forces 4.7 Class Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
List of all members | Public Member Functions | Static Public Member Functions | Protected Member Functions | Protected Attributes
makVrf::DtPropShapefileImportHandler Class Reference

Handler for looking at all the point objects in a shapefile and translating them to props or speed trees as per the format of the dbf file. More...

Inheritance diagram for makVrf::DtPropShapefileImportHandler:
Inheritance graph
[legend]

Public Member Functions

 DtPropShapefileImportHandler (makVrv::DtDe &de)
 CTOR.
virtual ~DtPropShapefileImportHandler ()
 DTOR.
virtual bool importPropsFromShapefile (const std::string &, makVrv::DtUnicode &sError)
 Imports all the props from the shapefile with the given name.
- Public Member Functions inherited from makVrv::DtVirtualBaseClass
 DtVirtualBaseClass ()
 Do nothing constructor.
virtual ~DtVirtualBaseClass ()
 Virtual do nothing destructor.

Static Public Member Functions

static
DtPropShapefileImportHandler
instance (makVrv::DtDe &de)
static void registerInstance (makVrv::DtDe &de, DtPropShapefileImportHandler *)

Protected Member Functions

virtual bool importFeatureLayer (OGRDataSource *, OGRLayer *, const DtFilename &layerName, makVrv::DtUnicode &sError)
virtual bool importProp (OGRDataSource *, OGRLayer *, OGRFeature *, makArchives::DtPropRecord &)
virtual bool importPropsFromShapefile (OGRSFDriver *poDriver, const std::string &shapefile, makVrv::DtUnicode &sError)
virtual bool getFeatureLocation (OGRFeature *feature, DtVector &) const

Protected Attributes

makVrv::DtDemyDe
std::map< std::string, intmyNamesImportedCounts

Detailed Description

Handler for looking at all the point objects in a shapefile and translating them to props or speed trees as per the format of the dbf file.

Constructor & Destructor Documentation

makVrf::DtPropShapefileImportHandler::DtPropShapefileImportHandler ( makVrv::DtDe de)

CTOR.

virtual makVrf::DtPropShapefileImportHandler::~DtPropShapefileImportHandler ( )
virtual

DTOR.

Member Function Documentation

static DtPropShapefileImportHandler& makVrf::DtPropShapefileImportHandler::instance ( makVrv::DtDe de)
static
static void makVrf::DtPropShapefileImportHandler::registerInstance ( makVrv::DtDe de,
DtPropShapefileImportHandler  
)
static
virtual bool makVrf::DtPropShapefileImportHandler::importPropsFromShapefile ( const std::string &  ,
makVrv::DtUnicode sError 
)
virtual

Imports all the props from the shapefile with the given name.

virtual bool makVrf::DtPropShapefileImportHandler::importFeatureLayer ( OGRDataSource *  ,
OGRLayer *  ,
const DtFilename &  layerName,
makVrv::DtUnicode sError 
)
protectedvirtual
virtual bool makVrf::DtPropShapefileImportHandler::importProp ( OGRDataSource *  ,
OGRLayer *  ,
OGRFeature *  ,
makArchives::DtPropRecord  
)
protectedvirtual
virtual bool makVrf::DtPropShapefileImportHandler::importPropsFromShapefile ( OGRSFDriver *  poDriver,
const std::string &  shapefile,
makVrv::DtUnicode sError 
)
protectedvirtual
virtual bool makVrf::DtPropShapefileImportHandler::getFeatureLocation ( OGRFeature *  feature,
DtVector  
) const
protectedvirtual

Member Data Documentation

makVrv::DtDe& makVrf::DtPropShapefileImportHandler::myDe
protected
std::map<std::string, int> makVrf::DtPropShapefileImportHandler::myNamesImportedCounts
protected

The documentation for this class was generated from the following file:

Document ID: Generated on Fri Apr 26 21:53:14 EDT 2019 from SVN revision 197883
Copyright © 2005-2019 VT MAK. All Rights Reserved (www.mak.com)