Logo Search packages:      
Sourcecode: verbiste version File versions

template<class T>
virtual void verbiste::Trie< T >::onFoundPrefixWithUserData ( const std::string &  key,
std::string::size_type  index,
const T *  userData 
) const throw () [inline, virtual]

Callback invoked by the Trie<>::get() method. This callback will be called for each prefix of the searched string for which the trie has some user data. This method does nothing if it is not overridden in a derived class.

Parameters:
key the searched string
index length of the prefix
userData user data that is associated with the prefix

Reimplemented in verbiste::FrenchVerbDictionary::VerbTrie.

Definition at line 91 of file Trie.h.

    {
    }


Generated by  Doxygen 1.6.0   Back to index