dune-fem 2.12-git
Loading...
Searching...
No Matches
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.
 

Friends

class Dune::Fem::Singleton< IdProvider >
 

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.

Friends And Related Symbol Documentation

◆ Dune::Fem::Singleton< IdProvider >

friend class Dune::Fem::Singleton< IdProvider >
friend

The documentation for this class was generated from the following file: