MultiAA

An object which acts mostly as an associative array, with the added property of being able to hold keys with multiple values. These are only exposed explicitly and through iteration

Constructors

this
this(typeof(null) Null)
Undocumented in source.
this
this(V[K] aa)
Undocumented in source.
this
this(V[][K] aa)
Undocumented in source.

Members

Functions

add
void add(K key, V value)
Undocumented in source. Be warned that the author may not have intended to support it.
byKey
auto byKey()
Undocumented in source. Be warned that the author may not have intended to support it.
byValue
auto byValue()
Undocumented in source. Be warned that the author may not have intended to support it.
get
V get(K key, V def)
Undocumented in source. Be warned that the author may not have intended to support it.
getAll
inout(V)[] getAll(K key)
Undocumented in source. Be warned that the author may not have intended to support it.
opApply
int opApply(int delegate(ref K key, ref V value) dg)
Undocumented in source. Be warned that the author may not have intended to support it.
opApply
int opApply(int delegate(ref const(K) key, ref const(V) value) dg)
Undocumented in source. Be warned that the author may not have intended to support it.
opCast
bool opCast()
Undocumented in source. Be warned that the author may not have intended to support it.
opCast
V[K] opCast()

Warning: discards repeating items

opCast
V[][K] opCast()
Undocumented in source. Be warned that the author may not have intended to support it.
opIn_r
inout(V)* opIn_r(K key)
Undocumented in source. Be warned that the author may not have intended to support it.
opIndex
inout(V) opIndex(K key)

If multiple items with this name are present, only the first one is returned.

opIndexAssign
V opIndexAssign(V value, K key)
Undocumented in source. Be warned that the author may not have intended to support it.
remove
void remove(K key)
Undocumented in source. Be warned that the author may not have intended to support it.

Properties

keys
auto keys [@property getter]
Undocumented in source. Be warned that the author may not have intended to support it.
length
size_t length [@property getter]
Undocumented in source. Be warned that the author may not have intended to support it.
pairs
typeof(V[K].init.pairs) pairs [@property getter]
Undocumented in source. Be warned that the author may not have intended to support it.
values
V[] values [@property getter]
Undocumented in source. Be warned that the author may not have intended to support it.
values
const(V)[] values [@property getter]
Undocumented in source. Be warned that the author may not have intended to support it.

Variables

items
V[][K] items;
Undocumented in source.

Meta