vegastrike  0.5.1.r1
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
SharedPool.h File Reference
#include "config.h"
#include <string>
#include "gnuhash.h"
#include "SharedPool.cpp"

Go to the source code of this file.

Classes

class  SharedPool< T, RefcounterTraits >
 
class  SharedPool< T, RefcounterTraits >::Reference
 
class  StringpoolTraits
 

Macros

#define INITIAL_STRINGPOOL_SIZE   (1<<15)
 

Typedefs

typedef SharedPool
< std::string,
StringpoolTraits
StringPool
 

Functions

std::string operator+ (const std::string &s, const StringPool::Reference &r)
 
std::string operator+ (const StringPool::Reference &r, const std::string &s)
 
template<typename T >
T & operator<< (T &stream, const StringPool::Reference &ref)
 
template<typename T >
bool operator== (const typename SharedPool< T >::Reference &r, const T &s)
 

Macro Definition Documentation

#define INITIAL_STRINGPOOL_SIZE   (1<<15)

Definition at line 8 of file SharedPool.h.

Typedef Documentation

typedef SharedPool< std::string, StringpoolTraits > StringPool

Definition at line 190 of file SharedPool.h.

Function Documentation

std::string operator+ ( const std::string &  s,
const StringPool::Reference &  r 
)
inline

Definition at line 194 of file SharedPool.h.

std::string operator+ ( const StringPool::Reference &  r,
const std::string &  s 
)
inline

Definition at line 199 of file SharedPool.h.

template<typename T >
T& operator<< ( T &  stream,
const StringPool::Reference &  ref 
)
inline

Definition at line 205 of file SharedPool.h.

template<typename T >
bool operator== ( const typename SharedPool< T >::Reference &  r,
const T &  s 
)

Definition at line 211 of file SharedPool.h.