CGAL 5.1 - STL Extensions for CGAL
ObjectWithEraseCounter Class Reference

#include <Concepts/ObjectWithEraseCounter.h>

Definition

The concept ObjectWithEraseCounter describes the functionalities an object must provide so that its erase counter is updated by a CGAL::Compact_container or a CGAL::Concurrent_compact_container.

See also
CGAL::Compact_container
CGAL::Concurrent_compact_container

Operations

unsigned int erase_counter () const
 Gets the value of the erase counter. More...
 
void set_erase_counter (unsigned int c)
 Sets the value of the erase counter. More...
 
void increment_erase_counter ()
 Increment the value of the erase counter. More...
 

Member Function Documentation

◆ erase_counter()

unsigned int ObjectWithEraseCounter::erase_counter ( ) const

Gets the value of the erase counter.

◆ increment_erase_counter()

void ObjectWithEraseCounter::increment_erase_counter ( )

Increment the value of the erase counter.

◆ set_erase_counter()

void ObjectWithEraseCounter::set_erase_counter ( unsigned int  c)

Sets the value of the erase counter.