This class defines the methods for accessing FITS binary table data.
The following tables list the members exposed by BinaryTable.
Public Constructors
| Name | Description | |
|---|---|---|
|
BinaryTable | Overloaded. Initializes a new instance of the |
Protected Fields
| Name | Description | |
|---|---|---|
|
dataSize | The size of the data when last read (inherited from Data) |
|
fileOffset | The starting location of the data when last read (inherited from Data) |
|
input | The inputstream used. (inherited from Data) |
Public Properties
| Name | Description | |
|---|---|---|
|
Bases | Returns the Type[] of bases |
|
DataArray | Overridden. Reads the data |
|
Dimens | Returns the dimensions |
|
FileOffset | Get the file offset (inherited from Data) |
|
FlatColumns | Returns the flattened column object array |
|
HeapOffset | What is the offset to the heap. |
|
HeapSize | What is the size of the heap -- including the offset from the end of the table data. |
|
Kernel | Return the non-FITS data object (inherited from Data) |
|
NCols | Get the number of columns in the table. |
|
NRows | Get the number of rows in the table |
|
Rewriteable | Returns whether input stream is rewritable (inherited from Data) |
|
Size | Get the size of the data element in bytes (inherited from Data) |
|
Sizes | Hets the size array |
Public Methods
| Name | Description | |
|---|---|---|
|
AddColumn | Add a column to the end of a table. |
|
AddFlattenedColumn | Add a column where the data is already flattened. |
|
AddRow | Given the way the table is structured this will normally not be very efficient. |
|
DeleteColumns | Delete a set of columns. Note that this does not fix the header, so users should normally call the routine in TableHDU. |
|
DeleteRows | |
|
Equals | Determines whether the specified |
|
GetColumn | Get a given column |
|
GetElement | Get a particular element from the table. |
|
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. |
|
GetHashCode | Serves as a hash function for a particular type. |
|
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/) |
|
GetRow | Get a given row |
|
GetTDims | Parse the TDIMS value. If the TDIMS value cannot be deciphered a one-d array with the size given in arrsiz is returned. |
|
GetType | Gets the |
|
Read | Overridden. Read the data -- or defer reading on random access |
|
Rewrite | (inherited from Data) |
|
SetColumn | Replace a column in the table. |
|
SetElement | Replace a single element within the table. |
|
SetFlattenedColumn | Set a column with the data aleady flattened. |
|
SetRow | Replace a row in the table. |
|
ToString | Returns a |
|
UpdateAfterDelete | Update the header after a deletion. |
|
Write | Overridden. Write the table, heap and padding |
Protected Methods
| Name | Description | |
|---|---|---|
|
Finalize | Allows an |
|
MemberwiseClone | Creates a shallow copy of the current |
|
ReadTrueData | Read table, heap and padding |
|
SetFileOffset | (inherited from Data) |
|
ValidColumn | Check if the column number is valid. |
|
ValidRow | Check to see if this is a valid row. |
Explicit Interface Implementations
| Name | Description | |
|---|---|---|
|
BinaryTable | Overloaded. Initializes a new instance of the |