Geogram  Version 1.9.1
A programming library of geometric algorithms
attributes.h File Reference

Generic mechanism for attributes. More...

#include <geogram/basic/common.h>
#include <geogram/basic/memory.h>
#include <geogram/basic/numeric.h>
#include <geogram/basic/process.h>
#include <geogram/basic/geofile.h>
#include <geogram/basic/logger.h>
#include <map>
#include <typeinfo>
#include <set>
#include <type_traits>

Go to the source code of this file.

Classes

class  GEO::AttributeStoreObserver
 Base class for attributes. They are notified whenever the AttributeStore is modified. More...
 
class  GEO::AttributeStoreCreator
 Internal class for creating an AttributeStore from the type name of its elements. More...
 
class  GEO::AttributeStore
 Notifies a set of AttributeStoreObservers each time the stored array changes size and/or base address and/or dimension. More...
 
class  GEO::TypedAttributeStore< T >
 Stores an array of elements of a given type, and notifies a set of AttributeStoreObservers each time the storead array changes size and/or base address. More...
 
class  GEO::TypedAttributeStoreCreator< T >
 Implementation of AttributeStoreCreator for a specific type. More...
 
class  GEO::geo_register_attribute_type< T >
 Helper class to register new attribute types. More...
 
class  GEO::AttributesManager
 Managers a set of attributes attached to an object. More...
 
class  GEO::AttributeBase< T >
 Base class for Attributes, that manipulates an attribute stored in an AttributesManager. More...
 
class  GEO::Attribute< T >
 Manages an attribute attached to a set of object. More...
 
class  GEO::Attribute< bool >
 Specialization of Attribute for booleans. More...
 
class  GEO::Attribute< bool >::ConstBoolAttributeAccessor
 Accessor class for adapting Attribute<bool> indexing. More...
 
class  GEO::Attribute< bool >::BoolAttributeAccessor
 Accessor class for adapting Attribute<bool> indexing. More...
 
class  GEO::ScalarAttributeAdapterBase
 Access to an attribute as a double regardless its type. More...
 
class  GEO::ScalarAttributeAdapterBase::Accessor
 Accessor class used by ScalarAttributeAdapter to implement indexing operator. More...
 
class  GEO::ScalarAttributeAdapterBase::ConstAccessor
 Accessor class used by ScalarAttributeAdapter to implement indexing operator (const version). More...
 
class  GEO::ReadOnlyScalarAttributeAdapter
 Readonly access to an attribute as a double regardless its type. More...
 
class  GEO::ReadWriteScalarAttributeAdapter
 Readwrite access to an attribute as a double regardless its type. More...
 

Namespaces

 GEO
 Global Vorpaline namespace.
 

Typedefs

typedef SmartPointer< AttributeStoreCreator > GEO::AttributeStoreCreator_var
 An automatic reference-counted pointer to an AttributeStoreCreator.
 

Detailed Description

Generic mechanism for attributes.

Definition in file attributes.h.