FST  openfst-1.8.3
OpenFst Library
Public Types | Public Member Functions | List of all members
fst::WeightConvertMapper< A, B, C > Class Template Reference

#include <arc-map.h>

Public Types

using FromArc = A
 
using ToArc = B
 
using Converter = C
 
using FromWeight = typename FromArc::Weight
 
using ToWeight = typename ToArc::Weight
 

Public Member Functions

constexpr WeightConvertMapper (const Converter &c=Converter())
 
constexpr ToArc operator() (const FromArc &arc) const
 
constexpr MapFinalAction FinalAction () const
 
constexpr MapSymbolsAction InputSymbolsAction () const
 
constexpr MapSymbolsAction OutputSymbolsAction () const
 
constexpr uint64_t Properties (uint64_t props) const
 

Detailed Description

template<class A, class B, class C = WeightConvert<typename A::Weight, typename B::Weight>>
class fst::WeightConvertMapper< A, B, C >

Definition at line 800 of file arc-map.h.

Member Typedef Documentation

template<class A , class B , class C = WeightConvert<typename A::Weight, typename B::Weight>>
using fst::WeightConvertMapper< A, B, C >::Converter = C

Definition at line 804 of file arc-map.h.

template<class A , class B , class C = WeightConvert<typename A::Weight, typename B::Weight>>
using fst::WeightConvertMapper< A, B, C >::FromArc = A

Definition at line 802 of file arc-map.h.

template<class A , class B , class C = WeightConvert<typename A::Weight, typename B::Weight>>
using fst::WeightConvertMapper< A, B, C >::FromWeight = typename FromArc::Weight

Definition at line 805 of file arc-map.h.

template<class A , class B , class C = WeightConvert<typename A::Weight, typename B::Weight>>
using fst::WeightConvertMapper< A, B, C >::ToArc = B

Definition at line 803 of file arc-map.h.

template<class A , class B , class C = WeightConvert<typename A::Weight, typename B::Weight>>
using fst::WeightConvertMapper< A, B, C >::ToWeight = typename ToArc::Weight

Definition at line 806 of file arc-map.h.

Constructor & Destructor Documentation

template<class A , class B , class C = WeightConvert<typename A::Weight, typename B::Weight>>
constexpr fst::WeightConvertMapper< A, B, C >::WeightConvertMapper ( const Converter c = Converter())
inlineexplicit

Definition at line 808 of file arc-map.h.

Member Function Documentation

template<class A , class B , class C = WeightConvert<typename A::Weight, typename B::Weight>>
constexpr MapFinalAction fst::WeightConvertMapper< A, B, C >::FinalAction ( ) const
inline

Definition at line 816 of file arc-map.h.

template<class A , class B , class C = WeightConvert<typename A::Weight, typename B::Weight>>
constexpr MapSymbolsAction fst::WeightConvertMapper< A, B, C >::InputSymbolsAction ( ) const
inline

Definition at line 818 of file arc-map.h.

template<class A , class B , class C = WeightConvert<typename A::Weight, typename B::Weight>>
constexpr ToArc fst::WeightConvertMapper< A, B, C >::operator() ( const FromArc arc) const
inline

Definition at line 811 of file arc-map.h.

template<class A , class B , class C = WeightConvert<typename A::Weight, typename B::Weight>>
constexpr MapSymbolsAction fst::WeightConvertMapper< A, B, C >::OutputSymbolsAction ( ) const
inline

Definition at line 822 of file arc-map.h.

template<class A , class B , class C = WeightConvert<typename A::Weight, typename B::Weight>>
constexpr uint64_t fst::WeightConvertMapper< A, B, C >::Properties ( uint64_t  props) const
inline

Definition at line 826 of file arc-map.h.


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