#include <enumerator_identifier_generator.h>
◆ enumerator_identifier_generator()
| mcrl2::data::enumerator_identifier_generator::enumerator_identifier_generator |
( |
const std::string & |
prefix = "x_" | ) |
|
|
inlineexplicit |
Constructor.
- Parameters
-
| prefix | The prefix of the generated generated strings |
- Precondition
- The prefix may not be empty, and it may not have trailing digits
Definition at line 36 of file enumerator_identifier_generator.h.
◆ clear()
| void mcrl2::data::enumerator_identifier_generator::clear |
( |
| ) |
|
|
inline |
◆ operator()() [1/2]
◆ operator()() [2/2]
Generates a unique constant function symbol with the given prefix followed by a number.
This is not as efficient as iteratively generating a string with a fixed prefix.
- Parameters
-
| prefix | The prefix used to generate this function symbol |
Definition at line 49 of file enumerator_identifier_generator.h.
The documentation for this class was generated from the following file: