HashMap.h File Reference

#include <cstring>
#include <string>
#include <memory>
#include <tr1/unordered_map>
Include dependency graph for HashMap.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  EqualStr
 String comparison structure for HashMap. More...
struct  EqualInteger
 Integer comparison structure for HashMap. More...

Defines

#define GLIBC_NAMESPACE   std::tr1
#define HashMap   std::tr1::unordered_map
#define Hash   std::tr1::hash
#define StringHasher   Hash<std::string>

Typedefs

typedef
std::tr1::unordered_map
< std::string, int,
std::tr1::hash< std::string > > 
StringIntMap
 A typedef for a hash map whose key is std::string and contains integers.

Define Documentation

#define GLIBC_NAMESPACE   std::tr1

Definition at line 56 of file HashMap.h.

#define Hash   std::tr1::hash

Definition at line 58 of file HashMap.h.

#define HashMap   std::tr1::unordered_map

Definition at line 57 of file HashMap.h.

#define StringHasher   Hash<std::string>

Definition at line 97 of file HashMap.h.


Typedef Documentation

hash_map< std::string, int, StringHasher > StringIntMap

A typedef for a hash map whose key is std::string and contains integers.

The following typedef provides a short cut for using a hash map whose key is a std::string and contains integers.

Definition at line 108 of file HashMap.h.


Generated on 19 Mar 2010 for PEACE by  doxygen 1.6.1