HeaderLineDictionary

Common class for storing header lines

Members

Functions

add
bool add(T line)

Append a line

clear
void clear()

Clear the dictionary

length
size_t length()
opApply
int opApply(int delegate(ref T line) dg)
opApply
int opApply(int delegate(T line) dg)
opApply
int opApply(int delegate(ref size_t index, ref T line) dg)
opIn_r
const(T)* opIn_r(string id)
opIndex
inout(T) opIndex(string id)
opIndexAssign
void opIndexAssign(T line, string id)
remove
bool remove(string id)

Remove a line with identifier id.

values
ValueRange!T values()

Variables

_dict
T[string] _dict;
Undocumented in source.
_id_to_index
size_t[string] _id_to_index;
Undocumented in source.
_index_to_id
string[] _index_to_id;
Undocumented in source.

Meta