|
MFEM
v3.0
|
#include <hash.hpp>
Public Member Functions | |
| IdGenerator (int first_id=0) | |
| 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 |
1.8.5