|
| JStringPtrMap (const JPtrArrayT::CleanUpAction action, const JSize lgSize=kJDefaultLgMinTableSize) |
|
| ~JStringPtrMap () override |
|
bool | GetItem (const JString &key, V **ptr) |
|
bool | GetItem (const JString &key, const V **ptr) const |
|
bool | SetItem (const JString &key, V *ptr, const JPtrArrayT::SetAction action, const JStringMapT::SetType type=JStringMapT::kAlways) |
|
bool | SetOldItem (const JString &key, V *ptr, const JPtrArrayT::SetAction action) |
|
bool | SetContains (const JString &key, V *ptr, const JPtrArrayT::SetAction action) |
|
bool | GetItem (const JUtf8Byte *key, V **ptr) |
|
bool | GetItem (const JUtf8Byte *key, const V **ptr) const |
|
bool | SetItem (const JUtf8Byte *key, V *ptr, const JPtrArrayT::SetAction action, const JStringMapT::SetType type=JStringMapT::kAlways) |
|
bool | SetOldItem (const JUtf8Byte *key, V *ptr, const JPtrArrayT::SetAction action) |
|
bool | SetContains (const JUtf8Byte *key, V *ptr, const JPtrArrayT::SetAction action) |
|
bool | SetItem (const JString &key, const V &data, const JPtrArrayT::SetAction action, const JStringMapT::SetType type=JStringMapT::kAlways) |
|
bool | SetNewItem (const JString &key, const V &data) |
|
bool | SetOldItem (const JString &key, const V &data, const JPtrArrayT::SetAction action) |
|
bool | SetContains (const JString &key, const V &data, const JPtrArrayT::SetAction action) |
|
bool | DeleteItem (const JString &key) |
|
bool | DeleteItemAsArray (const JString &key) |
|
bool | SetItem (const JUtf8Byte *key, const V &data, const JPtrArrayT::SetAction action, const JStringMapT::SetType type=JStringMapT::kAlways) |
|
bool | SetNewItem (const JUtf8Byte *key, const V &data) |
|
bool | SetOldItem (const JUtf8Byte *key, const V &data, const JPtrArrayT::SetAction action) |
|
bool | SetContains (const JUtf8Byte *key, const V &data, const JPtrArrayT::SetAction action) |
|
bool | DeleteItem (const JUtf8Byte *key) |
|
bool | DeleteItemAsArray (const JUtf8Byte *key) |
|
void | CleanOut () |
|
void | DeleteAll () |
|
void | DeleteAllAsArrays () |
|
JPtrArrayT::CleanUpAction | GetCleanUpAction () const |
|
void | SetCleanUpAction (const JPtrArrayT::CleanUpAction action) |
|
| JStringMap (const JSize lgSize=kJDefaultLgMinTableSize) |
|
| ~JStringMap () override |
|
bool | Contains (const JString &key) const |
|
bool | Contains (const JUtf8Byte *key) const |
|
bool | GetItem (const JString &key, V * *value) const |
|
bool | GetItem (const JUtf8Byte *key, V * *value) const |
|
bool | SetItem (const JString &key, const V * &value, const JStringMapT::SetType type=JStringMapT::kAlways) |
|
bool | SetItem (const JUtf8Byte *key, const V * &value, const JStringMapT::SetType type=JStringMapT::kAlways) |
|
bool | SetNewItem (const JString &key, const V * &value) |
|
bool | SetNewItem (const JUtf8Byte *key, const V * &value) |
|
bool | SetOldItem (const JString &key, const V * &value) |
|
bool | SetOldItem (const JUtf8Byte *key, const V * &value) |
|
bool | SetContains (const JString &key, const V * &value) |
|
bool | SetContains (const JUtf8Byte *key, const V * &value) |
|
bool | RemoveItem (const JString &key) |
|
bool | RemoveItem (const JUtf8Byte *key) |
|
void | RemoveAll () |
|
| JHashTable (const JSize lgSize=kJDefaultLgMinTableSize) |
|
virtual | ~JHashTable () |
|
bool | IsEmpty () const |
|
JSize | GetItemCount () const |
|
JSize | GetLgSize () const |
|
JSize | GetLoadCount () const |
|
JSize | GetTableSize () const |
|
JFloat | GetFillFactor () const |
|
JFloat | GetLoadFactor () const |
|
bool | GetResizeEnabled () const |
|
void | SetResizeEnabled (const bool enabled) |
|
JFloat | GetMaxLoadFactor () const |
|
void | SetMaxLoadFactor (const JFloat newMax) |
|
JFloat | GetMinFillFactor () const |
|
void | SetMinFillFactor (const JFloat newMin) |
|
JSize | GetMinTableSize () const |
|
void | SetMinTableSize (const JSize newMin) |
|
bool | IsOK () const |
|
|
void | PrepareForSet (const JPtrArrayT::SetAction action) override |
|
bool | SetItem (const JString &key, const V * &value, const JPtrArrayT::SetAction action, const JStringMapT::SetType type, bool *existed) |
|
bool | RemoveItem (const JString &key, const JPtrArrayT::SetAction action) |
|
void | RemoveAll (const JPtrArrayT::SetAction action) |
|
void | AllowCursors () |
|
void | DisallowCursors () |
|
JHashCursor< V > * | GetCursor () |
|
JConstHashCursor< V > * | GetCursor () const |
|
const JHashRecord< V > & | GetRecord (const JSize index) const |
|
JHashRecordT::State | GetState (const JSize index) const |
|
bool | IsEmpty (const JSize index) const |
|
bool | IsDeleted (const JSize index) const |
|
bool | IsFull (const JSize index) const |
|
JHashValue | GetHashValue (const JSize index) const |
|
const V & | GetValue (const JSize index) const |
|
void | Set (const JSize index, const JHashRecord< V > &record) |
|
void | Set (const JSize index, const JHashValue hash, const V &value) |
|
void | Set (const JSize index, const V &value) |
|
void | SetHash (const JSize index, const V &value) |
|
void | Remove (const JSize index) |
|
void | MarkEmpty (const JSize index) |
|
void | MarkAllEmpty () |
|
bool | TryResizeTable (const JSize lgSize) |
|
void | ResizeTable (const JSize lgTrialSize) |
|
virtual bool | FitToLimits (const JSize required=0, const bool force=false) |
|
JSize | HashToIndex (JHashValue hash) const |
|
template<class V>
class JStringPtrMap< V >
Interface for the JStringPtrMap template.
Base code generated by Codemill v0.1.0
Interface for the JStringPtrMapCursor class.
Base code generated by Codemill v0.1.0