FST  openfst-1.8.3
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 543 of file cache.h.

Member Typedef Documentation

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

Definition at line 546 of file cache.h.

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

Definition at line 545 of file cache.h.

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

Definition at line 547 of file cache.h.

Constructor & Destructor Documentation

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

Definition at line 550 of file cache.h.

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

Definition at line 556 of file cache.h.

Member Function Documentation

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

Definition at line 613 of file cache.h.

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

Definition at line 626 of file cache.h.

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

Definition at line 632 of file cache.h.

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

Definition at line 649 of file cache.h.

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

Definition at line 620 of file cache.h.

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

Definition at line 623 of file cache.h.

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

Definition at line 636 of file cache.h.

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

Definition at line 585 of file cache.h.

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

Definition at line 578 of file cache.h.

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

Definition at line 644 of file cache.h.

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

Definition at line 564 of file cache.h.

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

Definition at line 646 of file cache.h.

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

Definition at line 617 of file cache.h.

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

Definition at line 638 of file cache.h.


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