FST  openfst-1.7.5
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 ()=default
 
 DefaultCompactStore (const DefaultCompactStore &)=default
 
template<class Arc , class ArcCompactor >
 DefaultCompactStore (const Fst< Arc > &fst, const ArcCompactor &arc_compactor)
 
template<class Iterator , class ArcCompactor >
 DefaultCompactStore (const Iterator begin, const Iterator end, const ArcCompactor &arc_compactor)
 
 ~DefaultCompactStore ()=default
 
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
 
template<class ArcCompactor >
DefaultCompactStore< Element, Unsigned > * Read (std::istream &strm, const FstReadOptions &opts, const FstHeader &hdr, const ArcCompactor &arc_compactor)
 

Static Public Member Functions

template<class ArcCompactor >
static DefaultCompactStoreRead (std::istream &strm, const FstReadOptions &opts, const FstHeader &hdr, const ArcCompactor &arc_compactor)
 
static const std::string & Type ()
 

Detailed Description

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

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

Constructor & Destructor Documentation

template<class Element , class Unsigned >
fst::DefaultCompactStore< Element, Unsigned >::DefaultCompactStore ( )
default
template<class Element , class Unsigned >
fst::DefaultCompactStore< Element, Unsigned >::DefaultCompactStore ( const DefaultCompactStore< Element, Unsigned > &  )
default
template<class Element , class Unsigned >
template<class Arc , class ArcCompactor >
fst::DefaultCompactStore< Element, Unsigned >::DefaultCompactStore ( const Fst< Arc > &  fst,
const ArcCompactor &  arc_compactor 
)

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

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

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

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

Member Function Documentation

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

Definition at line 493 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 466 of file compact-fst.h.


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