コード例 #1
0
ファイル: FieldInfoBase.cs プロジェクト: bluephoton/najm
 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
ファイル: TableHeader.cs プロジェクト: bluephoton/najm
 internal FieldInfoEnum(TableHeader header)
 {
     _header  = header;
     _current = -1;
 }