mCRL2
Loading...
Searching...
No Matches
mcrl2::process::process_equation Class Reference

\brief A process equation More...

#include <process_equation.h>

Inheritance diagram for mcrl2::process::process_equation:
atermpp::aterm atermpp::aterm_core atermpp::unprotected_aterm_core

Public Member Functions

 process_equation ()
 \brief Default constructor X3.
 
 process_equation (const atermpp::aterm &term)
 
 process_equation (const process_identifier &identifier, const data::variable_list &formal_parameters, const process_expression &expression)
 \brief Constructor Z12.
 
 process_equation (const process_equation &) noexcept=default
 Move semantics.
 
 process_equation (process_equation &&) noexcept=default
 
process_equationoperator= (const process_equation &) noexcept=default
 
process_equationoperator= (process_equation &&) noexcept=default
 
const process_identifieridentifier () const
 
const data::variable_listformal_parameters () const
 
const process_expressionexpression () const
 
- Public Member Functions inherited from atermpp::aterm
 aterm ()
 Default constructor.
 
 aterm (const aterm &other) noexcept=default
 This class has user-declared copy constructor so declare default copy and move operators.
 
atermoperator= (const aterm &other) noexcept=default
 
 aterm (aterm &&other) noexcept=default
 
atermoperator= (aterm &&other) noexcept=default
 
template<class ForwardIterator >
requires (mcrl2::utilities::is_iterator<ForwardIterator>::value && !std::is_same_v<typename ForwardIterator::iterator_category, std::input_iterator_tag> && !std::is_same_v<typename ForwardIterator::iterator_category, std::output_iterator_tag>)
 aterm (const function_symbol &sym, ForwardIterator begin, ForwardIterator end)
 Constructor that provides an aterm based on a function symbol and forward iterator providing the arguments.
 
template<class InputIterator >
requires mcrl2::utilities::is_iterator<InputIterator>
 aterm (const function_symbol &sym, InputIterator begin, InputIterator end)
 Constructor that provides an aterm based on a function symbol and an input iterator providing the arguments.
 
template<class InputIterator , class TermConverter >
requires mcrl2::utilities::is_iterator<InputIterator>
 aterm (const function_symbol &sym, InputIterator begin, InputIterator end, TermConverter converter)
 Constructor.
 
template<typename... Terms>
 aterm (const function_symbol &symbol, const Terms &... arguments)
 Constructor for n-arity function application.
 
const function_symbolfunction () const
 Returns the function symbol belonging to an aterm.
 
size_type size () const
 Returns the number of arguments of this term.
 
bool empty () const
 Returns true if the term has no arguments.
 
const_iterator begin () const
 Returns an iterator pointing to the first argument.
 
const_iterator end () const
 Returns a const_iterator pointing past the last argument.
 
constexpr size_type max_size () const
 Returns the largest possible number of arguments.
 
const atermoperator[] (const size_type i) const
 Returns the i-th argument.
 
- Public Member Functions inherited from atermpp::aterm_core
 aterm_core () noexcept
 Default constructor.
 
 ~aterm_core () noexcept
 Standard destructor.
 
 aterm_core (const detail::_aterm *t) noexcept
 Constructor based on an internal term data structure. This is not for public use.
 
 aterm_core (const aterm_core &other) noexcept
 Copy constructor.
 
 aterm_core (aterm_core &&other) noexcept
 Move constructor.
 
aterm_coreoperator= (const aterm_core &other) noexcept
 Assignment operator.
 
aterm_coreassign (const aterm_core &other, detail::thread_aterm_pool &pool) noexcept
 Assignment operator, to be used if busy and forbidden flags are explicitly available.
 
template<bool CHECK_BUSY_FLAG = true>
aterm_coreunprotected_assign (const aterm_core &other) noexcept
 Assignment operator, to be used when the busy flags do not need to be set.
 
aterm_coreoperator= (aterm_core &&other) noexcept
 Move assignment operator.
 
- Public Member Functions inherited from atermpp::unprotected_aterm_core
 unprotected_aterm_core () noexcept
 Default constuctor.
 
 unprotected_aterm_core (const detail::_aterm *term) noexcept
 Constructor.
 
bool type_is_appl () const noexcept
 Dynamic check whether the term is an aterm.
 
bool type_is_int () const noexcept
 Dynamic check whether the term is an aterm_int.
 
bool type_is_list () const noexcept
 Dynamic check whether the term is an aterm_list.
 
bool operator== (const unprotected_aterm_core &t) const
 Comparison operator.
 
std::weak_ordering operator<=> (const unprotected_aterm_core &t) const
 Comparison operator for two unprotected aterms.
 
bool defined () const
 Returns true if this term is not equal to the term assigned by the default constructor of aterms, aterm_appls and aterm_int.
 
void swap (unprotected_aterm_core &t) noexcept
 Swaps this term with its argument.
 
const function_symbolfunction () const
 Yields the function symbol in an aterm.
 

Additional Inherited Members

- Public Types inherited from atermpp::aterm
using size_type = std::size_t
 An unsigned integral type.
 
using difference_type = ptrdiff_t
 A signed integral type.
 
using iterator = term_appl_iterator< aterm >
 Iterator used to iterate through an term_appl.
 
using const_iterator = term_appl_iterator< aterm >
 Const iterator used to iterate through an term_appl.
 
- Protected Member Functions inherited from atermpp::aterm
 aterm (detail::_term_appl *t)
 Constructor.
 
- Protected Attributes inherited from atermpp::unprotected_aterm_core
const detail::_atermm_term
 

Detailed Description

\brief A process equation

Definition at line 22 of file process_equation.h.

Constructor & Destructor Documentation

◆ process_equation() [1/5]

mcrl2::process::process_equation::process_equation ( )
inline

\brief Default constructor X3.

Definition at line 26 of file process_equation.h.

◆ process_equation() [2/5]

mcrl2::process::process_equation::process_equation ( const atermpp::aterm term)
inlineexplicit

\brief Constructor Z9. \param term A term

Definition at line 32 of file process_equation.h.

◆ process_equation() [3/5]

mcrl2::process::process_equation::process_equation ( const process_identifier identifier,
const data::variable_list formal_parameters,
const process_expression expression 
)
inline

\brief Constructor Z12.

Definition at line 39 of file process_equation.h.

◆ process_equation() [4/5]

mcrl2::process::process_equation::process_equation ( const process_equation )
defaultnoexcept

Move semantics.

◆ process_equation() [5/5]

mcrl2::process::process_equation::process_equation ( process_equation &&  )
defaultnoexcept

Member Function Documentation

◆ expression()

const process_expression & mcrl2::process::process_equation::expression ( ) const
inline

Definition at line 59 of file process_equation.h.

◆ formal_parameters()

const data::variable_list & mcrl2::process::process_equation::formal_parameters ( ) const
inline

Definition at line 54 of file process_equation.h.

◆ identifier()

const process_identifier & mcrl2::process::process_equation::identifier ( ) const
inline

Definition at line 49 of file process_equation.h.

◆ operator=() [1/2]

process_equation & mcrl2::process::process_equation::operator= ( const process_equation )
defaultnoexcept

◆ operator=() [2/2]

process_equation & mcrl2::process::process_equation::operator= ( process_equation &&  )
defaultnoexcept

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