FST  openfst-1.7.3
OpenFst Library
Public Types | Public Member Functions | List of all members
fst::NullComposeFilter< 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

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

Detailed Description

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

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

Member Typedef Documentation

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

Constructor & Destructor Documentation

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

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

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

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

Member Function Documentation

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

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

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

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

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

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

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

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

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

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

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

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

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

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


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