dune-fem 2.8.0
Loading...
Searching...
No Matches
Public Member Functions | Static Public Member Functions | List of all members
Dune::Fem::IdProvider Class Reference

Singleton that manages a globally unique identifier. More...

#include <dune/fem/quadrature/idprovider.hh>

Public Member Functions

size_t newId ()
 
 IdProvider ()
 Constructor (for the singleton object)
 

Static Public Member Functions

static IdProviderinstance ()
 Access to the singleton object.
 

Detailed Description

Singleton that manages a globally unique identifier.

Constructor & Destructor Documentation

◆ IdProvider()

Dune::Fem::IdProvider::IdProvider ( )
inline

Constructor (for the singleton object)

Member Function Documentation

◆ 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: