FST  openfst-1.8.4
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 ()=default
 
constexpr WeightConvertMapper (const Converter &c)
 
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 922 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 926 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 924 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 927 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 925 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 928 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 ( )
default
template<class A , class B , class C = WeightConvert<typename A::Weight, typename B::Weight>>
constexpr fst::WeightConvertMapper< A, B, C >::WeightConvertMapper ( const Converter c)
inlineexplicit

Definition at line 934 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 942 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 944 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 937 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 948 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 952 of file arc-map.h.


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