clang  3.7.0
Public Types | Static Public Member Functions | List of all members
clang::PTHManager::PTHStringLookupTrait Class Reference

Public Types

typedef uint32_t data_type
 
typedef const std::pair< const
char *, unsigned
external_key_type
 
typedef external_key_type internal_key_type
 
typedef uint32_t hash_value_type
 
typedef unsigned offset_type
 

Static Public Member Functions

static bool EqualKey (const internal_key_type &a, const internal_key_type &b)
 
static hash_value_type ComputeHash (const internal_key_type &a)
 
static const internal_key_typeGetInternalKey (const external_key_type &x)
 
static std::pair< unsigned,
unsigned
ReadKeyDataLength (const unsigned char *&d)
 
static std::pair< const char
*, unsigned
ReadKey (const unsigned char *d, unsigned n)
 
static uint32_t ReadData (const internal_key_type &k, const unsigned char *d, unsigned)
 

Detailed Description

Definition at line 369 of file PTHLexer.cpp.

Member Typedef Documentation

Definition at line 371 of file PTHLexer.cpp.

Definition at line 372 of file PTHLexer.cpp.

Definition at line 374 of file PTHLexer.cpp.

Definition at line 373 of file PTHLexer.cpp.

Definition at line 375 of file PTHLexer.cpp.

Member Function Documentation

static hash_value_type clang::PTHManager::PTHStringLookupTrait::ComputeHash ( const internal_key_type a)
inlinestatic

Definition at line 383 of file PTHLexer.cpp.

static bool clang::PTHManager::PTHStringLookupTrait::EqualKey ( const internal_key_type a,
const internal_key_type b 
)
inlinestatic

Definition at line 377 of file PTHLexer.cpp.

static const internal_key_type& clang::PTHManager::PTHStringLookupTrait::GetInternalKey ( const external_key_type x)
inlinestatic

Definition at line 389 of file PTHLexer.cpp.

static uint32_t clang::PTHManager::PTHStringLookupTrait::ReadData ( const internal_key_type k,
const unsigned char *  d,
unsigned   
)
inlinestatic

Definition at line 405 of file PTHLexer.cpp.

static std::pair<const char*, unsigned> clang::PTHManager::PTHStringLookupTrait::ReadKey ( const unsigned char *  d,
unsigned  n 
)
inlinestatic

Definition at line 400 of file PTHLexer.cpp.

static std::pair<unsigned, unsigned> clang::PTHManager::PTHStringLookupTrait::ReadKeyDataLength ( const unsigned char *&  d)
inlinestatic

Definition at line 392 of file PTHLexer.cpp.


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