12#ifndef MCRL2_DATA_DETAIL_FIND_H
13#define MCRL2_DATA_DETAIL_FIND_H
15#include "mcrl2/data/variable.h"
25 std::set<core::identifier_string> result;
26 for (
const data::variable& v: variables)
28 result.insert(v.name());
38 std::set<std::string> result;
39 for (
const data::variable& v: variables)
41 result.insert(std::string(v.name()));
51 std::set<std::string> result;
52 for (
const data::variable& v: variables1)
54 result.insert(std::string(v.name()));
56 for (
const data::variable& v: variables2)
58 result.insert(std::string(v.name()));
std::set< std::string > variable_name_strings(const std::set< data::variable > &variables)
Returns the names of a set of data variables as a set of strings.
std::set< std::string > variable_name_strings(const std::set< data::variable > &variables1, const std::set< data::variable > &variables2)
Returns the names of a set of data variables.
std::set< core::identifier_string > variable_names(const std::set< data::variable > &variables)
Returns the names of a set of data variables.