Include file:
#include "mcrl2/atermpp/aterm_io.h"
atermpp::
aterm_transformer
¶typedef for aterm_appl(const aterm_appl &)
A function that is applied to all terms. The resulting term should only use a subset of the original arguments (i.e. not introduce new terms).
Typical usage is removing the index traits from function symbols that represent operators.
atermpp::
identity
(const aterm_appl &x)¶The default transformer that maps each term to itself.
atermpp::
operator<<
(aterm_ostream &&stream, const T &t)¶atermpp::
operator<<
(aterm_ostream &stream, aterm_transformer transformer)¶atermpp::
operator<<
(aterm_ostream &stream, const aterm &term)¶Write the given term to the stream.
atermpp::
operator<<
(aterm_ostream &stream, const T &container)¶Write any container (that is not an aterm itself) to the stream.
atermpp::
operator<<
(std::ostream &out, const function_symbol &f)¶Sends the name of a function symbol to an ostream.
Parameters:
Returns: The stream.
atermpp::
operator>>
(aterm_istream &&stream, T &t)¶atermpp::
operator>>
(aterm_istream &stream, aterm &term)¶Read the given term from the stream, but for aterm_list we want to use a specific one that performs validation (defined below).
atermpp::
operator>>
(aterm_istream &stream, aterm_transformer transformer)¶Sets the given transformer to be applied to following reads.
atermpp::
operator>>
(aterm_istream &stream, T &container)¶Read any container (that is not an aterm itself) from the stream.
atermpp::
pp
(const function_symbol &f)¶Prints the name of a function symbol as a string.
Parameters:
Returns: The string representation of r.
atermpp::
read_appl_from_string
(const std::string &s)¶Reads an aterm_appl from a string. The string can be in either binary or text format.
If the input is not an aterm_appl, an aterm is returned of the wrong type.
Returns: The term corresponding to the string.
atermpp::
read_int_from_string
(const std::string &s)¶Reads an aterm_int from a string. The string can be in either binary or text format.
If the input is not an int, an aterm is returned of the wrong type.
Returns: The aterm_int corresponding to the string.
atermpp::
read_list_from_string
(const std::string &s)¶Reads an aterm_list from a string. The string can be in either binary or text format.
If the input is not a string, an aterm is returned of the wrong type.
Returns: The term corresponding to the string.