Vcsn
2.0
Be Rational
|
Aggregate an automaton, and forward calls to it. More...
#include <automaton-decorator.hh>
Public Types | |
using | automaton_t = Aut |
The type of automaton to wrap. More... | |
using | automaton_nocv_t = typename automaton_t::element_type::automaton_nocv_t |
The (shared pointer) type to use it we have to create an automaton of the same (underlying) type. More... | |
using | context_t = Context |
using | kind_t = typename context_t::kind_t |
using | labelset_t = typename context_t::labelset_t |
using | labelset_ptr = typename context_t::labelset_ptr |
using | label_t = typename labelset_t::value_t |
using | weightset_t = typename context_t::weightset_t |
using | weightset_ptr = typename context_t::weightset_ptr |
using | weight_t = typename weightset_t::value_t |
using | state_t = state_t_of< automaton_t > |
using | transition_t = transition_t_of< automaton_t > |
using | transitions_output_t = typename Aut::element_type::transitions_output_t |
Public Member Functions | |
automaton_decorator (automaton_t aut) | |
automaton_decorator (const automaton_decorator &aut) | |
automaton_decorator (const context_t &ctx) | |
automaton_decorator (automaton_decorator &&aut) | |
automaton_decorator & | operator= (automaton_decorator &&that) |
automaton_t | strip () |
template<typename... Args> | |
auto | all_in (Args &&...args) const -> decltype(aut_-> all_in(std::forward< Args >(args)...)) |
template<typename... Args> | |
auto | all_out (Args &&...args) const -> decltype(aut_-> all_out(std::forward< Args >(args)...)) |
template<typename... Args> | |
auto | all_states (Args &&...args) const -> decltype(aut_-> all_states(std::forward< Args >(args)...)) |
template<typename... Args> | |
auto | all_transitions (Args &&...args) const -> decltype(aut_-> all_transitions(std::forward< Args >(args)...)) |
template<typename... Args> | |
auto | context (Args &&...args) const -> decltype(aut_-> context(std::forward< Args >(args)...)) |
template<typename... Args> | |
auto | dst_of (Args &&...args) const -> decltype(aut_-> dst_of(std::forward< Args >(args)...)) |
template<typename... Args> | |
auto | final_transitions (Args &&...args) const -> decltype(aut_-> final _transitions(std |
template<typename... Args> | |
auto | get_final_weight (Args &&...args) const -> decltype(aut_-> get_ final _weight(std |
template<typename... Args> | |
auto | get_initial_weight (Args &&...args) const -> decltype(aut_-> get_initial_weight(std::forward< Args >(args)...)) |
template<typename... Args> | |
auto | get_transition (Args &&...args) const -> decltype(aut_-> get_transition(std::forward< Args >(args)...)) |
template<typename... Args> | |
auto | has_transition (Args &&...args) const -> decltype(aut_-> has_transition(std::forward< Args >(args)...)) |
template<typename... Args> | |
auto | has_state (Args &&...args) const -> decltype(aut_-> has_state(std::forward< Args >(args)...)) |
template<typename... Args> | |
auto | in (Args &&...args) const -> decltype(aut_-> in(std::forward< Args >(args)...)) |
template<typename... Args> | |
auto | initial_transitions (Args &&...args) const -> decltype(aut_-> initial_transitions(std::forward< Args >(args)...)) |
template<typename... Args> | |
auto | is_final (Args &&...args) const -> decltype(aut_-> is_ final(std |
template<typename... Args> | |
auto | is_initial (Args &&...args) const -> decltype(aut_-> is_initial(std::forward< Args >(args)...)) |
template<typename... Args> | |
auto | label_of (Args &&...args) const -> decltype(aut_-> label_of(std::forward< Args >(args)...)) |
template<typename... Args> | |
auto | labelset (Args &&...args) const -> decltype(aut_-> labelset(std::forward< Args >(args)...)) |
template<typename... Args> | |
auto | num_all_states (Args &&...args) const -> decltype(aut_-> num_all_states(std::forward< Args >(args)...)) |
template<typename... Args> | |
auto | num_finals (Args &&...args) const -> decltype(aut_-> num_ final s(std |
template<typename... Args> | |
auto | num_initials (Args &&...args) const -> decltype(aut_-> num_initials(std::forward< Args >(args)...)) |
template<typename... Args> | |
auto | num_states (Args &&...args) const -> decltype(aut_-> num_states(std::forward< Args >(args)...)) |
template<typename... Args> | |
auto | num_transitions (Args &&...args) const -> decltype(aut_-> num_transitions(std::forward< Args >(args)...)) |
template<typename... Args> | |
auto | out (Args &&...args) const -> decltype(aut_-> out(std::forward< Args >(args)...)) |
template<typename... Args> | |
auto | outin (Args &&...args) const -> decltype(aut_-> outin(std::forward< Args >(args)...)) |
template<typename... Args> | |
auto | print_state (Args &&...args) const -> decltype(aut_-> print_state(std::forward< Args >(args)...)) |
template<typename... Args> | |
auto | print_state_name (Args &&...args) const -> decltype(aut_-> print_state_name(std::forward< Args >(args)...)) |
template<typename... Args> | |
auto | src_of (Args &&...args) const -> decltype(aut_-> src_of(std::forward< Args >(args)...)) |
template<typename... Args> | |
auto | state_has_name (Args &&...args) const -> decltype(aut_-> state_has_name(std::forward< Args >(args)...)) |
template<typename... Args> | |
auto | states (Args &&...args) const -> decltype(aut_-> states(std::forward< Args >(args)...)) |
template<typename... Args> | |
auto | transitions (Args &&...args) const -> decltype(aut_-> transitions(std::forward< Args >(args)...)) |
template<typename... Args> | |
auto | vname (Args &&...args) const -> decltype(aut_-> vname(std::forward< Args >(args)...)) |
template<typename... Args> | |
auto | weight_of (Args &&...args) const -> decltype(aut_-> weight_of(std::forward< Args >(args)...)) |
template<typename... Args> | |
auto | weightset (Args &&...args) const -> decltype(aut_-> weightset(std::forward< Args >(args)...)) |
template<typename... Args> | |
auto | add_final (Args &&...args) -> decltype(aut_-> add_ final(std |
template<typename... Args> | |
auto | add_initial (Args &&...args) -> decltype(aut_-> add_initial(std::forward< Args >(args)...)) |
template<typename... Args> | |
auto | add_transition (Args &&...args) -> decltype(aut_-> add_transition(std::forward< Args >(args)...)) |
template<typename... Args> | |
auto | add_transition_copy (Args &&...args) -> decltype(aut_-> add_transition_copy(std::forward< Args >(args)...)) |
template<typename... Args> | |
auto | add_weight (Args &&...args) -> decltype(aut_-> add_weight(std::forward< Args >(args)...)) |
template<typename... Args> | |
auto | del_state (Args &&...args) -> decltype(aut_-> del_state(std::forward< Args >(args)...)) |
template<typename... Args> | |
auto | del_transition (Args &&...args) -> decltype(aut_-> del_transition(std::forward< Args >(args)...)) |
template<typename... Args> | |
auto | lmul_weight (Args &&...args) -> decltype(aut_-> lmul_weight(std::forward< Args >(args)...)) |
template<typename... Args> | |
auto | new_state (Args &&...args) -> decltype(aut_-> new_state(std::forward< Args >(args)...)) |
template<typename... Args> | |
auto | new_transition (Args &&...args) -> decltype(aut_-> new_transition(std::forward< Args >(args)...)) |
template<typename... Args> | |
auto | new_transition_copy (Args &&...args) -> decltype(aut_-> new_transition_copy(std::forward< Args >(args)...)) |
template<typename... Args> | |
auto | rmul_weight (Args &&...args) -> decltype(aut_-> rmul_weight(std::forward< Args >(args)...)) |
template<typename... Args> | |
auto | set_final (Args &&...args) -> decltype(aut_-> set_ final(std |
template<typename... Args> | |
auto | set_initial (Args &&...args) -> decltype(aut_-> set_initial(std::forward< Args >(args)...)) |
template<typename... Args> | |
auto | set_transition (Args &&...args) -> decltype(aut_-> set_transition(std::forward< Args >(args)...)) |
template<typename... Args> | |
auto | set_weight (Args &&...args) -> decltype(aut_-> set_weight(std::forward< Args >(args)...)) |
template<typename... Args> | |
auto | unset_final (Args &&...args) -> decltype(aut_-> unset_ final(std |
template<typename... Args> | |
auto | unset_initial (Args &&...args) -> decltype(aut_-> unset_initial(std::forward< Args >(args)...)) |
Static Public Member Functions | |
template<typename... Args> | |
static constexpr auto | null_state (Args &&...args) -> decltype(automaton_t::element_type::null_state(std::forward< Args >(args)...)) |
template<typename... Args> | |
static constexpr auto | null_transition (Args &&...args) -> decltype(automaton_t::element_type::null_transition(std::forward< Args >(args)...)) |
template<typename... Args> | |
static constexpr auto | post (Args &&...args) -> decltype(automaton_t::element_type::post(std::forward< Args >(args)...)) |
template<typename... Args> | |
static constexpr auto | pre (Args &&...args) -> decltype(automaton_t::element_type::pre(std::forward< Args >(args)...)) |
template<typename... Args> | |
static constexpr auto | sname (Args &&...args) -> decltype(automaton_t::element_type::sname(std::forward< Args >(args)...)) |
Protected Attributes | |
automaton_t | aut_ |
The wrapped automaton, possibly const. More... | |
Aggregate an automaton, and forward calls to it.
Aut | The type of the wrapped automaton. |
Context | The context we pretend to feature. |
Definition at line 19 of file automaton-decorator.hh.
using vcsn::detail::automaton_decorator< Aut, Context >::automaton_nocv_t = typename automaton_t::element_type::automaton_nocv_t |
The (shared pointer) type to use it we have to create an automaton of the same (underlying) type.
Definition at line 28 of file automaton-decorator.hh.
using vcsn::detail::automaton_decorator< Aut, Context >::automaton_t = Aut |
The type of automaton to wrap.
Definition at line 23 of file automaton-decorator.hh.
using vcsn::detail::automaton_decorator< Aut, Context >::context_t = Context |
Definition at line 30 of file automaton-decorator.hh.
using vcsn::detail::automaton_decorator< Aut, Context >::kind_t = typename context_t::kind_t |
Definition at line 31 of file automaton-decorator.hh.
using vcsn::detail::automaton_decorator< Aut, Context >::label_t = typename labelset_t::value_t |
Definition at line 35 of file automaton-decorator.hh.
using vcsn::detail::automaton_decorator< Aut, Context >::labelset_ptr = typename context_t::labelset_ptr |
Definition at line 34 of file automaton-decorator.hh.
using vcsn::detail::automaton_decorator< Aut, Context >::labelset_t = typename context_t::labelset_t |
Definition at line 33 of file automaton-decorator.hh.
using vcsn::detail::automaton_decorator< Aut, Context >::state_t = state_t_of<automaton_t> |
Definition at line 41 of file automaton-decorator.hh.
using vcsn::detail::automaton_decorator< Aut, Context >::transition_t = transition_t_of<automaton_t> |
Definition at line 42 of file automaton-decorator.hh.
using vcsn::detail::automaton_decorator< Aut, Context >::transitions_output_t = typename Aut::element_type::transitions_output_t |
Definition at line 45 of file automaton-decorator.hh.
using vcsn::detail::automaton_decorator< Aut, Context >::weight_t = typename weightset_t::value_t |
Definition at line 39 of file automaton-decorator.hh.
using vcsn::detail::automaton_decorator< Aut, Context >::weightset_ptr = typename context_t::weightset_ptr |
Definition at line 38 of file automaton-decorator.hh.
using vcsn::detail::automaton_decorator< Aut, Context >::weightset_t = typename context_t::weightset_t |
Definition at line 37 of file automaton-decorator.hh.
|
inline |
Definition at line 48 of file automaton-decorator.hh.
|
inline |
Definition at line 52 of file automaton-decorator.hh.
|
inline |
Definition at line 56 of file automaton-decorator.hh.
|
inline |
Definition at line 60 of file automaton-decorator.hh.
|
inlinefinal |
Definition at line 171 of file automaton-decorator.hh.
|
inline |
Definition at line 172 of file automaton-decorator.hh.
|
inline |
Definition at line 173 of file automaton-decorator.hh.
Referenced by vcsn::detail::ratexp_automaton_impl< Aut >::add_transition().
|
inline |
Definition at line 174 of file automaton-decorator.hh.
|
inline |
Definition at line 175 of file automaton-decorator.hh.
|
inline |
Definition at line 120 of file automaton-decorator.hh.
|
inline |
Definition at line 121 of file automaton-decorator.hh.
|
inline |
Definition at line 122 of file automaton-decorator.hh.
|
inline |
Definition at line 123 of file automaton-decorator.hh.
|
inline |
Definition at line 124 of file automaton-decorator.hh.
|
inline |
Definition at line 176 of file automaton-decorator.hh.
|
inline |
Definition at line 177 of file automaton-decorator.hh.
|
inline |
Definition at line 125 of file automaton-decorator.hh.
|
inlinefinal |
Definition at line 126 of file automaton-decorator.hh.
|
inlinefinal |
Definition at line 127 of file automaton-decorator.hh.
|
inline |
Definition at line 128 of file automaton-decorator.hh.
|
inline |
Definition at line 129 of file automaton-decorator.hh.
|
inline |
Definition at line 131 of file automaton-decorator.hh.
|
inline |
Definition at line 130 of file automaton-decorator.hh.
|
inline |
Definition at line 132 of file automaton-decorator.hh.
|
inline |
Definition at line 133 of file automaton-decorator.hh.
|
inlinefinal |
Definition at line 134 of file automaton-decorator.hh.
|
inline |
Definition at line 135 of file automaton-decorator.hh.
|
inline |
Definition at line 136 of file automaton-decorator.hh.
|
inline |
Definition at line 137 of file automaton-decorator.hh.
|
inline |
Definition at line 178 of file automaton-decorator.hh.
|
inline |
Definition at line 179 of file automaton-decorator.hh.
Referenced by vcsn::detail::ratexp_automaton_impl< Aut >::state(), and vcsn::detail::permutation_automaton_impl< Aut >::state().
|
inline |
Definition at line 180 of file automaton-decorator.hh.
Referenced by vcsn::detail::ratexp_automaton_impl< Aut >::new_transition().
|
inline |
Definition at line 181 of file automaton-decorator.hh.
|
inlinestatic |
Definition at line 99 of file automaton-decorator.hh.
|
inlinestatic |
Definition at line 100 of file automaton-decorator.hh.
|
inline |
Definition at line 138 of file automaton-decorator.hh.
|
inlinefinal |
Definition at line 139 of file automaton-decorator.hh.
|
inline |
Definition at line 140 of file automaton-decorator.hh.
|
inline |
Definition at line 141 of file automaton-decorator.hh.
|
inline |
Definition at line 142 of file automaton-decorator.hh.
|
inline |
Definition at line 65 of file automaton-decorator.hh.
|
inline |
Definition at line 143 of file automaton-decorator.hh.
|
inline |
Definition at line 144 of file automaton-decorator.hh.
|
inlinestatic |
Definition at line 101 of file automaton-decorator.hh.
Referenced by vcsn::detail::detweighted_automaton_impl< Aut >::detweighted_automaton_impl(), vcsn::detail::permutation_automaton_impl< Aut >::permutation_automaton_impl(), vcsn::detail::permutation_automaton_impl< Aut >::state_has_name(), vcsn::detail::partition_automaton_impl< Aut >::state_has_name(), vcsn::detail::tuple_automaton_impl< Aut, Auts...>::state_has_name(), vcsn::detail::ratexp_automaton_impl< Aut >::state_has_name(), vcsn::detail::pair_automaton_impl< Aut >::state_has_name(), vcsn::detail::determinized_automaton_impl< Aut >::state_has_name(), and vcsn::detail::detweighted_automaton_impl< Aut >::state_has_name().
|
inlinestatic |
Definition at line 102 of file automaton-decorator.hh.
Referenced by vcsn::detail::determinized_automaton_impl< Aut >::determinized_automaton_impl(), vcsn::detail::detweighted_automaton_impl< Aut >::detweighted_automaton_impl(), vcsn::detail::permutation_automaton_impl< Aut >::permutation_automaton_impl(), vcsn::detail::permutation_automaton_impl< Aut >::state_has_name(), vcsn::detail::partition_automaton_impl< Aut >::state_has_name(), vcsn::detail::tuple_automaton_impl< Aut, Auts...>::state_has_name(), vcsn::detail::ratexp_automaton_impl< Aut >::state_has_name(), vcsn::detail::pair_automaton_impl< Aut >::state_has_name(), vcsn::detail::determinized_automaton_impl< Aut >::state_has_name(), and vcsn::detail::detweighted_automaton_impl< Aut >::state_has_name().
|
inline |
Definition at line 145 of file automaton-decorator.hh.
|
inline |
Definition at line 146 of file automaton-decorator.hh.
|
inline |
Definition at line 182 of file automaton-decorator.hh.
|
inlinefinal |
Definition at line 183 of file automaton-decorator.hh.
|
inline |
Definition at line 184 of file automaton-decorator.hh.
Referenced by vcsn::detail::ratexp_automaton_impl< Aut >::set_initial().
|
inline |
Definition at line 185 of file automaton-decorator.hh.
|
inline |
Definition at line 186 of file automaton-decorator.hh.
|
inlinestatic |
Definition at line 103 of file automaton-decorator.hh.
Referenced by vcsn::detail::ratexp_automaton_impl< Aut >::sname().
|
inline |
Definition at line 147 of file automaton-decorator.hh.
|
inline |
Definition at line 148 of file automaton-decorator.hh.
|
inline |
Definition at line 149 of file automaton-decorator.hh.
|
inline |
Definition at line 73 of file automaton-decorator.hh.
|
inline |
Definition at line 150 of file automaton-decorator.hh.
|
inlinefinal |
Definition at line 187 of file automaton-decorator.hh.
|
inline |
Definition at line 188 of file automaton-decorator.hh.
|
inline |
Definition at line 151 of file automaton-decorator.hh.
Referenced by vcsn::detail::ratexp_automaton_impl< Aut >::vname().
|
inline |
Definition at line 152 of file automaton-decorator.hh.
|
inline |
Definition at line 153 of file automaton-decorator.hh.
|
protected |
The wrapped automaton, possibly const.
Definition at line 81 of file automaton-decorator.hh.
Referenced by vcsn::detail::automaton_decorator< mutable_automaton< context_t_of< Aut > > >::automaton_decorator(), vcsn::detail::automaton_decorator< mutable_automaton< context_t_of< Aut > > >::operator=(), and vcsn::detail::automaton_decorator< mutable_automaton< context_t_of< Aut > > >::strip().