Object storing a dbf table definition (for shape files) More...
#include "IShapeTableDefinition.hpp"
Inheritance diagram for IShapeTableDefinition:Public Member Functions | |
| virtual unsigned | columns () const =0 |
| number of attributes/columns | |
| virtual const char * | name (unsigned index) const =0 |
| get name of attribute 'index' | |
| virtual ColumnType | type (unsigned index) const =0 |
| get type of attribute 'index' More... | |
| virtual unsigned | width (unsigned index) const =0 |
| length of string or number of digits for real and integeral number types | |
| virtual unsigned | decimales (unsigned index) const =0 |
| number of decimal places (only relevant for type DM::ColumnType::double_) | |
Public Member Functions inherited from ObjectBase | |
| virtual void | Delete () |
Static Public Member Functions | |
| static IShapeTableDefinition * | New (const AddInfoLayoutHandle &layout, bool removeLeadingUnderscore=false) |
| create a dbf table definition based on a add info layout | |
| static IShapeTableDefinition * | New (unsigned count, const char **names, const ColumnType *types, const unsigned *widths, const unsigned *decimals) |
| static void | translate (ColumnSemantic sem, ColumnType &dbfType, unsigned &dbfWidth, unsigned &dbfDecimals) |
| static void | translate (ColumnType ngType, unsigned size, ColumnType &dbfType, unsigned &dbfWidth, unsigned &dbfDecimals) |
Object storing a dbf table definition (for shape files)
|
pure virtual |
get type of attribute 'index'
a shape file can contain following types: