mCRL2
Loading...
Searching...
No Matches
untyped_sort.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_DATA_UNTYPED_SORT_H
13#define MCRL2_DATA_UNTYPED_SORT_H
14
16
17namespace mcrl2 {
18
19namespace data {
20
21//--- start generated class untyped_sort ---//
24{
25 public:
28 : sort_expression(core::detail::default_values::UntypedSortUnknown)
29 {}
30
33 explicit untyped_sort(const atermpp::aterm& term)
34 : sort_expression(term)
35 {
37 }
38
40 untyped_sort(const untyped_sort&) noexcept = default;
41 untyped_sort(untyped_sort&&) noexcept = default;
42 untyped_sort& operator=(const untyped_sort&) noexcept = default;
43 untyped_sort& operator=(untyped_sort&&) noexcept = default;
44};
45
46// prototype declaration
47std::string pp(const untyped_sort& x);
48
53inline
54std::ostream& operator<<(std::ostream& out, const untyped_sort& x)
55{
56 return out << data::pp(x);
57}
58
60inline void swap(untyped_sort& t1, untyped_sort& t2)
61{
62 t1.swap(t2);
63}
64//--- end generated class untyped_sort ---//
65
66} // namespace data
67
68} // namespace mcrl2
69
70#endif // MCRL2_DATA_UNTYPED_SORT_H
void swap(unprotected_aterm_core &t) noexcept
Swaps this term with its argument.
Definition aterm_core.h:152
\brief A sort expression
\brief Unknown sort expression
untyped_sort(const atermpp::aterm &term)
untyped_sort(const untyped_sort &) noexcept=default
Move semantics.
untyped_sort(untyped_sort &&) noexcept=default
untyped_sort()
\brief Default constructor X3.
bool check_term_UntypedSortUnknown(const Term &t)
void swap(abstraction &t1, abstraction &t2)
\brief swap overload
std::string pp(const abstraction &x)
Definition data.cpp:39
A class that takes a linear process specification and checks all tau-summands of that LPS for conflue...
Definition indexed_set.h:72
STL namespace.
The class sort_expression.