Пример #1
0
 internal FieldInfoBase(TableHeader th, int index)
 {
     _header = th;
     _index  = index;
     _size   = 0;
     _zero   = double.NaN;
     _scale  = double.NaN;
     _type   = FieldType.Invalid;
 }
Пример #2
0
 internal HDUTable(HDU hdu, TableType type, long numRows, int numFields, long bytesPerRow)
 {
     _hdu         = hdu;
     _type        = type;
     _numRows     = numRows;
     _bytesPerRow = bytesPerRow;
     _data        = null;
     // IMPORTANT: TableHeader must be constructed after setting the type of the table
     //            this is because it will call HDUTable and get the type to decide
     //            what kind of IFieldInfo & ITableCell implementation to use
     _header = new TableHeader(this, numFields);
 }
Пример #3
0
 internal FieldInfoB(TableHeader th, int index)
     : base(th, index)
 {
 }
Пример #4
0
 internal FieldInfoEnum(TableHeader header)
 {
     _header  = header;
     _current = -1;
 }