FST  openfst-1.7.1
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 Properties (uint64 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 769 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 773 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 771 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 774 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 772 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 775 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 777 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 785 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 787 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 780 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 791 of file arc-map.h.

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

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


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