FST  openfst-1.8.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 &)=default
 
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 448 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 450 of file util.h.

Constructor & Destructor Documentation

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

Definition at line 452 of file util.h.

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

Member Function Documentation

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

Definition at line 496 of file util.h.

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

Definition at line 473 of file util.h.

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

Definition at line 498 of file util.h.

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

Definition at line 462 of file util.h.

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

Definition at line 478 of file util.h.

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

Definition at line 456 of file util.h.

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

Definition at line 501 of file util.h.

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

Definition at line 486 of file util.h.

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

Definition at line 504 of file util.h.


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