MFEM
v3.2
Finite element discretization library
|
#include <hash.hpp>
Public Member Functions | |
IdGenerator (int first_id=0) | |
IdGenerator (const IdGenerator &other) | |
int | Get () |
Generate a unique ID. More... | |
void | Reuse (int id) |
Return an ID previously generated by 'Get'. More... | |
Helper class to generate unique IDs. When IDs are no longer needed, they can be returned to the class ('Reuse') and they will be returned next time 'Get' is called.
|
inline |
|
inline |