Include file:
#include "mcrl2/data/xyz_identifier_generator.h
mcrl2::data::
xyz_identifier_generator
¶Identifier generator that generates names from the range X, Y, Z, X0, Y0, Z0, X1, …
mcrl2::data::xyz_identifier_generator::
m_char
¶The character of the last generated identifier.
mcrl2::data::xyz_identifier_generator::
m_index
¶The index of the last generated identifier.
next
()¶Returns the next name in the range X, Y, Z, X0, Y0, Z0, X1, …
Returns: The next name in the range X, Y, Z, X0, Y0, Z0, X1, …
operator()
(const std::string &hint, bool add_to_context = true)Returns hint if it isn’t in the context yet. Else the next available identifier in the range X, Y, Z, X0, Y0, Z0, X1, … is returned.
Parameters:
Returns: A fresh identifier.
xyz_identifier_generator
()¶Constructor.
xyz_identifier_generator
(const std::set<core::identifier_string> &ids)¶Constructor.
Parameters: