Loading [MathJax]/extensions/tex2jax.js
IFileAttribute Class Referenceabstract

interface for describung attributs of geometry objects More...

#include "IFileHeader.hpp"

+ Inheritance diagram for IFileAttribute:

Public Member Functions

virtual const char * getName () const =0
 
virtual const char * getDescription () const =0
 
virtual uint32_t getElementCount () const =0
 number of elements (typically 1)
 
virtual ColumnType getType () const =0
 
virtual double getScale () const =0
 
virtual double getOffset () const =0
 
virtual bool hasInvalidValue () const =0
 
virtual double getInvalidValue () const =0
 
virtual int32_t getDataLayoutIndex () const =0
 get the index of attribute within the data layout More...
 
virtual bool getProperty (const char *name, bool &value) const =0
 
virtual bool getProperty (const char *name, unsigned &value) const =0
 
virtual bool getProperty (const char *name, long long &value) const =0
 
virtual bool getProperty (const char *name, double &value) const =0
 
virtual bool getProperty (const char *name, const char *&value) const =0
 
- Public Member Functions inherited from ObjectBase
virtual void Delete ()
 

Detailed Description

interface for describung attributs of geometry objects

Member Function Documentation

◆ getDataLayoutIndex()

virtual int32_t getDataLayoutIndex ( ) const
pure virtual

get the index of attribute within the data layout

For import classes that provide configurable attribute import, the layout index can only be access AFTER prepareForReading was called, since the actual data layout and the corresponding indices are typcially constructed/collected there.