FST  openfst-1.7.3
OpenFst Library
Classes | Public Member Functions | Friends | List of all members
fst::CompactHashBiTable< I, T, H, E, HS > Class Template Reference

#include <bi-table.h>

Public Member Functions

 CompactHashBiTable (size_t table_size=0, H *h=nullptr, E *e=nullptr)
 
 CompactHashBiTable (const CompactHashBiTable< I, T, H, E, HS > &table)
 
FindId (const T &entry, bool insert=true)
 
const T & FindEntry (I s) const
 
Size () const
 
void Clear (ssize_t n=-1)
 

Friends

class HashFunc
 
class HashEqual
 

Detailed Description

template<class I, class T, class H, class E = std::equal_to<T>, HSType HS = HS_FLAT>
class fst::CompactHashBiTable< I, T, H, E, HS >

Definition at line 117 of file bi-table.h.

Constructor & Destructor Documentation

template<class I, class T, class H, class E = std::equal_to<T>, HSType HS = HS_FLAT>
fst::CompactHashBiTable< I, T, H, E, HS >::CompactHashBiTable ( size_t  table_size = 0,
H *  h = nullptr,
E *  e = nullptr 
)
inlineexplicit

Definition at line 126 of file bi-table.h.

template<class I, class T, class H, class E = std::equal_to<T>, HSType HS = HS_FLAT>
fst::CompactHashBiTable< I, T, H, E, HS >::CompactHashBiTable ( const CompactHashBiTable< I, T, H, E, HS > &  table)
inline

Definition at line 134 of file bi-table.h.

Member Function Documentation

template<class I, class T, class H, class E = std::equal_to<T>, HSType HS = HS_FLAT>
void fst::CompactHashBiTable< I, T, H, E, HS >::Clear ( ssize_t  n = -1)
inline

Definition at line 164 of file bi-table.h.

template<class I, class T, class H, class E = std::equal_to<T>, HSType HS = HS_FLAT>
const T& fst::CompactHashBiTable< I, T, H, E, HS >::FindEntry ( s) const
inline

Definition at line 159 of file bi-table.h.

template<class I, class T, class H, class E = std::equal_to<T>, HSType HS = HS_FLAT>
I fst::CompactHashBiTable< I, T, H, E, HS >::FindId ( const T &  entry,
bool  insert = true 
)
inline

Definition at line 143 of file bi-table.h.

template<class I, class T, class H, class E = std::equal_to<T>, HSType HS = HS_FLAT>
I fst::CompactHashBiTable< I, T, H, E, HS >::Size ( ) const
inline

Definition at line 161 of file bi-table.h.

Friends And Related Function Documentation

template<class I, class T, class H, class E = std::equal_to<T>, HSType HS = HS_FLAT>
friend class HashEqual
friend

Definition at line 122 of file bi-table.h.

template<class I, class T, class H, class E = std::equal_to<T>, HSType HS = HS_FLAT>
friend class HashFunc
friend

Definition at line 118 of file bi-table.h.


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