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

#include <compact-fst.h>

Public Member Functions

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

Static Public Member Functions

template<class ArcCompactor >
static CompactArcStoreRead (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::CompactArcStore< Element, Unsigned >

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

Constructor & Destructor Documentation

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

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

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

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

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

Member Function Documentation

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

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

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

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

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

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

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

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

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

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

template<class Element , class Unsigned >
template<class ArcCompactor >
static CompactArcStore* fst::CompactArcStore< 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 >
CompactArcStore<Element, Unsigned>* fst::CompactArcStore< Element, Unsigned >::Read ( std::istream &  strm,
const FstReadOptions opts,
const FstHeader hdr,
const ArcCompactor &  arc_compactor 
)

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

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

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

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

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

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

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

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

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


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