FST  openfst-1.7.3
OpenFst Library
Public Types | Public Member Functions | List of all members
fst::VectorIntervalStore< T > Class Template Reference

#include <interval-set.h>

Public Types

using Interval = IntInterval< T >
 
using Iterator = typename std::vector< Interval >::const_iterator
 

Public Member Functions

 VectorIntervalStore ()
 
std::vector< Interval > * MutableIntervals ()
 
const IntervalIntervals () const
 
Size () const
 
Count () const
 
void SetCount (T count)
 
void Clear ()
 
Iterator begin () const
 
Iterator end () const
 
std::istream & Read (std::istream &strm)
 
std::ostream & Write (std::ostream &strm) const
 

Detailed Description

template<class T>
class fst::VectorIntervalStore< T >

Definition at line 62 of file interval-set.h.

Member Typedef Documentation

template<class T >
using fst::VectorIntervalStore< T >::Interval = IntInterval<T>

Definition at line 64 of file interval-set.h.

template<class T >
using fst::VectorIntervalStore< T >::Iterator = typename std::vector<Interval>::const_iterator

Definition at line 65 of file interval-set.h.

Constructor & Destructor Documentation

template<class T >
fst::VectorIntervalStore< T >::VectorIntervalStore ( )
inline

Definition at line 67 of file interval-set.h.

Member Function Documentation

template<class T >
Iterator fst::VectorIntervalStore< T >::begin ( ) const
inline

Definition at line 84 of file interval-set.h.

template<class T >
void fst::VectorIntervalStore< T >::Clear ( )
inline

Definition at line 79 of file interval-set.h.

template<class T >
T fst::VectorIntervalStore< T >::Count ( ) const
inline

Definition at line 75 of file interval-set.h.

template<class T >
Iterator fst::VectorIntervalStore< T >::end ( ) const
inline

Definition at line 86 of file interval-set.h.

template<class T >
const Interval* fst::VectorIntervalStore< T >::Intervals ( ) const
inline

Definition at line 71 of file interval-set.h.

template<class T >
std::vector<Interval>* fst::VectorIntervalStore< T >::MutableIntervals ( )
inline

Definition at line 69 of file interval-set.h.

template<class T >
std::istream& fst::VectorIntervalStore< T >::Read ( std::istream &  strm)
inline

Definition at line 88 of file interval-set.h.

template<class T >
void fst::VectorIntervalStore< T >::SetCount ( count)
inline

Definition at line 77 of file interval-set.h.

template<class T >
T fst::VectorIntervalStore< T >::Size ( ) const
inline

Definition at line 73 of file interval-set.h.

template<class T >
std::ostream& fst::VectorIntervalStore< T >::Write ( std::ostream &  strm) const
inline

Definition at line 93 of file interval-set.h.


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