Geogram  Version 1.9.1-rc
A programming library of geometric algorithms
GEO::AttributeStoreCreator Class Referenceabstract

Internal class for creating an AttributeStore from the type name of its elements. More...

#include <geogram/basic/attributes.h>

Inheritance diagram for GEO::AttributeStoreCreator:
GEO::Counted GEO::TypedAttributeStoreCreator< T >

Public Member Functions

 ~AttributeStoreCreator () override
 AttributeStoreCreator destructor.
 
virtual AttributeStorecreate_attribute_store (index_t dimension)=0
 Creates a new attribute store. More...
 
- Public Member Functions inherited from GEO::Counted
void ref () const
 Increments the reference count. More...
 
void unref () const
 Decrements the reference count. More...
 
bool is_shared () const
 Check if the object is shared. More...
 
int nb_refs () const
 Gets the number of references that point to this object. More...
 

Additional Inherited Members

- Static Public Member Functions inherited from GEO::Counted
static void ref (const Counted *counted)
 Increments the reference count. More...
 
static void unref (const Counted *counted)
 Decrements the reference count. More...
 
- Protected Member Functions inherited from GEO::Counted
 Counted ()
 Creates a reference counted object. More...
 
virtual ~Counted ()
 Destroys a reference counted object. More...
 

Detailed Description

Internal class for creating an AttributeStore from the type name of its elements.

Definition at line 163 of file attributes.h.

Member Function Documentation

◆ create_attribute_store()

virtual AttributeStore* GEO::AttributeStoreCreator::create_attribute_store ( index_t  dimension)
pure virtual

Creates a new attribute store.

Parameters
[in]dimensionnumber of elements in each item
Returns
a pointer to the newly created AttributeStore

Implemented in GEO::TypedAttributeStoreCreator< T >.


The documentation for this class was generated from the following file: