FST  openfst-1.8.3
OpenFst Library
Public Types | Public Member Functions | List of all members
fst::FstTester< F > Class Template Reference

#include <fst_test.h>

Public Types

using Arc = typename F::Arc
 
using StateId = typename Arc::StateId
 
using Weight = typename Arc::Weight
 
using Label = typename Arc::Label
 

Public Member Functions

 FstTester (size_t num_states=128, bool weighted=true)
 
template<class G >
void TestBase (const G &fst) const
 
void TestBase () const
 
template<class G >
void TestExpanded (const G &fst) const
 
void TestExpanded () const
 
template<class G >
void TestMutable (G *fst) const
 
void TestMutable ()
 
template<class G >
void TestAssign (const G &fst) const
 
void TestAssign ()
 
template<class G >
void TestCopy (const G &fst) const
 
void TestCopy () const
 
template<class G >
void TestIO (const G &fst) const
 
void TestIO () const
 

Detailed Description

template<class F>
class fst::FstTester< F >

Definition at line 48 of file fst_test.h.

Member Typedef Documentation

template<class F>
using fst::FstTester< F >::Arc = typename F::Arc

Definition at line 50 of file fst_test.h.

template<class F>
using fst::FstTester< F >::Label = typename Arc::Label

Definition at line 53 of file fst_test.h.

template<class F>
using fst::FstTester< F >::StateId = typename Arc::StateId

Definition at line 51 of file fst_test.h.

template<class F>
using fst::FstTester< F >::Weight = typename Arc::Weight

Definition at line 52 of file fst_test.h.

Constructor & Destructor Documentation

template<class F>
fst::FstTester< F >::FstTester ( size_t  num_states = 128,
bool  weighted = true 
)
inlineexplicit

Definition at line 55 of file fst_test.h.

Member Function Documentation

template<class F>
template<class G >
void fst::FstTester< F >::TestAssign ( const G &  fst) const
inline

Definition at line 176 of file fst_test.h.

template<class F>
void fst::FstTester< F >::TestAssign ( )
inline

Definition at line 192 of file fst_test.h.

template<class F>
template<class G >
void fst::FstTester< F >::TestBase ( const G &  fst) const
inline

Definition at line 65 of file fst_test.h.

template<class F>
void fst::FstTester< F >::TestBase ( ) const
inline

Definition at line 116 of file fst_test.h.

template<class F>
template<class G >
void fst::FstTester< F >::TestCopy ( const G &  fst) const
inline

Definition at line 196 of file fst_test.h.

template<class F>
void fst::FstTester< F >::TestCopy ( ) const
inline

Definition at line 210 of file fst_test.h.

template<class F>
template<class G >
void fst::FstTester< F >::TestExpanded ( const G &  fst) const
inline

Definition at line 120 of file fst_test.h.

template<class F>
void fst::FstTester< F >::TestExpanded ( ) const
inline

Definition at line 130 of file fst_test.h.

template<class F>
template<class G >
void fst::FstTester< F >::TestIO ( const G &  fst) const
inline

Definition at line 214 of file fst_test.h.

template<class F>
void fst::FstTester< F >::TestIO ( ) const
inline

Definition at line 294 of file fst_test.h.

template<class F>
template<class G >
void fst::FstTester< F >::TestMutable ( G *  fst) const
inline

Definition at line 134 of file fst_test.h.

template<class F>
void fst::FstTester< F >::TestMutable ( )
inline

Definition at line 172 of file fst_test.h.


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