Interface of an add info container object (used by geometry objects) More...
#include "IAddInfoContainer.hpp"
Public Member Functions | |
virtual bool | hasInfo () const =0 |
virtual const IAddInfo & | info () const =0 |
virtual IAddInfo & | info ()=0 |
virtual AddInfoHandle | getAddInfo () const =0 |
virtual void | setAddInfo (const AddInfoHandle &)=0 |
virtual void | setAddInfoView (const AddInfoLayoutHandle &layout, bool readOnly)=0 |
applies a certain layout view onto the current addinfo object More... | |
virtual void | restoreAddInfoFullLayout ()=0 |
removes any view layout and sets the true storage layout as (internal) layout | |
virtual void | cloneAddInfoView (const AddInfoLayoutHandle &layout, bool readOnly) const =0 |
internal creates a new addinfo object with the provide view layout that refers to the same storage object More... | |
virtual void | cloneAddInfoView (const AddInfoLayoutHandle &viewLayout, const AddInfoLayoutHandle &dataLayout) const =0 |
internal creates a new addinfo object with the provide view layout and secures that the storage object contains the dataLayout More... | |
virtual void | cloneAddInfoFullLayout () const =0 |
internal creates a new addinfo object using the true storage layout that referring to the same storage object | |
virtual bool | getAsDoubleByView (const AddInfoLayoutHandle &, unsigned index, double &value) const =0 |
virtual bool | getAsInt64ByView (const AddInfoLayoutHandle &, unsigned index, int64_t &value) const =0 |
virtual void | eraseLayout (const AddInfoLayoutHandle &)=0 |
removes the specified attributs from current object | |
Interface of an add info container object (used by 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.
|
pure virtual |
internal creates a new addinfo object with the provide view layout that refers to the same storage object
for further details see IAddInfo::cloneView
[in] | layout | view layout that should be set |
[in] | readOnly | flag if the layout of storage object should be changed, in case the view layout is not a true subset of the storage layout |
|
pure virtual |
internal creates a new addinfo object with the provide view layout and secures that the storage object contains the dataLayout
for further details see IAddInfo::cloneView
[in] | viewLayout | view layout that should be set |
[in] | dataLayout | defines columns that have to exist in the storage object |
|
pure virtual |
optimised variante to access a view column
|
pure virtual |
applies a certain layout view onto the current addinfo object
for further details see IAddInfo::setView
[in] | layout | view layout that should be set |
[in] | readOnly | flag if the layout of storage object should be changed, in case the view layout is not a true subset of the storage layout |