public void initColumn(int colIxMod, int colIx, int streamCount) { columnIxs[colIxMod] = colIx; if (columnData[colIxMod] == null || columnData[colIxMod].Length != streamCount) { columnData[colIxMod] = new ColumnStreamData[streamCount]; } }
protected void resetColumnArrays(int columnCount) { if (columnIxs != null && columnCount == columnIxs.Length) { return; } columnIxs = new int[columnCount]; ColumnStreamData[][] columnData = new ColumnStreamData[columnCount][]; if (this.columnData != null) { for (int i = 0; i < Math.Min(columnData.Length, this.columnData.Length); ++i) { columnData[i] = this.columnData[i]; } } this.columnData = columnData; }
public void setStreamData(int colIxMod, int streamKind, ColumnStreamData csd) { columnData[colIxMod][streamKind] = csd; }