Check that the columns and sizes are consistent. Inconsistencies include: * arrays and sizes have different lengths. * an element of arrays is not a primitive array. * the size of an array is not divisible by the sizes entry. * the number of rows differs for the columns.
Namespace: nom.tam.util
Assembly: CSharpFITS_v1.1 (in CSharpFITS_v1.1.dll)
Syntax
Visual Basic (Declaration) |
---|
Protected Overridable Sub CheckArrayConsistency( _ ByVal arrays As Object(), _ ByVal sizes As Integer() _ ) |
C# |
---|
protected virtual void CheckArrayConsistency( object[] arrays, int[] sizes ) |
C++ |
---|
protected: virtual void CheckArrayConsistency( array<Object>^ arrays, array<int>^ sizes ) |
J# |
---|
protected virtual void CheckArrayConsistency( object[] arrays, int[] sizes ) |
JScript |
---|
protected virtual
function CheckArrayConsistency( arrays : Object[], sizes : int[] ) |
Parameters
- arrays
- The arrays defining the columns.
- sizes
- The number of elements in each row for the column.
Exceptions
Exception Type | Condition |
---|---|
TableException | TableException Thrown when the new data is not of the same type as the data it replaces. |