FST  openfst-1.8.3
OpenFst Library
Public Types | Public Member Functions | Static Public Member Functions | Public Attributes | List of all members
fst::ArcTpl< W, L, S > Struct Template Reference

#include <arc.h>

Collaboration diagram for fst::ArcTpl< W, L, S >:
Collaboration graph
[legend]

Public Types

using Weight = W
 
using Label = L
 
using StateId = S
 

Public Member Functions

 ArcTpl () noexcept(std::is_nothrow_default_constructible_v< Weight >)=default
 
template<class T >
 ArcTpl (Label ilabel, Label olabel, T &&weight, StateId nextstate)
 
 ArcTpl (Label ilabel, Label olabel, StateId nextstate)
 

Static Public Member Functions

static const std::string & Type ()
 

Public Attributes

Label ilabel
 
Label olabel
 
Weight weight
 
StateId nextstate
 

Detailed Description

template<class W, class L, class S>
struct fst::ArcTpl< W, L, S >

Definition at line 44 of file arc.h.

Member Typedef Documentation

template<class W, class L, class S>
using fst::ArcTpl< W, L, S >::Label = L

Definition at line 47 of file arc.h.

template<class W, class L, class S>
using fst::ArcTpl< W, L, S >::StateId = S

Definition at line 48 of file arc.h.

template<class W, class L, class S>
using fst::ArcTpl< W, L, S >::Weight = W

Definition at line 46 of file arc.h.

Constructor & Destructor Documentation

template<class W, class L, class S>
fst::ArcTpl< W, L, S >::ArcTpl ( ) const
defaultnoexcept
template<class W, class L, class S>
template<class T >
fst::ArcTpl< W, L, S >::ArcTpl ( Label  ilabel,
Label  olabel,
T &&  weight,
StateId  nextstate 
)
inline

Definition at line 58 of file arc.h.

template<class W, class L, class S>
fst::ArcTpl< W, L, S >::ArcTpl ( Label  ilabel,
Label  olabel,
StateId  nextstate 
)
inline

Definition at line 65 of file arc.h.

Member Function Documentation

template<class W, class L, class S>
static const std::string& fst::ArcTpl< W, L, S >::Type ( )
inlinestatic

Definition at line 68 of file arc.h.

Member Data Documentation

template<class W, class L, class S>
Label fst::ArcTpl< W, L, S >::ilabel

Definition at line 50 of file arc.h.

template<class W, class L, class S>
StateId fst::ArcTpl< W, L, S >::nextstate

Definition at line 53 of file arc.h.

template<class W, class L, class S>
Label fst::ArcTpl< W, L, S >::olabel

Definition at line 51 of file arc.h.

template<class W, class L, class S>
Weight fst::ArcTpl< W, L, S >::weight

Definition at line 52 of file arc.h.


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