|
Geogram Version 1.9.7
A programming library of geometric algorithms
|
Internal class for creating an AttributeStore from the type name of its elements. More...
#include <geogram/basic/attributes.h>
Public Member Functions | |
| ~AttributeStoreCreator () override | |
| AttributeStoreCreator destructor. | |
| virtual AttributeStore * | create_attribute_store (index_t dimension)=0 |
| Creates a new attribute store. | |
| virtual bool | elements_are_trivially_copyable () const =0 |
| Tests whether elements of this attribute can be trivially copyable. | |
Public Member Functions inherited from GEO::Counted | |
| void | ref () const |
| Increments the reference count. | |
| void | unref () const |
| Decrements the reference count. | |
| bool | is_shared () const |
| Check if the object is shared. | |
| int | nb_refs () const |
| Gets the number of references that point to this object. | |
Additional Inherited Members | |
Static Public Member Functions inherited from GEO::Counted | |
| static void | ref (const Counted *counted) |
| Increments the reference count. | |
| static void | unref (const Counted *counted) |
| Decrements the reference count. | |
Protected Member Functions inherited from GEO::Counted | |
| Counted () | |
| Creates a reference counted object. | |
| virtual | ~Counted () |
| Destroys a reference counted object. | |
Internal class for creating an AttributeStore from the type name of its elements.
Definition at line 181 of file attributes.h.
|
pure virtual |
Creates a new attribute store.
| [in] | dimension | number of elements in each item |
Implemented in GEO::TypedAttributeStoreCreator< T >.
|
pure virtual |
Tests whether elements of this attribute can be trivially copyable.
| true | if elements can be copied with memcpy and read, saved using fread(), fwrite |
| false | otherwise |
Implemented in GEO::TypedAttributeStoreCreator< T >.