10#ifndef MCRL2_ATERMPP_ATERM_STRING_H
11#define MCRL2_ATERMPP_ATERM_STRING_H
39 assert(f.
arity() == 0);
69 operator const std::string&()
const
The term_appl class represents function application.
Term containing a string.
aterm_string & operator=(aterm_string &&t) noexcept=default
aterm_string(const function_symbol &f)
Constructor.
aterm_string(const aterm &t)
Constructor.
aterm_string(const aterm_string &t) noexcept=default
aterm_string(const std::string &s)
Constructor that allows construction from a string.
aterm_string & operator=(const aterm_string &t) noexcept=default
aterm_string()
Default constructor.
aterm_string(aterm_string &&t) noexcept=default
const function_symbol & function() const
Returns the function symbol belonging to an aterm.
size_type size() const
Returns the number of arguments of this term.
std::size_t arity() const
Return the arity (number of arguments) of the function symbol (function_symbol).
const std::string & name() const
Return the name of the function_symbol.
The main namespace for the aterm++ library.
const aterm_string & empty_string()
Returns the empty aterm_string.
void swap(atermpp::unprotected_aterm_core &t1, atermpp::unprotected_aterm_core &t2) noexcept
Swaps two aterms.