mcrl2/data/variable.h

Include file:

#include "mcrl2/data/variable.h"

The class variable.

Typedefs

type variable_key_type

typedef for std::pair< atermpp::aterm, atermpp::aterm >

type variable_vector

typedef for std::vector< variable >

vector of variables

Functions

std::set<data::variable> find_all_variables(const data::variable &x)
std::set<data::variable> find_all_variables(const data::variable_list &x)
std::set<core::identifier_string> find_identifiers(const data::variable_list &x)
bool mcrl2::data::is_untyped_sort_variable(const atermpp::aterm_appl &x)

Test for a untyped_sort_variable expression.

Parameters:

  • x A term

Returns: True if x is a untyped_sort_variable expression

std::ostream &mcrl2::data::operator<<(std::ostream &out, const untyped_sort_variable &x)

Outputs the object to a stream.

Parameters:

  • out An output stream
  • x Object x

Returns: The output stream

std::ostream &mcrl2::data::operator<<(std::ostream &out, const variable &x)

Outputs the object to a stream.

Parameters:

  • out An output stream
  • x Object x

Returns: The output stream

std::string pp(const untyped_sort_variable &x)
std::string pp(const variable &x)
std::string pp(const variable_list &x)
std::string pp(const variable_vector &x)
std::string pp(const std::set<variable> &x)
void mcrl2::data::swap(untyped_sort_variable &t1, untyped_sort_variable &t2)

swap overload

void mcrl2::data::swap(variable &t1, variable &t2)

swap overload