mcrl2/bes/boolean_expression.h

Include file:

#include "mcrl2/bes/boolean_expression.h"

add your file description here.

Typedefs

type mcrl2::bes::boolean_expression_list

typedef for atermpp::term_list< boolean_expression >

list of boolean_expressions

type mcrl2::bes::boolean_expression_vector

typedef for std::vector< boolean_expression >

vector of boolean_expressions

type mcrl2::bes::boolean_variable_key_type

typedef for core::identifier_string

Functions

bool is_and(const atermpp::aterm_appl &x)

Test for a and expression.

Parameters:

  • x A term

Returns: True if x is a and expression

bool mcrl2::bes::is_boolean_expression(const atermpp::aterm_appl &x)

Test for a boolean_expression expression.

Parameters:

  • x A term

Returns: True if x is a boolean_expression expression

bool is_boolean_variable(const atermpp::aterm_appl &x)

Test for a boolean_variable expression.

Parameters:

  • x A term

Returns: True if x is a boolean_variable expression

bool is_false(const atermpp::aterm_appl &x)

Test for a false expression.

Parameters:

  • x A term

Returns: True if x is a false expression

bool is_imp(const atermpp::aterm_appl &x)

Test for a imp expression.

Parameters:

  • x A term

Returns: True if x is a imp expression

bool is_not(const atermpp::aterm_appl &x)

Test for a not expression.

Parameters:

  • x A term

Returns: True if x is a not expression

bool is_or(const atermpp::aterm_appl &x)

Test for a or expression.

Parameters:

  • x A term

Returns: True if x is a or expression

bool is_true(const atermpp::aterm_appl &x)

Test for a true expression.

Parameters:

  • x A term

Returns: True if x is a true expression

std::ostream &mcrl2::bes::operator<<(std::ostream &out, const boolean_expression &x)

Outputs the object to a stream.

Parameters:

  • out An output stream

  • x Object x

Returns: The output stream

std::ostream &mcrl2::bes::operator<<(std::ostream &out, const true_ &x)

Outputs the object to a stream.

Parameters:

  • out An output stream

  • x Object x

Returns: The output stream

std::ostream &mcrl2::bes::operator<<(std::ostream &out, const false_ &x)

Outputs the object to a stream.

Parameters:

  • out An output stream

  • x Object x

Returns: The output stream

std::ostream &mcrl2::bes::operator<<(std::ostream &out, const not_ &x)

Outputs the object to a stream.

Parameters:

  • out An output stream

  • x Object x

Returns: The output stream

std::ostream &mcrl2::bes::operator<<(std::ostream &out, const and_ &x)

Outputs the object to a stream.

Parameters:

  • out An output stream

  • x Object x

Returns: The output stream

std::ostream &mcrl2::bes::operator<<(std::ostream &out, const or_ &x)

Outputs the object to a stream.

Parameters:

  • out An output stream

  • x Object x

Returns: The output stream

std::ostream &mcrl2::bes::operator<<(std::ostream &out, const imp &x)

Outputs the object to a stream.

Parameters:

  • out An output stream

  • x Object x

Returns: The output stream

std::ostream &mcrl2::bes::operator<<(std::ostream &out, const boolean_variable &x)

Outputs the object to a stream.

Parameters:

  • out An output stream

  • x Object x

Returns: The output stream

std::string pp(const T &x)

Returns a string representation of the object x.

std::string pp(const boolean_expression &x)
std::string pp(const true_ &x)
std::string pp(const false_ &x)
std::string pp(const not_ &x)
std::string pp(const and_ &x)
std::string pp(const or_ &x)
std::string pp(const imp &x)
std::string pp(const boolean_variable &x)
void mcrl2::bes::swap(boolean_expression &t1, boolean_expression &t2)

swap overload

void mcrl2::bes::swap(true_ &t1, true_ &t2)

swap overload

void mcrl2::bes::swap(false_ &t1, false_ &t2)

swap overload

void mcrl2::bes::swap(not_ &t1, not_ &t2)

swap overload

void mcrl2::bes::swap(and_ &t1, and_ &t2)

swap overload

void mcrl2::bes::swap(or_ &t1, or_ &t2)

swap overload

void mcrl2::bes::swap(imp &t1, imp &t2)

swap overload

void mcrl2::bes::swap(boolean_variable &t1, boolean_variable &t2)

swap overload

Functions

const boolean_expression &mcrl2::bes::accessors::left(boolean_expression const &e)
const boolean_expression &mcrl2::bes::accessors::right(boolean_expression const &e)