3 #include "DM/config.hpp"
4 #include "DM/AutoLink.hpp"
5 #include "DM/Handle.hpp"
6 #include "DM/ObjectBase.hpp"
8 #include "DM/IAddInfoLayout.hpp"
38 virtual const char*
getName()
const = 0;
39 virtual const char* getDescription()
const = 0;
40 virtual uint32_t getElementCount()
const = 0;
43 virtual double getScale()
const = 0;
44 virtual double getOffset()
const = 0;
46 virtual bool hasInvalidValue()
const = 0;
47 virtual double getInvalidValue()
const = 0;
54 virtual int32_t getDataLayoutIndex()
const = 0;
77 virtual bool getProperty(
const char* name,
bool &value)
const = 0;
78 virtual bool getProperty(
const char* name,
unsigned &value)
const = 0;
79 virtual bool getProperty(
const char* name,
long long &value)
const = 0;
80 virtual bool getProperty(
const char* name,
double &value)
const = 0;
81 virtual bool getProperty(
const char* name,
const char *&value)
const = 0;
83 virtual uint32_t getPropertyCount()
const = 0;
84 virtual const char* getPropertyName(uint32_t idx)
const = 0;
85 virtual ColumnType getPropertyType(uint32_t idx)
const = 0;
86 virtual ColumnType getPropertyType(
const char* name)
const = 0;
98 virtual long long getPointCount()
const = 0;
99 virtual long long getLineCount()
const = 0;
100 virtual long long getLinePointCount()
const = 0;
101 virtual long long getPolygonCount()
const = 0;
102 virtual long long getPolygonPointCount()
const = 0;
105 virtual BoxHandle getBoundingBox()
const = 0;
109 virtual void getPrecision(
double& precX,
double& precY,
double& precZ )
const = 0;
112 virtual int getDim()
const = 0;
115 virtual const char* getCRS()
const = 0;
128 virtual uint32_t getAttributeCount()
const = 0;
130 virtual const IFileAttribute& getAttribute(uint32_t idx)
const = 0;
132 virtual uint32_t getAttributePropertyCount()
const = 0;
133 virtual const char* getAttributePropertyName(uint32_t idx)
const = 0;
134 virtual ColumnType getAttributePropertyType(uint32_t idx)
const = 0;
135 virtual ColumnType getAttributePropertyType(
const char* name)
const = 0;
155 virtual bool getProperty(
const char* name,
unsigned &value)
const = 0;
156 virtual bool getProperty(
const char* name,
long long &value)
const = 0;
157 virtual bool getProperty(
const char* name,
double &value)
const = 0;
158 virtual bool getProperty(
const char* name,
bool& value)
const = 0;
159 virtual bool getProperty(
const char *name,
const char *&value)
const = 0;
160 virtual bool getProperty(
const char* name,
unsigned &arrayCount,
const double*& value)
const = 0;
162 virtual uint32_t getPropertyCount()
const = 0;
163 virtual const char* getPropertyName(uint32_t idx)
const = 0;
164 virtual ColumnType getPropertyType(uint32_t idx)
const = 0;
165 virtual ColumnType getPropertyType(
const char* name)
const = 0;