IFileHeader Class Referenceabstract
+ Inheritance diagram for IFileHeader:

Public Member Functions

virtual long long getPointCount () const =0
 
virtual long long getLineCount () const =0
 
virtual long long getLinePointCount () const =0
 
virtual long long getPolygonCount () const =0
 
virtual long long getPolygonPointCount () const =0
 
virtual BoxHandle getBoundingBox () const =0
 get the bounding box of the data set
 
virtual void getPrecision (double &precX, double &precY, double &precZ) const =0
 
virtual int getDim () const =0
 The highest dimensionality of contained geometries (e.g. 0 for points)
 
virtual const char * getCRS () const =0
 Get coordinate reference system as WKT string (can be empty)
 
virtual CoordRefSys getCRSType () const =0
 Get coordinate reference system type (enum if stored internally or a separate ".prj" file)
 
virtual AddInfoLayoutHandle getImportLayout () const =0
 Get the attributes (as addinfo layout) that can be retrieved when reading the corresponding file.
 
virtual AddInfoLayoutHandle getDataLayout () const =0
 Get the attribute layout of the data that will be returned by the import object. More...
 
virtual bool getPropetry (const char *name, unsigned &value) const =0
 
virtual bool getPropetry (const char *name, long long &value) const =0
 
virtual bool getPropetry (const char *name, double &value) const =0
 
- Public Member Functions inherited from ObjectBase
virtual void Delete ()
 

Member Function Documentation

◆ getDataLayout()

virtual AddInfoLayoutHandle getDataLayout ( ) const
pure virtual

Get the attribute layout of the data that will be returned by the import object.

The returned layout is merged from the provided layout during import object creation and the actual import attribute layout. In case no layout was provided during import creation (or the import class doesn't support this feature), the data and import layout are identical.

◆ getPrecision()

virtual void getPrecision ( double &  precX,
double &  precY,
double &  precZ 
) const
pure virtual

The 'epsilon' of coordinates (e.g. coordinates with mm-precision: 0.001) Relevant only for ASCII files.