FST  openfst-1.7.3
OpenFst Library
Public Types | Public Member Functions | List of all members
fst::TrivialComposeFilter< M1, M2 > Class Template Reference

#include <compose-filter.h>

Public Types

using Matcher1 = M1
 
using Matcher2 = M2
 
using FST1 = typename M1::FST
 
using FST2 = typename M2::FST
 
using FilterState = TrivialFilterState
 
using Arc = typename FST1::Arc
 
using Label = typename Arc::Label
 
using StateId = typename Arc::StateId
 
using Weight = typename Arc::Weight
 

Public Member Functions

 TrivialComposeFilter (const FST1 &fst1, const FST2 &fst2, Matcher1 *matcher1=nullptr, Matcher2 *matcher2=nullptr)
 
 TrivialComposeFilter (const TrivialComposeFilter< Matcher1, Matcher2 > &filter, bool safe=false)
 
FilterState Start () const
 
void SetState (StateId, StateId, const FilterState &)
 
FilterState FilterArc (Arc *, Arc *) const
 
void FilterFinal (Weight *, Weight *) const
 
Matcher1GetMatcher1 ()
 
Matcher2GetMatcher2 ()
 
uint64 Properties (uint64 props) const
 

Detailed Description

template<class M1, class M2>
class fst::TrivialComposeFilter< M1, M2 >

Definition at line 141 of file compose-filter.h.

Member Typedef Documentation

template<class M1, class M2>
using fst::TrivialComposeFilter< M1, M2 >::Arc = typename FST1::Arc

Definition at line 149 of file compose-filter.h.

template<class M1, class M2>
using fst::TrivialComposeFilter< M1, M2 >::FilterState = TrivialFilterState

Definition at line 147 of file compose-filter.h.

template<class M1, class M2>
using fst::TrivialComposeFilter< M1, M2 >::FST1 = typename M1::FST

Definition at line 145 of file compose-filter.h.

template<class M1, class M2>
using fst::TrivialComposeFilter< M1, M2 >::FST2 = typename M2::FST

Definition at line 146 of file compose-filter.h.

template<class M1, class M2>
using fst::TrivialComposeFilter< M1, M2 >::Label = typename Arc::Label

Definition at line 150 of file compose-filter.h.

template<class M1, class M2>
using fst::TrivialComposeFilter< M1, M2 >::Matcher1 = M1

Definition at line 143 of file compose-filter.h.

template<class M1, class M2>
using fst::TrivialComposeFilter< M1, M2 >::Matcher2 = M2

Definition at line 144 of file compose-filter.h.

template<class M1, class M2>
using fst::TrivialComposeFilter< M1, M2 >::StateId = typename Arc::StateId

Definition at line 151 of file compose-filter.h.

template<class M1, class M2>
using fst::TrivialComposeFilter< M1, M2 >::Weight = typename Arc::Weight

Definition at line 152 of file compose-filter.h.

Constructor & Destructor Documentation

template<class M1, class M2>
fst::TrivialComposeFilter< M1, M2 >::TrivialComposeFilter ( const FST1 fst1,
const FST2 fst2,
Matcher1 matcher1 = nullptr,
Matcher2 matcher2 = nullptr 
)
inline

Definition at line 154 of file compose-filter.h.

template<class M1, class M2>
fst::TrivialComposeFilter< M1, M2 >::TrivialComposeFilter ( const TrivialComposeFilter< Matcher1, Matcher2 > &  filter,
bool  safe = false 
)
inline

Definition at line 162 of file compose-filter.h.

Member Function Documentation

template<class M1, class M2>
FilterState fst::TrivialComposeFilter< M1, M2 >::FilterArc ( Arc ,
Arc  
) const
inline

Definition at line 173 of file compose-filter.h.

template<class M1, class M2>
void fst::TrivialComposeFilter< M1, M2 >::FilterFinal ( Weight ,
Weight  
) const
inline

Definition at line 175 of file compose-filter.h.

template<class M1, class M2>
Matcher1* fst::TrivialComposeFilter< M1, M2 >::GetMatcher1 ( )
inline

Definition at line 177 of file compose-filter.h.

template<class M1, class M2>
Matcher2* fst::TrivialComposeFilter< M1, M2 >::GetMatcher2 ( )
inline

Definition at line 179 of file compose-filter.h.

template<class M1, class M2>
uint64 fst::TrivialComposeFilter< M1, M2 >::Properties ( uint64  props) const
inline

Definition at line 181 of file compose-filter.h.

template<class M1, class M2>
void fst::TrivialComposeFilter< M1, M2 >::SetState ( StateId  ,
StateId  ,
const FilterState  
)
inline

Definition at line 171 of file compose-filter.h.

template<class M1, class M2>
FilterState fst::TrivialComposeFilter< M1, M2 >::Start ( ) const
inline

Definition at line 169 of file compose-filter.h.


The documentation for this class was generated from the following file: