Vcsn  2.1
Be Rational
copy.hh File Reference
#include <unordered_map>
#include <vcsn/algos/fwd.hh>
#include <vcsn/core/automaton-decorator.hh>
#include <vcsn/core/fwd.hh>
#include <vcsn/core/mutable-automaton.hh>
#include <vcsn/core/rat/copy.hh>
#include <vcsn/dyn/automaton.hh>
#include <vcsn/dyn/context.hh>
#include <vcsn/dyn/expression.hh>
#include <vcsn/misc/attributes.hh>
#include <vcsn/misc/set.hh>
#include <vcsn/misc/unordered_set.hh>
Include dependency graph for copy.hh:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  vcsn::detail::copier< AutIn, AutOut >
 Copy an automaton. More...
 
struct  vcsn::detail::real_context_impl< Aut >
 When we copy a focus automaton, create another focus automaton. More...
 
struct  vcsn::detail::real_context_impl< Aut >
 When we copy a focus automaton, create another focus automaton. More...
 
struct  vcsn::detail::real_context_impl< focus_automaton< Tape, Aut > >
 
struct  vcsn::detail::real_context_impl< automaton_decorator< Aut > >
 Be recursive on automaton wrappers. More...
 

Namespaces

 vcsn
 
 vcsn::detail
 
 vcsn::dyn
 
 vcsn::dyn::detail
 

Functions

template<typename AutIn , typename AutOut >
detail::copier< AutIn, AutOut > vcsn::make_copier (const AutIn &in, AutOut &out)
 Build an automaton copier. More...
 
template<typename AutIn , typename AutOut , typename KeepState , typename KeepTrans >
void vcsn::copy_into (const AutIn &in, AutOut &out, KeepState keep_state, KeepTrans keep_trans)
 Copy selected states and transitions of an automaton. More...
 
template<typename AutIn , typename AutOut , typename KeepState >
void vcsn::copy_into (const AutIn &in, AutOut &out, KeepState keep_state)
 Copy the selected states an automaton. More...
 
template<typename AutIn , typename AutOut >
void vcsn::copy_into (const AutIn &in, AutOut &out)
 Copy an automaton. More...
 
template<typename AutIn , typename AutOut >
void vcsn::copy_into (const AutIn &in, AutOut &out, bool safe)
 Copy an automaton. More...
 
template<typename Aut >
auto vcsn::detail::real_context (const Aut &aut) -> decltype(real_context_impl< Aut >::context(aut))
 For a focus automaton, its genuine context (not the visible one), and for all the other automata, their context. More...
 
template<typename AutIn , typename AutOut = fresh_automaton_t_of<AutIn>>
AutOut vcsn::make_fresh_automaton (const AutIn &model)
 Create an empty, mutable, automaton, based on another one. More...
 
template<typename AutIn , typename AutOut = fresh_automaton_t_of<AutIn>, typename KeepState , typename KeepTrans >
AutOut vcsn::copy (const AutIn &input, KeepState keep_state, KeepTrans keep_trans)
 A copy of input keeping only its states that are accepted by keep_state. More...
 
template<typename AutIn , typename AutOut = fresh_automaton_t_of<AutIn>, typename KeepState >
AutOut vcsn::copy (const AutIn &input, KeepState keep_state)
 A copy of input. More...
 
template<typename AutIn , typename AutOut = fresh_automaton_t_of<AutIn>>
AutOut vcsn::copy (const AutIn &input)
 A copy of input. More...
 
template<typename AutIn , typename AutOut = fresh_automaton_t_of<AutIn>>
AutOut vcsn::copy (const AutIn &input, const std::set< state_t_of< AutIn >> &keep)
 A copy of input keeping only its states that are members of std::set keep. More...
 
template<typename AutIn , typename AutOut = fresh_automaton_t_of<AutIn>>
AutOut vcsn::copy (const AutIn &input, const std::unordered_set< state_t_of< AutIn >> &keep)
 A copy of input keeping only its states that are members of std::unordered_set keep. More...
 
template<typename Aut , typename Ctx >
automaton vcsn::dyn::detail::copy_convert (const automaton &aut, const context &ctx)
 Bridge (copy). More...
 
template<typename Aut >
automaton vcsn::dyn::detail::copy (const automaton &aut)
 Bridge. More...
 
template<typename ExpSet , typename Context , typename Identities >
expression vcsn::dyn::detail::copy_expression (const expression &exp, const context &ctx, rat::identities ids)
 Bridge (copy). More...