mCRL2
Loading...
Searching...
No Matches
translate_user_notation.h
Go to the documentation of this file.
1// Author(s): Wieger Wesselink
2// Copyright: see the accompanying file COPYING or copy at
3// https://github.com/mCRL2org/mCRL2/blob/master/COPYING
4//
5// Distributed under the Boost Software License, Version 1.0.
6// (See accompanying file LICENSE_1_0.txt or copy at
7// http://www.boost.org/LICENSE_1_0.txt)
8//
11
12#ifndef MCRL2_LPS_TRANSLATE_USER_NOTATION_H
13#define MCRL2_LPS_TRANSLATE_USER_NOTATION_H
14
16#include "mcrl2/lps/builder.h"
17
18namespace mcrl2
19{
20
21namespace lps
22{
23
24template <typename T>
26 typename std::enable_if< !std::is_base_of< atermpp::aterm, T >::value>::type* = nullptr
27 )
28{
29 core::make_update_apply_builder<lps::data_expression_builder>(data::detail::translate_user_notation_function()).update(x);
30}
31
32template <typename T>
34 typename std::enable_if< std::is_base_of< atermpp::aterm, T >::value>::type* = 0
35 )
36{
37 T result;
38 core::make_update_apply_builder<lps::data_expression_builder>(data::detail::translate_user_notation_function()).apply(result, x);
39 return result;
40}
41
42} // namespace lps
43
44} // namespace mcrl2
45
46#endif // MCRL2_LPS_TRANSLATE_USER_NOTATION_H
add your file description here.
add your file description here.
lps::multi_action translate_user_notation(const lps::multi_action &x)
Definition lps.cpp:41
A class that takes a linear process specification and checks all tau-summands of that LPS for conflue...
Definition indexed_set.h:72