|
Geogram Version 1.9.7
A programming library of geometric algorithms
|
Implementation of AttributeStoreCreator for a specific type. More...
#include <geogram/basic/attributes.h>
Public Member Functions | |
| AttributeStore * | create_attribute_store (index_t dim) override |
| Creates a new attribute store. | |
| bool | elements_are_trivially_copyable () const override |
| Tests whether elements of this attribute can be trivially copyable. | |
Public Member Functions inherited from GEO::AttributeStoreCreator | |
| ~AttributeStoreCreator () override | |
| AttributeStoreCreator destructor. | |
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. | |
Implementation of AttributeStoreCreator for a specific type.
| T | type of the elements |
Definition at line 857 of file attributes.h.
|
inlineoverridevirtual |
Creates a new attribute store.
| [in] | dimension | number of elements in each item |
Implements GEO::AttributeStoreCreator.
Definition at line 862 of file attributes.h.
|
inlineoverridevirtual |
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 |
Implements GEO::AttributeStoreCreator.
Definition at line 869 of file attributes.h.