AddInfo layouts describe a set of attributes that can be attached to geometry objects. More...
#include "IAddInfoLayout.hpp"
Public Member Functions | |
virtual unsigned | columns () const =0 |
virtual const char * | name (unsigned index) const =0 |
virtual ColumnType | type (unsigned index) const =0 |
virtual ColumnSemantic | semantic (unsigned index) const =0 |
virtual unsigned | size (unsigned index) const =0 |
returns array size | |
virtual int | index (const char *) const =0 |
virtual int | index (ColumnSemantic) const =0 |
![]() | |
virtual void | Delete () |
Static Public Member Functions | |
static const char * | getColumnName (ColumnSemantic semantic) |
returns the predefined column name for a specific semantic. | |
static ColumnType | getColumnType (ColumnSemantic semantic) |
returns the column type of a predefined semantic | |
static ColumnSemantic | getColumnSemantic (const char *name, bool caseSensitive=true) |
static ColumnType | getColumnType (const char *name, bool caseSensitive=true) |
static StaticHandle< IAddInfoLayout > | getHandle (const IAddInfoLayout *obj) |
return from a IAddInfoLayout pointer the corresponding handle object (AddInfoLayoutHandle) | |
AddInfo layouts describe a set of attributes that can be attached to geometry objects.
Managing attributes, layout and views is a core feature of the DM library. Please refer to the Managing Attributes section for implementation concepts and to the examples section (attribute handling) for further details.
|
static |
find the semantic enumerator based on a given column name
|
static |
find the type of a predefined column based on a given column name