This class defines the methods for accessing FITS binary table data.


The following tables list the members exposed by BinaryTable.

Public Constructors

  Name Description
Static Public method BinaryTable Overloaded. Initializes a new instance of the BinaryTable class.
Top

Protected Fields

  Name Description
Family field dataSize The size of the data when last read (inherited from Data)
Family field fileOffset The starting location of the data when last read (inherited from Data)
Family field input The inputstream used. (inherited from Data)
Top

Public Properties

  Name Description
Public property Bases Returns the Type[] of bases
Public property DataArray Overridden. Reads the data
Public property Dimens Returns the dimensions
Public property FileOffset Get the file offset (inherited from Data)
Public property FlatColumns Returns the flattened column object array
Public property HeapOffset What is the offset to the heap.
Public property HeapSize What is the size of the heap -- including the offset from the end of the table data.
Public property Kernel Return the non-FITS data object (inherited from Data)
Public property NCols Get the number of columns in the table.
Public property NRows Get the number of rows in the table
Public property Rewriteable Returns whether input stream is rewritable (inherited from Data)
Public property Size Get the size of the data element in bytes (inherited from Data)
Public property Sizes Hets the size array
Top

Public Methods

  Name Description
Public method AddColumn Add a column to the end of a table.
Public method AddFlattenedColumn Add a column where the data is already flattened.
Public method AddRow Given the way the table is structured this will normally not be very efficient.
Public method DeleteColumns Delete a set of columns. Note that this does not fix the header, so users should normally call the routine in TableHDU.
Public method DeleteRows  
Public method Equals Determines whether the specified Object is equal to the current Object. (inherited from Object)
Public method GetColumn Get a given column
Public method GetElement Get a particular element from the table.
Public method GetFlattenedColumn Get a column in flattened format. For large tables getting a column in standard format can be inefficient because a separate object is needed for each row. Leaving the data in flattened format means that only a single object is created.
Public method GetHashCode Serves as a hash function for a particular type. GetHashCode is suitable for use in hashing algorithms and data structures like a hash table. (inherited from Object)
Public method getRawElement Get a particular element from the table but do no processing of this element (e.g., dimension conversion or extraction of variable length array elements/)
Public method GetRow Get a given row
Public method Static GetTDims Parse the TDIMS value. If the TDIMS value cannot be deciphered a one-d array with the size given in arrsiz is returned.
Public method GetType Gets the Type of the current instance. (inherited from Object)
Public method Read Overridden. Read the data -- or defer reading on random access
Public method Rewrite   (inherited from Data)
Public method SetColumn Replace a column in the table.
Public method SetElement Replace a single element within the table.
Public method SetFlattenedColumn Set a column with the data aleady flattened.
Public method SetRow Replace a row in the table.
Public method ToString Returns a String that represents the current Object. (inherited from Object)
Public method UpdateAfterDelete Update the header after a deletion.
Public method Write Overridden. Write the table, heap and padding
Top

Protected Methods

  Name Description
Family method Finalize Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection. (inherited from Object)
Family method MemberwiseClone Creates a shallow copy of the current Object. (inherited from Object)
Family method ReadTrueData Read table, heap and padding
Family method SetFileOffset   (inherited from Data)
Family method ValidColumn Check if the column number is valid.
Family method ValidRow Check to see if this is a valid row.
Top

Explicit Interface Implementations

  Name Description
Static Private method BinaryTable Overloaded. Initializes a new instance of the BinaryTable class.
Top

See Also