FST  openfst-1.7.2
OpenFst Library
Public Member Functions | Static Public Member Functions | List of all members
fst::DefaultCompactStore< Element, Unsigned > Class Template Reference

#include <compact-fst.h>

Public Member Functions

 DefaultCompactStore ()
 
template<class Arc , class Compactor >
 DefaultCompactStore (const Fst< Arc > &fst, const Compactor &compactor)
 
template<class Iterator , class Compactor >
 DefaultCompactStore (const Iterator &begin, const Iterator &end, const Compactor &compactor)
 
 ~DefaultCompactStore ()
 
bool Write (std::ostream &strm, const FstWriteOptions &opts) const
 
Unsigned States (ssize_t i) const
 
const Element & Compacts (size_t i) const
 
size_t NumStates () const
 
size_t NumCompacts () const
 
size_t NumArcs () const
 
ssize_t Start () const
 
bool Error () const
 

Static Public Member Functions

template<class Compactor >
static DefaultCompactStore< Element, Unsigned > * Read (std::istream &strm, const FstReadOptions &opts, const FstHeader &hdr, const Compactor &compactor)
 
static const string & Type ()
 

Detailed Description

template<class Element, class Unsigned>
class fst::DefaultCompactStore< Element, Unsigned >

Definition at line 177 of file compact-fst.h.

Constructor & Destructor Documentation

template<class Element, class Unsigned>
fst::DefaultCompactStore< Element, Unsigned >::DefaultCompactStore ( )
inline

Definition at line 179 of file compact-fst.h.

template<class Element , class Unsigned >
template<class Arc , class Compactor >
fst::DefaultCompactStore< Element, Unsigned >::DefaultCompactStore ( const Fst< Arc > &  fst,
const Compactor &  compactor 
)

Definition at line 238 of file compact-fst.h.

template<class Element , class Unsigned >
template<class Iterator , class Compactor >
fst::DefaultCompactStore< Element, Unsigned >::DefaultCompactStore ( const Iterator &  begin,
const Iterator &  end,
const Compactor &  compactor 
)

Definition at line 300 of file compact-fst.h.

template<class Element, class Unsigned>
fst::DefaultCompactStore< Element, Unsigned >::~DefaultCompactStore ( )
inline

Definition at line 195 of file compact-fst.h.

Member Function Documentation

template<class Element, class Unsigned>
const Element& fst::DefaultCompactStore< Element, Unsigned >::Compacts ( size_t  i) const
inline

Definition at line 209 of file compact-fst.h.

template<class Element, class Unsigned>
bool fst::DefaultCompactStore< Element, Unsigned >::Error ( ) const
inline

Definition at line 219 of file compact-fst.h.

template<class Element, class Unsigned>
size_t fst::DefaultCompactStore< Element, Unsigned >::NumArcs ( ) const
inline

Definition at line 215 of file compact-fst.h.

template<class Element, class Unsigned>
size_t fst::DefaultCompactStore< Element, Unsigned >::NumCompacts ( ) const
inline

Definition at line 213 of file compact-fst.h.

template<class Element, class Unsigned>
size_t fst::DefaultCompactStore< Element, Unsigned >::NumStates ( ) const
inline

Definition at line 211 of file compact-fst.h.

template<class Element , class Unsigned >
template<class Compactor >
DefaultCompactStore< Element, Unsigned > * fst::DefaultCompactStore< Element, Unsigned >::Read ( std::istream &  strm,
const FstReadOptions opts,
const FstHeader hdr,
const Compactor &  compactor 
)
static

Definition at line 384 of file compact-fst.h.

template<class Element, class Unsigned>
ssize_t fst::DefaultCompactStore< Element, Unsigned >::Start ( ) const
inline

Definition at line 217 of file compact-fst.h.

template<class Element, class Unsigned>
Unsigned fst::DefaultCompactStore< Element, Unsigned >::States ( ssize_t  i) const
inline

Definition at line 207 of file compact-fst.h.

template<class Element , class Unsigned >
const string & fst::DefaultCompactStore< Element, Unsigned >::Type ( )
static

Definition at line 457 of file compact-fst.h.

template<class Element , class Unsigned >
bool fst::DefaultCompactStore< Element, Unsigned >::Write ( std::ostream &  strm,
const FstWriteOptions opts 
) const

Definition at line 431 of file compact-fst.h.


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