FST  openfst-1.7.0
OpenFst Library
Public Types | Public Member Functions | List of all members
fst::FirstCacheStore< CacheStore > Class Template Reference

#include <cache.h>

Public Types

using State = typename CacheStore::State
 
using Arc = typename State::Arc
 
using StateId = typename Arc::StateId
 

Public Member Functions

 FirstCacheStore (const CacheOptions &opts)
 
 FirstCacheStore (const FirstCacheStore< CacheStore > &store)
 
FirstCacheStore< CacheStore > & operator= (const FirstCacheStore< CacheStore > &store)
 
const StateGetState (StateId s) const
 
StateGetMutableState (StateId s)
 
void AddArc (State *state, const Arc &arc)
 
void SetArcs (State *state)
 
void DeleteArcs (State *state)
 
void DeleteArcs (State *state, size_t n)
 
void Clear ()
 
StateId CountStates () const
 
bool Done () const
 
StateId Value () const
 
void Next ()
 
void Reset ()
 
void Delete ()
 

Detailed Description

template<class CacheStore>
class fst::FirstCacheStore< CacheStore >

Definition at line 516 of file cache.h.

Member Typedef Documentation

template<class CacheStore>
using fst::FirstCacheStore< CacheStore >::Arc = typename State::Arc

Definition at line 519 of file cache.h.

template<class CacheStore>
using fst::FirstCacheStore< CacheStore >::State = typename CacheStore::State

Definition at line 518 of file cache.h.

template<class CacheStore>
using fst::FirstCacheStore< CacheStore >::StateId = typename Arc::StateId

Definition at line 520 of file cache.h.

Constructor & Destructor Documentation

template<class CacheStore>
fst::FirstCacheStore< CacheStore >::FirstCacheStore ( const CacheOptions opts)
inlineexplicit

Definition at line 523 of file cache.h.

template<class CacheStore>
fst::FirstCacheStore< CacheStore >::FirstCacheStore ( const FirstCacheStore< CacheStore > &  store)
inline

Definition at line 529 of file cache.h.

Member Function Documentation

template<class CacheStore>
void fst::FirstCacheStore< CacheStore >::AddArc ( State state,
const Arc arc 
)
inline

Definition at line 586 of file cache.h.

template<class CacheStore>
void fst::FirstCacheStore< CacheStore >::Clear ( )
inline

Definition at line 599 of file cache.h.

template<class CacheStore>
StateId fst::FirstCacheStore< CacheStore >::CountStates ( ) const
inline

Definition at line 605 of file cache.h.

template<class CacheStore>
void fst::FirstCacheStore< CacheStore >::Delete ( )
inline

Definition at line 622 of file cache.h.

template<class CacheStore>
void fst::FirstCacheStore< CacheStore >::DeleteArcs ( State state)
inline

Definition at line 593 of file cache.h.

template<class CacheStore>
void fst::FirstCacheStore< CacheStore >::DeleteArcs ( State state,
size_t  n 
)
inline

Definition at line 596 of file cache.h.

template<class CacheStore>
bool fst::FirstCacheStore< CacheStore >::Done ( ) const
inline

Definition at line 609 of file cache.h.

template<class CacheStore>
State* fst::FirstCacheStore< CacheStore >::GetMutableState ( StateId  s)
inline

Definition at line 558 of file cache.h.

template<class CacheStore>
const State* fst::FirstCacheStore< CacheStore >::GetState ( StateId  s) const
inline

Definition at line 551 of file cache.h.

template<class CacheStore>
void fst::FirstCacheStore< CacheStore >::Next ( )
inline

Definition at line 617 of file cache.h.

template<class CacheStore>
FirstCacheStore<CacheStore>& fst::FirstCacheStore< CacheStore >::operator= ( const FirstCacheStore< CacheStore > &  store)
inline

Definition at line 537 of file cache.h.

template<class CacheStore>
void fst::FirstCacheStore< CacheStore >::Reset ( )
inline

Definition at line 619 of file cache.h.

template<class CacheStore>
void fst::FirstCacheStore< CacheStore >::SetArcs ( State state)
inline

Definition at line 590 of file cache.h.

template<class CacheStore>
StateId fst::FirstCacheStore< CacheStore >::Value ( ) const
inline

Definition at line 611 of file cache.h.


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