mcrl2/data/container_type.h

Include file:

#include "mcrl2/data/container_type.h"

Typedefs

type container_type_list

typedef for atermpp::term_list< container_type >

list of container_types

type container_type_vector

typedef for std::vector< container_type >

vector of container_types

Functions

bool mcrl2::data::is_bag_container(const atermpp::aterm_appl &x)

Test for a bag_container expression.

Parameters:

  • x A term

Returns: True if x is a bag_container expression

bool mcrl2::data::is_fbag_container(const atermpp::aterm_appl &x)

Test for a fbag_container expression.

Parameters:

  • x A term

Returns: True if x is a fbag_container expression

bool mcrl2::data::is_fset_container(const atermpp::aterm_appl &x)

Test for a fset_container expression.

Parameters:

  • x A term

Returns: True if x is a fset_container expression

bool mcrl2::data::is_list_container(const atermpp::aterm_appl &x)

Test for a list_container expression.

Parameters:

  • x A term

Returns: True if x is a list_container expression

bool mcrl2::data::is_set_container(const atermpp::aterm_appl &x)

Test for a set_container expression.

Parameters:

  • x A term

Returns: True if x is a set_container expression

std::ostream &mcrl2::data::operator<<(std::ostream &out, const container_type &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 list_container &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 set_container &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 bag_container &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 fset_container &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 fbag_container &x)

Outputs the object to a stream.

Parameters:

  • out An output stream
  • x Object x

Returns: The output stream

std::string pp(const container_type &x)
std::string pp(const list_container &x)
std::string pp(const set_container &x)
std::string pp(const bag_container &x)
std::string pp(const fset_container &x)
std::string pp(const fbag_container &x)
void mcrl2::data::swap(container_type &t1, container_type &t2)

swap overload

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

swap overload

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

swap overload

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

swap overload

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

swap overload

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

swap overload