TrinityCore
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
google::protobuf::hash< string > Struct Template Reference

#include <hash.h>

Public Member Functions

size_t operator() (const string &key) const
 
size_t operator() (const string &a, const string &b) const
 
size_t operator() (const string &key) const
 
size_t operator() (const string &a, const string &b) const
 

Static Public Attributes

static const size_t bucket_size = 4
 
static const size_t min_buckets = 8
 

Member Function Documentation

size_t google::protobuf::hash< string >::operator() ( const string &  key) const
inline
191  {
192  return hash<const char*>()(key.c_str());
193  }
size_t google::protobuf::hash< string >::operator() ( const string &  key) const
inline
191  {
192  return hash<const char*>()(key.c_str());
193  }
size_t google::protobuf::hash< string >::operator() ( const string &  a,
const string &  b 
) const
inline
197  {
198  return a < b;
199  }
size_t google::protobuf::hash< string >::operator() ( const string &  a,
const string &  b 
) const
inline
197  {
198  return a < b;
199  }

Member Data Documentation

static const size_t google::protobuf::hash< string >::bucket_size = 4
static
static const size_t google::protobuf::hash< string >::min_buckets = 8
static

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