FST  openfst-1.8.3
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 ()=default
 
 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 38 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 278 of file trie.h.

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

Definition at line 280 of file trie.h.

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

Definition at line 279 of file trie.h.

Constructor & Destructor Documentation

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

Definition at line 283 of file trie.h.

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

Definition at line 316 of file trie.h.

Member Function Documentation

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

Definition at line 307 of file trie.h.

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

Definition at line 308 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 330 of file trie.h.

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

Definition at line 320 of file trie.h.

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

Definition at line 298 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 293 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 290 of file trie.h.

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

Definition at line 302 of file trie.h.

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

Definition at line 297 of file trie.h.

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

Definition at line 288 of file trie.h.

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

Definition at line 303 of file trie.h.


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