Singleton that manages a globally unique identifier.
More...
#include <dune/fem/quadrature/idprovider.hh>
Singleton that manages a globally unique identifier.
◆ IdProvider()
Dune::Fem::IdProvider::IdProvider |
( |
| ) |
|
|
inline |
Constructor (for the singleton object)
◆ instance()
static IdProvider & Dune::Fem::IdProvider::instance |
( |
| ) |
|
|
inlinestatic |
Access to the singleton object.
◆ newId()
size_t Dune::Fem::IdProvider::newId |
( |
| ) |
|
|
inline |
Return a new identifier.
- Note
- Identifiers are never freed.
The documentation for this class was generated from the following file: