FST  openfst-1.8.2.post1
OpenFst Library
Public Types | Public Member Functions | Static Public Member Functions | Public Attributes | List of all members
fst::ArcTpl< W > Struct Template Reference

#include <arc.h>

Public Types

using Weight = W
 
using Label = int
 
using StateId = int
 

Public Member Functions

 ArcTpl () noexcept(std::is_nothrow_default_constructible_v< Weight >)
 
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>
struct fst::ArcTpl< W >

Definition at line 44 of file arc.h.

Member Typedef Documentation

template<class W >
using fst::ArcTpl< W >::Label = int

Definition at line 47 of file arc.h.

template<class W >
using fst::ArcTpl< W >::StateId = int

Definition at line 48 of file arc.h.

template<class W >
using fst::ArcTpl< W >::Weight = W

Definition at line 46 of file arc.h.

Constructor & Destructor Documentation

template<class W >
fst::ArcTpl< W >::ArcTpl ( )
inlinenoexcept

Definition at line 55 of file arc.h.

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

Definition at line 58 of file arc.h.

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

Definition at line 65 of file arc.h.

Member Function Documentation

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

Definition at line 68 of file arc.h.

Member Data Documentation

template<class W >
Label fst::ArcTpl< W >::ilabel

Definition at line 50 of file arc.h.

template<class W >
StateId fst::ArcTpl< W >::nextstate

Definition at line 53 of file arc.h.

template<class W >
Label fst::ArcTpl< W >::olabel

Definition at line 51 of file arc.h.

template<class W >
Weight fst::ArcTpl< W >::weight

Definition at line 52 of file arc.h.


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