GridImpl

Haystack Grid.

Constructors

this
this(T[] val)

Create Grid from a list of Dict

this
this(T[] val, T meta)

Create a Grid from a list of Dict and a meta data Dict

this
this(const(T[]) val, const(T) meta)

Create Grid from const or immutable list of Dict

this
this(const(T[]) val, T meta)

Create dict from const or immutable Dict

this
this(const(T[]) val, Col[] cols, T meta, string ver)

Create a Grid from a list of Dicts, a list of columns, and a meta data Dict

this
this(const(T[]) val, string[] colsNames, T meta, string ver)

Create a Grid from a list of Dicts, a list of column names, and a meta data Dict

this
this(typeof(this) other)
Undocumented in source.

Members

Functions

opApply
int opApply(int delegate(ref immutable(T)) dg)
Undocumented in source. Be warned that the author may not have intended to support it.
opApply
int opApply(int delegate(ref size_t i, ref immutable(T)) dg)
Undocumented in source. Be warned that the author may not have intended to support it.
opIndex
const(T) opIndex(size_t index)
Undocumented in source. Be warned that the author may not have intended to support it.
rows
const(T[]) rows()
Undocumented in source. Be warned that the author may not have intended to support it.
toString
string toString()
Undocumented in source. Be warned that the author may not have intended to support it.

Properties

colNames
const(string[]) colNames [@property getter]

This grid columns

cols
const(Col[]) cols [@property getter]

This grid columns

empty
bool empty [@property getter]

True if the Grid had no meta and no rows

hasCol
string hasCol [@property setter]

Has the column name

length
size_t length [@property getter]

This grid rows

meta
const(T) meta [@property getter]

This grid meta data

missingCol
string missingCol [@property setter]

Mising a column

Structs

Col
struct Col

The column descriptor

Variables

ver
string ver;
Undocumented in source.

Meta