FST  openfst-1.8.3
OpenFst Library
Public Member Functions | Static Public Member Functions | Public Attributes | List of all members
fst::internal::EncodeTable< Arc >::Triple Struct Reference

#include <encode.h>

Public Member Functions

 Triple ()=default
 
 Triple (Label ilabel, Label olabel, Weight weight)
 
 Triple (const Arc &arc, uint8_t flags)
 
void Write (std::ostream &strm) const
 
bool operator== (const Triple &other) const
 

Static Public Member Functions

static std::unique_ptr< TripleRead (std::istream &strm)
 

Public Attributes

Label ilabel
 
Label olabel
 
Weight weight
 

Detailed Description

template<class Arc>
struct fst::internal::EncodeTable< Arc >::Triple

Definition at line 121 of file encode.h.

Constructor & Destructor Documentation

template<class Arc>
fst::internal::EncodeTable< Arc >::Triple::Triple ( )
default
template<class Arc>
fst::internal::EncodeTable< Arc >::Triple::Triple ( Label  ilabel,
Label  olabel,
Weight  weight 
)
inline

Definition at line 124 of file encode.h.

template<class Arc>
fst::internal::EncodeTable< Arc >::Triple::Triple ( const Arc &  arc,
uint8_t  flags 
)
inline

Definition at line 128 of file encode.h.

Member Function Documentation

template<class Arc>
bool fst::internal::EncodeTable< Arc >::Triple::operator== ( const Triple other) const
inline

Definition at line 148 of file encode.h.

template<class Arc>
static std::unique_ptr<Triple> fst::internal::EncodeTable< Arc >::Triple::Read ( std::istream &  strm)
inlinestatic

Definition at line 133 of file encode.h.

template<class Arc>
void fst::internal::EncodeTable< Arc >::Triple::Write ( std::ostream &  strm) const
inline

Definition at line 141 of file encode.h.

Member Data Documentation

template<class Arc>
Label fst::internal::EncodeTable< Arc >::Triple::ilabel

Definition at line 153 of file encode.h.

template<class Arc>
Label fst::internal::EncodeTable< Arc >::Triple::olabel

Definition at line 154 of file encode.h.

template<class Arc>
Weight fst::internal::EncodeTable< Arc >::Triple::weight

Definition at line 155 of file encode.h.


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