FST  openfst-1.7.2
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 31 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 282 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 283 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 281 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 285 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 291 of file sparse-tuple-weight.h.

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

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

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

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

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

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


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