FST  openfst-1.8.3
OpenFst Library
Public Types | Public Member Functions | List of all members
fst::SparseTupleWeightIterator< W, K > Class Template Reference

#include <sparse-tuple-weight.h>

Public Types

using Pair = typename SparseTupleWeight< W, K >::Pair
 
using const_iterator = typename std::list< Pair >::const_iterator
 
using iterator = typename std::list< Pair >::iterator
 

Public Member Functions

 SparseTupleWeightIterator (const SparseTupleWeight< W, K > &weight)
 
bool Done () const
 
const PairValue () const
 
void Next ()
 
void Reset ()
 

Detailed Description

template<class W, class K>
class fst::SparseTupleWeightIterator< W, K >

Definition at line 47 of file sparse-tuple-weight.h.

Member Typedef Documentation

template<class W, class K>
using fst::SparseTupleWeightIterator< W, K >::const_iterator = typename std::list<Pair>::const_iterator

Definition at line 294 of file sparse-tuple-weight.h.

template<class W, class K>
using fst::SparseTupleWeightIterator< W, K >::iterator = typename std::list<Pair>::iterator

Definition at line 295 of file sparse-tuple-weight.h.

template<class W, class K>
using fst::SparseTupleWeightIterator< W, K >::Pair = typename SparseTupleWeight<W, K>::Pair

Definition at line 293 of file sparse-tuple-weight.h.

Constructor & Destructor Documentation

template<class W, class K>
fst::SparseTupleWeightIterator< W, K >::SparseTupleWeightIterator ( const SparseTupleWeight< W, K > &  weight)
inlineexplicit

Definition at line 297 of file sparse-tuple-weight.h.

Member Function Documentation

template<class W, class K>
bool fst::SparseTupleWeightIterator< W, K >::Done ( ) const
inline

Definition at line 303 of file sparse-tuple-weight.h.

template<class W, class K>
void fst::SparseTupleWeightIterator< W, K >::Next ( )
inline

Definition at line 313 of file sparse-tuple-weight.h.

template<class W, class K>
void fst::SparseTupleWeightIterator< W, K >::Reset ( )
inline

Definition at line 321 of file sparse-tuple-weight.h.

template<class W, class K>
const Pair& fst::SparseTupleWeightIterator< W, K >::Value ( ) const
inline

Definition at line 311 of file sparse-tuple-weight.h.


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