Include file:
#include "mcrl2/data/set_identifier_generator.h
mcrl2::data::
multiset_identifier_generator
¶Identifier generator that stores the identifiers of the context in a multiset. If an identifier occurs multiple times, multiple calls to remove_from_context are required to remove it. Using the operator()() and operator()(std::string) fresh identifiers can be generated that do not appear in the context.
mcrl2::data::multiset_identifier_generator::
m_identifiers
¶The context of the identifier generator.
add_identifier
(const core::identifier_string &s) overrideAdds the identifier s to the context.
Parameters:
clear_context
() overrideClears the context.
context
() const¶Returns the context.
Returns: The context.
has_identifier
(const core::identifier_string &s) const overrideReturns true if the identifier s appears in the context.
Parameters:
Returns: True if the identifier s appears in the context.
multiset_identifier_generator
() = default¶Constructor.
remove_identifier
(const core::identifier_string &s) overrideRemoves one occurrence of the identifier s from the context.
Parameters: