XMLBEANSXX
0.9.8
|
#include <StoreString.h>
Classes | |
struct | SSInfo |
Public Types | |
typedef unsigned long | IndexType |
typedef __gnu_cxx::hash_map < const char *, IndexType, CStrHashFn, CStrEqFn > | StoreMap |
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< SSInfo > | stored |
String storage collection. Contains c_str's.
typedef unsigned long xmlbeansxx::StringStorage::IndexType |
typedef __gnu_cxx::hash_map<const char *,IndexType,CStrHashFn,CStrEqFn> xmlbeansxx::StringStorage::StoreMap |
void xmlbeansxx::StringStorage::add | ( | const std::string & | str | ) |
void xmlbeansxx::StringStorage::add | ( | const char * | cs | ) |
StringStorage::IndexType xmlbeansxx::StringStorage::get | ( | const char * | str | ) | const |
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 |
StoreMap xmlbeansxx::StringStorage::contents [private] |
std::vector<SSInfo> xmlbeansxx::StringStorage::stored [private] |