CGAL 5.4.1 - Combinatorial Maps
CGAL::Cell_attribute_with_id< Map, Info_, Tag, OnMerge, OnSplit > Class Template Reference

#include <CGAL/Cell_attribute_with_id.h>

Inherits from

CGAL::Cell_attribute< Map, Info_, Tag, OnMerge, OnSplit >.

Definition

The class Cell_attribute_with_id represents an attribute containing (or not) an information, and having an id.

Is Model Of:
CellAttribute
Template Parameters
Mapa model of the GenericMap concept.
Info_the type of the information contained in the attribute. Equal to void by default.
Tagis Tag_true to enable the storage of a Dart_handle of the associated cell, Tag_false otherwise. Equal to Tag_true by default.
OnMergethe type of the functor called before two attributes are merged. Equal to Null_functor by default.
OnSplitthe type of the functor called after one attribute is split in two. Equal to Null_functor by default.
See also
CGAL::Combinatorial_map<d,Items,Alloc>
CGAL::Generalized_map<d,Items,Alloc>

Public Member Functions

int id () const
 Returns the index.
 
int & id ()
 Returns the index by reference.
 

Additional Inherited Members

- Public Types inherited from CGAL::Cell_attribute< Map, Info_, Tag, OnMerge, OnSplit >
typedef Info_ Info
 
typedef Tag Supports_cell_dart
 
typedef OnMerge On_merge
 
typedef OnSplit On_split
 
typedef CMap::Dart_handle Dart_handle
 
typedef CMap::Dart_const_handle Dart_const_handle