Geogram  Version 1.9.1
A programming library of geometric algorithms
GEO::TypedAttributeStoreCreator< T > Class Template Reference

Implementation of AttributeStoreCreator for a specific type. More...

#include <geogram/basic/attributes.h>

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

Public Member Functions

AttributeStorecreate_attribute_store (index_t dim) override
 Creates a new attribute store. More...
 
- 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. 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

template<class T>
class GEO::TypedAttributeStoreCreator< T >

Implementation of AttributeStoreCreator for a specific type.

Template Parameters
Ttype of the elements

Definition at line 781 of file attributes.h.

Member Function Documentation

◆ create_attribute_store()

template<class T >
AttributeStore* GEO::TypedAttributeStoreCreator< T >::create_attribute_store ( index_t  dim)
inlineoverridevirtual

Creates a new attribute store.

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

Implements GEO::AttributeStoreCreator.

Definition at line 786 of file attributes.h.


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