FST  openfst-1.8.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 ()
 
 VectorIntervalStore (std::initializer_list< Interval > intervals_init)
 
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 77 of file interval-set.h.

Member Typedef Documentation

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

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

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

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

Constructor & Destructor Documentation

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

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

template<class T >
fst::VectorIntervalStore< T >::VectorIntervalStore ( std::initializer_list< Interval intervals_init)
inline

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

Member Function Documentation

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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


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