TRF Language Model
wb::TrieIter< KeyT, DataT > Class Template Reference

iter all the sub-tries More...

#include <wb-trie.h>

Public Member Functions

 TrieIter (_wb_TRIE *ptrie, bool(*sort)(KeyT, KeyT)=0)
 
void Init ()
 Initialization. More...
 
_wb_TRIENext (KeyT &key)
 Get next sub-trie. More...
 

Friends

class TrieIter2< KeyT, DataT >
 

Detailed Description

template<class KeyT, class DataT>
class wb::TrieIter< KeyT, DataT >

iter all the sub-tries

Definition at line 41 of file wb-trie.h.

Constructor & Destructor Documentation

§ TrieIter()

template<class KeyT, class DataT>
wb::TrieIter< KeyT, DataT >::TrieIter ( _wb_TRIE ptrie,
bool(*)(KeyT, KeyT)  sort = 0 
)
inline

Definition at line 219 of file wb-trie.h.

Member Function Documentation

§ Init()

template<class KeyT, class DataT>
void wb::TrieIter< KeyT, DataT >::Init ( )
inline

Initialization.

Definition at line 222 of file wb-trie.h.

§ Next()

template<class KeyT, class DataT>
_wb_TRIE* wb::TrieIter< KeyT, DataT >::Next ( KeyT &  key)
inline

Get next sub-trie.

Definition at line 225 of file wb-trie.h.

Friends And Related Function Documentation

§ TrieIter2< KeyT, DataT >

template<class KeyT, class DataT>
friend class TrieIter2< KeyT, DataT >
friend

Definition at line 217 of file wb-trie.h.


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