FST  openfst-1.6.1
OpenFst Library
Public Types | Public Member Functions | List of all members
fst::FlatTrieTopology< L, H > Class Template Reference

#include <trie.h>

Public Types

typedef NextMap::const_iterator const_iterator
 
typedef L Label
 
typedef H Hash
 

Public Member Functions

 FlatTrieTopology ()
 
 FlatTrieTopology (const FlatTrieTopology &that)
 
template<class T >
 FlatTrieTopology (const T &that)
 
void swap (FlatTrieTopology &that)
 
bool operator== (const FlatTrieTopology &that) const
 
bool operator!= (const FlatTrieTopology &that) const
 
int Root () const
 
size_t NumNodes () const
 
int Insert (int parent, const L &label)
 
int Find (int parent, const L &label) const
 
std::istream & Read (std::istream &strm)
 
std::ostream & Write (std::ostream &strm) const
 
const_iterator begin () const
 
const_iterator end () const
 

Detailed Description

template<class L, class H>
class fst::FlatTrieTopology< L, H >

Definition at line 22 of file trie.h.

Member Typedef Documentation

template<class L , class H >
typedef NextMap::const_iterator fst::FlatTrieTopology< L, H >::const_iterator

Definition at line 267 of file trie.h.

template<class L , class H >
typedef H fst::FlatTrieTopology< L, H >::Hash

Definition at line 269 of file trie.h.

template<class L , class H >
typedef L fst::FlatTrieTopology< L, H >::Label

Definition at line 268 of file trie.h.

Constructor & Destructor Documentation

template<class L , class H >
fst::FlatTrieTopology< L, H >::FlatTrieTopology ( )
inline

Definition at line 271 of file trie.h.

template<class L , class H >
fst::FlatTrieTopology< L, H >::FlatTrieTopology ( const FlatTrieTopology< L, H > &  that)
inline

Definition at line 272 of file trie.h.

template<class L , class H >
template<class T >
fst::FlatTrieTopology< L, H >::FlatTrieTopology ( const T &  that)
explicit

Definition at line 307 of file trie.h.

Member Function Documentation

template<class L , class H >
const_iterator fst::FlatTrieTopology< L, H >::begin ( ) const
inline

Definition at line 298 of file trie.h.

template<class L , class H >
const_iterator fst::FlatTrieTopology< L, H >::end ( ) const
inline

Definition at line 299 of file trie.h.

template<class L , class H >
int fst::FlatTrieTopology< L, H >::Find ( int  parent,
const L &  label 
) const
inline

Definition at line 321 of file trie.h.

template<class L , class H >
int fst::FlatTrieTopology< L, H >::Insert ( int  parent,
const L &  label 
)
inline

Definition at line 311 of file trie.h.

template<class L , class H >
size_t fst::FlatTrieTopology< L, H >::NumNodes ( ) const
inline

Definition at line 287 of file trie.h.

template<class L , class H >
bool fst::FlatTrieTopology< L, H >::operator!= ( const FlatTrieTopology< L, H > &  that) const
inline

Definition at line 282 of file trie.h.

template<class L , class H >
bool fst::FlatTrieTopology< L, H >::operator== ( const FlatTrieTopology< L, H > &  that) const
inline

Definition at line 279 of file trie.h.

template<class L , class H >
std::istream& fst::FlatTrieTopology< L, H >::Read ( std::istream &  strm)
inline

Definition at line 291 of file trie.h.

template<class L , class H >
int fst::FlatTrieTopology< L, H >::Root ( ) const
inline

Definition at line 286 of file trie.h.

template<class L , class H >
void fst::FlatTrieTopology< L, H >::swap ( FlatTrieTopology< L, H > &  that)
inline

Definition at line 277 of file trie.h.

template<class L , class H >
std::ostream& fst::FlatTrieTopology< L, H >::Write ( std::ostream &  strm) const
inline

Definition at line 294 of file trie.h.


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