TwoDA.get

Get a value in the 2da, converted to T.

  1. auto ref get(size_t colIndex, size_t line)
    class TwoDA
    ref const
    get
    (
    T = string
    )
    (
    in size_t colIndex
    ,
    in size_t line
    )
  2. T get(string colName, size_t line, T defaultValue)
  3. auto ref get(string colName, size_t line)

Return Value

Type: auto ref

if T is string returns the string value, else returns a Nullable!T that is null if the value is empty

Throws

std.conv.ConvException if the conversion into T fails

Meta