public PhysicalRow(int rowCount, PhysicalColumn.DataTypeEnum dataType) { if(dataType == PhysicalColumn.DataTypeEnum.Number) NumericData = new double[rowCount]; else TextData = new string[rowCount]; }
public Variable(string name, TypeEnum type, PhysicalColumn.DataTypeEnum _dataType) { Name = name; Type = type; dataType = _dataType; Tree.VariableL.Add(this); }
public PhysicalColumn(string colName, int rowCount, PhysicalColumn.DataTypeEnum dataType) { Name = colName; DataType = dataType; Row = new PhysicalRow(rowCount, DataType); }
public void AddCol(int colIndex, string colName, int rowCount, PhysicalColumn.DataTypeEnum dataType) { Col[colIndex] = new PhysicalColumn(colName, rowCount, dataType); }