StringTable

Undocumented in source.

Destructor

~this
~this()
Undocumented in source.

Members

Functions

_init
void _init(size_t size)
Undocumented in source. Be warned that the author may not have intended to support it.
apply
int apply(int function(const(StringValue!T)*) nothrow fp)

Walk the contents of the string table, calling fp for each entry.

insert
StringValue!(T)* insert(const(char)[] str, T value)
StringValue!(T)* insert(const(char)* s, size_t length, T value)

Inserts the given string and the given associated value into the string table.

lookup
inout(StringValue!T)* lookup(const(char)[] str)
inout(StringValue!T)* lookup(const(char)* s, size_t length)

Looks up the given string in the string table and returns its associated value.

opApply
int opApply(int delegate(const(StringValue!T)*) nothrow dg)

Walk the contents of the string table, calling fp for each entry.

reset
void reset(size_t size)
Undocumented in source. Be warned that the author may not have intended to support it.
update
StringValue!(T)* update(const(char)[] str)
Undocumented in source. Be warned that the author may not have intended to support it.
update
StringValue!(T)* update(const(char)* s, size_t length)
Undocumented in source. Be warned that the author may not have intended to support it.

Meta