mCRL2
Loading...
Searching...
No Matches
mcrl2::state_formulas::add_state_variable_binding< Builder, Derived > Struct Template Reference

Maintains a multiset of bound state variables during traversal. More...

#include <add_binding.h>

Inheritance diagram for mcrl2::state_formulas::add_state_variable_binding< Builder, Derived >:
mcrl2::core::add_binding< Builder, Derived, core::identifier_string >

Public Types

typedef core::add_binding< Builder, Derived, core::identifier_stringsuper
 
- Public Types inherited from mcrl2::core::add_binding< Builder, Derived, core::identifier_string >
typedef Builder< Derived > super
 
typedef core::identifier_string variable_type
 

Public Member Functions

void enter (mu const &x)
 
void leave (mu const &x)
 
void enter (nu const &x)
 
void leave (nu const &x)
 
- Public Member Functions inherited from mcrl2::core::add_binding< Builder, Derived, core::identifier_string >
bool is_bound (variable_type const &v) const
 Returns true if the variable v is bound.
 
const std::multiset< variable_type > & bound_variables () const
 Returns the bound variables.
 
std::multiset< variable_type >::size_type bind_count (const variable_type &v)
 Returns the bind count of the variable v.
 

Additional Inherited Members

- Protected Member Functions inherited from mcrl2::core::add_binding< Builder, Derived, core::identifier_string >
void increase_bind_count (const variable_type &var)
 Add a variable to the multiset of bound variables.
 
void increase_bind_count (const Container &variables, typename atermpp::enable_if_container< Container, variable_type >::type *=nullptr)
 Add a sequence of variables to the multiset of bound variables.
 
void decrease_bind_count (const variable_type &var)
 Remove a variable from the multiset of bound variables.
 
void decrease_bind_count (const Container &variables, typename atermpp::enable_if_container< Container, variable_type >::type *=nullptr)
 Remove a sequence of variables from the multiset of bound variables.
 
- Protected Attributes inherited from mcrl2::core::add_binding< Builder, Derived, core::identifier_string >
std::multiset< variable_typem_bound_variables
 

Detailed Description

template<template< class > class Builder, class Derived>
struct mcrl2::state_formulas::add_state_variable_binding< Builder, Derived >

Maintains a multiset of bound state variables during traversal.

Definition at line 247 of file add_binding.h.

Member Typedef Documentation

◆ super

template<template< class > class Builder, class Derived >
typedef core::add_binding<Builder, Derived, core::identifier_string> mcrl2::state_formulas::add_state_variable_binding< Builder, Derived >::super

Definition at line 249 of file add_binding.h.

Member Function Documentation

◆ enter() [1/2]

template<template< class > class Builder, class Derived >
void mcrl2::state_formulas::add_state_variable_binding< Builder, Derived >::enter ( mu const &  x)
inline

Definition at line 257 of file add_binding.h.

◆ enter() [2/2]

template<template< class > class Builder, class Derived >
void mcrl2::state_formulas::add_state_variable_binding< Builder, Derived >::enter ( nu const &  x)
inline

Definition at line 267 of file add_binding.h.

◆ leave() [1/2]

template<template< class > class Builder, class Derived >
void mcrl2::state_formulas::add_state_variable_binding< Builder, Derived >::leave ( mu const &  x)
inline

Definition at line 262 of file add_binding.h.

◆ leave() [2/2]

template<template< class > class Builder, class Derived >
void mcrl2::state_formulas::add_state_variable_binding< Builder, Derived >::leave ( nu const &  x)
inline

Definition at line 272 of file add_binding.h.


The documentation for this struct was generated from the following file: