StringTable

Undocumented in source.

Destructor

A destructor is present on this object, but not explicitly documented in the source.

Members

Functions

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)* s, size_t length, T value)

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

insert
StringValue!(T)* insert(const(char)[] str, 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.

Meta