proxygen
PerfectIndexMapTestsTemplateParams< Key, OtherKey, NoneKey, PerfectHashStrToKey, AllowDuplicates, CaseInsensitive, KeyCommonOffset, NumKeys > Struct Template Reference

Public Types

typedef Key TKey
 

Static Public Member Functions

static Key Hash (const std::string &name)
 

Static Public Attributes

static const Key TOtherKey = OtherKey
 
static const Key TNoneKey = NoneKey
 
static const bool TAllowDuplicates = AllowDuplicates
 
static const bool TCaseInsensitive = CaseInsensitive
 
static const uint8_t TKeyCommonOffset = KeyCommonOffset
 
static const uint64_t TNumKeys = NumKeys
 

Detailed Description

template<typename Key, Key OtherKey, Key NoneKey, Key(*)(const std::string &) PerfectHashStrToKey, bool AllowDuplicates, bool CaseInsensitive, uint8_t KeyCommonOffset, uint64_t NumKeys>
struct PerfectIndexMapTestsTemplateParams< Key, OtherKey, NoneKey, PerfectHashStrToKey, AllowDuplicates, CaseInsensitive, KeyCommonOffset, NumKeys >

Definition at line 31 of file PerfectIndexMapTest.cpp.

Member Typedef Documentation

template<typename Key , Key OtherKey, Key NoneKey, Key(*)(const std::string &) PerfectHashStrToKey, bool AllowDuplicates, bool CaseInsensitive, uint8_t KeyCommonOffset, uint64_t NumKeys>
typedef Key PerfectIndexMapTestsTemplateParams< Key, OtherKey, NoneKey, PerfectHashStrToKey, AllowDuplicates, CaseInsensitive, KeyCommonOffset, NumKeys >::TKey

Definition at line 32 of file PerfectIndexMapTest.cpp.

Member Function Documentation

template<typename Key , Key OtherKey, Key NoneKey, Key(*)(const std::string &) PerfectHashStrToKey, bool AllowDuplicates, bool CaseInsensitive, uint8_t KeyCommonOffset, uint64_t NumKeys>
static Key PerfectIndexMapTestsTemplateParams< Key, OtherKey, NoneKey, PerfectHashStrToKey, AllowDuplicates, CaseInsensitive, KeyCommonOffset, NumKeys >::Hash ( const std::string name)
inlinestatic

Definition at line 41 of file PerfectIndexMapTest.cpp.

41  {
42  return PerfectHashStrToKey(name);
43  }
const char * name
Definition: http_parser.c:437

Member Data Documentation

template<typename Key , Key OtherKey, Key NoneKey, Key(*)(const std::string &) PerfectHashStrToKey, bool AllowDuplicates, bool CaseInsensitive, uint8_t KeyCommonOffset, uint64_t NumKeys>
const bool PerfectIndexMapTestsTemplateParams< Key, OtherKey, NoneKey, PerfectHashStrToKey, AllowDuplicates, CaseInsensitive, KeyCommonOffset, NumKeys >::TAllowDuplicates = AllowDuplicates
static

Definition at line 35 of file PerfectIndexMapTest.cpp.

template<typename Key , Key OtherKey, Key NoneKey, Key(*)(const std::string &) PerfectHashStrToKey, bool AllowDuplicates, bool CaseInsensitive, uint8_t KeyCommonOffset, uint64_t NumKeys>
const bool PerfectIndexMapTestsTemplateParams< Key, OtherKey, NoneKey, PerfectHashStrToKey, AllowDuplicates, CaseInsensitive, KeyCommonOffset, NumKeys >::TCaseInsensitive = CaseInsensitive
static

Definition at line 36 of file PerfectIndexMapTest.cpp.

template<typename Key , Key OtherKey, Key NoneKey, Key(*)(const std::string &) PerfectHashStrToKey, bool AllowDuplicates, bool CaseInsensitive, uint8_t KeyCommonOffset, uint64_t NumKeys>
const uint8_t PerfectIndexMapTestsTemplateParams< Key, OtherKey, NoneKey, PerfectHashStrToKey, AllowDuplicates, CaseInsensitive, KeyCommonOffset, NumKeys >::TKeyCommonOffset = KeyCommonOffset
static

Definition at line 45 of file PerfectIndexMapTest.cpp.

template<typename Key , Key OtherKey, Key NoneKey, Key(*)(const std::string &) PerfectHashStrToKey, bool AllowDuplicates, bool CaseInsensitive, uint8_t KeyCommonOffset, uint64_t NumKeys>
const Key PerfectIndexMapTestsTemplateParams< Key, OtherKey, NoneKey, PerfectHashStrToKey, AllowDuplicates, CaseInsensitive, KeyCommonOffset, NumKeys >::TNoneKey = NoneKey
static

Definition at line 34 of file PerfectIndexMapTest.cpp.

template<typename Key , Key OtherKey, Key NoneKey, Key(*)(const std::string &) PerfectHashStrToKey, bool AllowDuplicates, bool CaseInsensitive, uint8_t KeyCommonOffset, uint64_t NumKeys>
const uint64_t PerfectIndexMapTestsTemplateParams< Key, OtherKey, NoneKey, PerfectHashStrToKey, AllowDuplicates, CaseInsensitive, KeyCommonOffset, NumKeys >::TNumKeys = NumKeys
static

Definition at line 46 of file PerfectIndexMapTest.cpp.

template<typename Key , Key OtherKey, Key NoneKey, Key(*)(const std::string &) PerfectHashStrToKey, bool AllowDuplicates, bool CaseInsensitive, uint8_t KeyCommonOffset, uint64_t NumKeys>
const Key PerfectIndexMapTestsTemplateParams< Key, OtherKey, NoneKey, PerfectHashStrToKey, AllowDuplicates, CaseInsensitive, KeyCommonOffset, NumKeys >::TOtherKey = OtherKey
static

Definition at line 33 of file PerfectIndexMapTest.cpp.


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