TwoDA.get - multiple declarations
Function TwoDA.get
Get a value in the 2da, converted to T.
ref auto get(T)
(
in size_t colIndex,
in size_t line
) const;
Returns
if T is string returns the string value, else returns a Nullable!T
that is null if the value is empty
Throws
std
if the conversion into T fails
Function TwoDA.get
Get a value in the 2da, converted to T.
T get(T)
(
in string colName,
in size_t line,
T defaultValue
) const;
Returns
value if found, otherwise defaultValue
Function TwoDA.get
ditto
ref auto get(T)
(
in string colName,
in size_t line
) const;
Throws
TwoDAColumnNotFoundException
if the column does not exist