/disk4/html/www/moses/doxygen/mosesdecoder/util/string_piece_hash.hh File Reference

#include "util/string_piece.hh"
#include <boost/functional/hash.hpp>
#include <boost/version.hpp>

Go to the source code of this file.

Classes

struct  StringPieceCompatibleHash
struct  StringPieceCompatibleEquals

Functions

size_t hash_value (const StringPiece &str)
template<class T >
T::const_iterator FindStringPiece (const T &t, const StringPiece &key)
template<class T >
T::iterator FindStringPiece (T &t, const StringPiece &key)


Function Documentation

template<class T >
T::iterator FindStringPiece ( T t,
const StringPiece key 
) [inline]

Definition at line 34 of file string_piece_hash.hh.

References StringPiece::data(), and StringPiece::size().

Here is the call graph for this function:

template<class T >
T::const_iterator FindStringPiece ( const T t,
const StringPiece key 
) [inline]

size_t hash_value ( const StringPiece str  )  [inline]

Definition at line 9 of file string_piece_hash.hh.

References StringPiece::data(), and StringPiece::length().

Here is the call graph for this function:


Generated on Thu Jul 6 00:31:41 2017 for Moses by  doxygen 1.5.9