FST  openfst-1.7.3
OpenFst Library
Public Types | Public Member Functions | List of all members
fst::CompactSet< Key, NoKey > Class Template Reference

#include <util.h>

Public Types

using const_iterator = typename std::set< Key >::const_iterator
 

Public Member Functions

 CompactSet ()
 
 CompactSet (const CompactSet< Key, NoKey > &compact_set)
 
void Insert (Key key)
 
void Erase (Key key)
 
void Clear ()
 
const_iterator Find (Key key) const
 
bool Member (Key key) const
 
const_iterator Begin () const
 
const_iterator End () const
 
Key LowerBound () const
 
Key UpperBound () const
 

Detailed Description

template<class Key, Key NoKey>
class fst::CompactSet< Key, NoKey >

Definition at line 360 of file util.h.

Member Typedef Documentation

template<class Key, Key NoKey>
using fst::CompactSet< Key, NoKey >::const_iterator = typename std::set<Key>::const_iterator

Definition at line 362 of file util.h.

Constructor & Destructor Documentation

template<class Key, Key NoKey>
fst::CompactSet< Key, NoKey >::CompactSet ( )
inline

Definition at line 364 of file util.h.

template<class Key, Key NoKey>
fst::CompactSet< Key, NoKey >::CompactSet ( const CompactSet< Key, NoKey > &  compact_set)
inline

Definition at line 366 of file util.h.

Member Function Documentation

template<class Key, Key NoKey>
const_iterator fst::CompactSet< Key, NoKey >::Begin ( ) const
inline

Definition at line 411 of file util.h.

template<class Key, Key NoKey>
void fst::CompactSet< Key, NoKey >::Clear ( )
inline

Definition at line 388 of file util.h.

template<class Key, Key NoKey>
const_iterator fst::CompactSet< Key, NoKey >::End ( ) const
inline

Definition at line 413 of file util.h.

template<class Key, Key NoKey>
void fst::CompactSet< Key, NoKey >::Erase ( Key  key)
inline

Definition at line 377 of file util.h.

template<class Key, Key NoKey>
const_iterator fst::CompactSet< Key, NoKey >::Find ( Key  key) const
inline

Definition at line 393 of file util.h.

template<class Key, Key NoKey>
void fst::CompactSet< Key, NoKey >::Insert ( Key  key)
inline

Definition at line 371 of file util.h.

template<class Key, Key NoKey>
Key fst::CompactSet< Key, NoKey >::LowerBound ( ) const
inline

Definition at line 416 of file util.h.

template<class Key, Key NoKey>
bool fst::CompactSet< Key, NoKey >::Member ( Key  key) const
inline

Definition at line 401 of file util.h.

template<class Key, Key NoKey>
Key fst::CompactSet< Key, NoKey >::UpperBound ( ) const
inline

Definition at line 419 of file util.h.


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