![]() |
Vcsn
2.1
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 | context_t = Context |
using | element_type = typename automaton_t::element_type |
The automaton type, without shared_ptr. More... | |
template<typename Ctx = context_t> | |
using | fresh_automaton_t = typename element_type::template fresh_automaton_t< Ctx > |
The (shared pointer) type to use it we have to create an automaton of the same (underlying) type. More... | |
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 > |
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_state (Args &&...args) const -> decltype(aut_-> has_state(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 | 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 | prepost_label (Args &&...args) const -> decltype(aut_-> prepost_label(std::forward< Args >(args)...)) |
template<typename... Args> | |
auto | print_set (Args &&...args) const -> decltype(aut_-> print_set(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 | state_is_strict (Args &&...args) const -> decltype(aut_-> state_is_strict(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 | 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(element_type::null_state(std::forward< Args >(args)...)) |
template<typename... Args> | |
static constexpr auto | null_transition (Args &&...args) -> decltype(element_type::null_transition(std::forward< Args >(args)...)) |
template<typename... Args> | |
static constexpr auto | post (Args &&...args) -> decltype(element_type::post(std::forward< Args >(args)...)) |
template<typename... Args> | |
static constexpr auto | pre (Args &&...args) -> decltype(element_type::pre(std::forward< Args >(args)...)) |
template<typename... Args> | |
static constexpr auto | sname (Args &&...args) -> decltype(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 18 of file automaton-decorator.hh.
using vcsn::detail::automaton_decorator< Aut, Context >::automaton_t = Aut |
The type of automaton to wrap.
Definition at line 22 of file automaton-decorator.hh.
using vcsn::detail::automaton_decorator< Aut, Context >::context_t = Context |
Definition at line 24 of file automaton-decorator.hh.
using vcsn::detail::automaton_decorator< Aut, Context >::element_type = typename automaton_t::element_type |
The automaton type, without shared_ptr.
Definition at line 27 of file automaton-decorator.hh.
using vcsn::detail::automaton_decorator< Aut, Context >::fresh_automaton_t = typename element_type::template fresh_automaton_t<Ctx> |
The (shared pointer) type to use it we have to create an automaton of the same (underlying) type.
Definition at line 33 of file automaton-decorator.hh.
using vcsn::detail::automaton_decorator< Aut, Context >::kind_t = typename context_t::kind_t |
Definition at line 35 of file automaton-decorator.hh.
using vcsn::detail::automaton_decorator< Aut, Context >::label_t = typename labelset_t::value_t |
Definition at line 39 of file automaton-decorator.hh.
using vcsn::detail::automaton_decorator< Aut, Context >::labelset_ptr = typename context_t::labelset_ptr |
Definition at line 38 of file automaton-decorator.hh.
using vcsn::detail::automaton_decorator< Aut, Context >::labelset_t = typename context_t::labelset_t |
Definition at line 37 of file automaton-decorator.hh.
using vcsn::detail::automaton_decorator< Aut, Context >::state_t = state_t_of<automaton_t> |
Definition at line 45 of file automaton-decorator.hh.
using vcsn::detail::automaton_decorator< Aut, Context >::transition_t = transition_t_of<automaton_t> |
Definition at line 46 of file automaton-decorator.hh.
using vcsn::detail::automaton_decorator< Aut, Context >::weight_t = typename weightset_t::value_t |
Definition at line 43 of file automaton-decorator.hh.
using vcsn::detail::automaton_decorator< Aut, Context >::weightset_ptr = typename context_t::weightset_ptr |
Definition at line 42 of file automaton-decorator.hh.
using vcsn::detail::automaton_decorator< Aut, Context >::weightset_t = typename context_t::weightset_t |
Definition at line 41 of file automaton-decorator.hh.
|
inline |
Definition at line 49 of file automaton-decorator.hh.
|
inline |
Definition at line 53 of file automaton-decorator.hh.
|
inline |
Definition at line 57 of file automaton-decorator.hh.
|
inline |
Definition at line 61 of file automaton-decorator.hh.
|
inlinefinal |
Definition at line 174 of file automaton-decorator.hh.
|
inline |
Definition at line 175 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 178 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 125 of file automaton-decorator.hh.
|
inline |
Definition at line 179 of file automaton-decorator.hh.
|
inline |
Definition at line 180 of file automaton-decorator.hh.
|
inline |
Definition at line 126 of file automaton-decorator.hh.
Referenced by vcsn::detail::product_automaton_impl< Aut, Auts >::not_to_post_p::operator()().
|
inlinefinal |
Definition at line 127 of file automaton-decorator.hh.
|
inlinefinal |
Definition at line 128 of file automaton-decorator.hh.
|
inline |
Definition at line 129 of file automaton-decorator.hh.
|
inline |
Definition at line 130 of file automaton-decorator.hh.
|
inline |
Definition at line 131 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.
|
inline |
Definition at line 134 of file automaton-decorator.hh.
|
inlinefinal |
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.
Referenced by vcsn::detail::product_automaton_impl< Aut, Auts >::label_equal_p::operator()().
|
inline |
Definition at line 138 of file automaton-decorator.hh.
Referenced by vcsn::detail::product_automaton_impl< Aut, Auts >::label_equal_p::operator()().
|
inline |
Definition at line 181 of file automaton-decorator.hh.
|
inline |
Definition at line 182 of file automaton-decorator.hh.
|
inline |
Definition at line 183 of file automaton-decorator.hh.
|
inline |
Definition at line 184 of file automaton-decorator.hh.
|
inlinestatic |
Definition at line 100 of file automaton-decorator.hh.
|
inlinestatic |
Definition at line 101 of file automaton-decorator.hh.
|
inline |
Definition at line 139 of file automaton-decorator.hh.
|
inlinefinal |
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 143 of file automaton-decorator.hh.
|
inline |
Definition at line 66 of file automaton-decorator.hh.
|
inline |
Definition at line 144 of file automaton-decorator.hh.
|
inline |
Definition at line 145 of file automaton-decorator.hh.
|
inlinestatic |
Definition at line 102 of file automaton-decorator.hh.
Referenced by vcsn::detail::detweighted_automaton_impl< Aut >::detweighted_automaton_impl(), vcsn::detail::product_automaton_impl< Aut, Auts >::not_to_post_p::operator()(), vcsn::detail::partition_automaton_impl< Aut >::partition_automaton_impl(), and vcsn::detail::permutation_automaton_impl< Aut >::permutation_automaton_impl().
|
inlinestatic |
Definition at line 103 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::partition_automaton_impl< Aut >::partition_automaton_impl(), and vcsn::detail::permutation_automaton_impl< Aut >::permutation_automaton_impl().
|
inline |
Definition at line 146 of file automaton-decorator.hh.
|
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 185 of file automaton-decorator.hh.
|
inlinefinal |
Definition at line 186 of file automaton-decorator.hh.
|
inline |
Definition at line 187 of file automaton-decorator.hh.
|
inline |
Definition at line 188 of file automaton-decorator.hh.
|
inline |
Definition at line 189 of file automaton-decorator.hh.
|
inlinestatic |
Definition at line 104 of file automaton-decorator.hh.
|
inline |
Definition at line 150 of file automaton-decorator.hh.
|
inline |
Definition at line 151 of file automaton-decorator.hh.
|
inline |
Definition at line 152 of file automaton-decorator.hh.
|
inline |
Definition at line 153 of file automaton-decorator.hh.
|
inline |
Definition at line 74 of file automaton-decorator.hh.
|
inline |
Definition at line 154 of file automaton-decorator.hh.
|
inlinefinal |
Definition at line 190 of file automaton-decorator.hh.
|
inline |
Definition at line 191 of file automaton-decorator.hh.
|
inline |
Definition at line 155 of file automaton-decorator.hh.
|
inline |
Definition at line 156 of file automaton-decorator.hh.
|
protected |
The wrapped automaton, possibly const.
Definition at line 82 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().