xmlbeansxx::StringStorage Class Reference

#include <StoreString.h>

List of all members.


struct  SSInfo

Public Types

typedef unsigned long IndexType
typedef __gnu_cxx::hash_map
< const char *, IndexType,
CStrHashFn, CStrEqFn

Public Member Functions

 StringStorage ()
void add (const std::string &str)
void add (const char *cs)
bool isStored (const char *str) const
IndexType get (const char *str) const
int getHashCode (IndexType index) const
const char * getStr (IndexType index) const
 ~StringStorage ()

Private Attributes

StoreMap contents
std::vector< SSInfostored

Detailed Description

String storage collection. Contains c_str's.

Member Typedef Documentation

typedef unsigned long xmlbeansxx::StringStorage::IndexType
typedef __gnu_cxx::hash_map<const char *,IndexType,CStrHashFn,CStrEqFn> xmlbeansxx::StringStorage::StoreMap

Constructor & Destructor Documentation

Member Function Documentation

void xmlbeansxx::StringStorage::add ( const std::string &  str)
void xmlbeansxx::StringStorage::add ( const char *  cs)
int xmlbeansxx::StringStorage::getHashCode ( IndexType  index) const [inline]
const char * xmlbeansxx::StringStorage::getStr ( IndexType  index) const [inline]
bool xmlbeansxx::StringStorage::isStored ( const char *  str) const

Member Data Documentation

std::vector<SSInfo> xmlbeansxx::StringStorage::stored [private]

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