An ASCII table.


The following tables list the members exposed by AsciiTable.

Public Constructors

  Name Description
Static Public method AsciiTable Overloaded.  
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 DataArray Overridden. Get the ASCII table information. This will actually do the read if it had previously been deferred
Public property FileOffset Get the file offset (inherited from 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 RowLen Get the number of bytes in a row
Public property Size Get the size of the data element in bytes (inherited from Data)
Top

Public Methods

  Name Description
Public method AddColumn Overloaded. Add a row to the table. Users should be cautious of calling this routine directly rather than the corresponding routine in AsciiTableHDU since this routine knows nothing of the FITS header modifications required.
Public method AddRow Add a row to the FITS table.
Public method DeleteColumns Delete columns from the table.
Public method DeleteRows Delete rows from a FITS table.
Public method Equals Determines whether the specified Object is equal to the current Object. (inherited from Object)
Public method GetColumn Get a column of data
Public method GetElement Get a single element as a one-d array. We return String's as arrays for consistency though they could be returned as a scalar.
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 GetRow Get a row. If the data has not yet been read just read this row.
Public method GetType Gets the Type of the current instance. (inherited from Object)
Public method IsNull See if an element is null.
Public method Read Overridden. Read in an ASCII table. Reading is deferred if we are reading from a random access device
Public method Rewrite   (inherited from Data)
Public method SetColumn Replace a column with new data.
Public method SetElement Modify an element in the table
Public method SetNull Mark (or unmark) an element as null. Note that if this FITS file is latter written out, a TNULL keyword needs to be defined in the corresponding header. This routine does not add an element for String columns.
Public method SetRow Modify a row in the table
Public method ToString Returns a String that represents the current Object. (inherited from Object)
Public method UpdateAfterDelete This is called after we delete columns. The HDU doesn't know how to update the TBCOL entries.
Public method Write Overridden. Write the data to an output stream.
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 SetFileOffset   (inherited from Data)
Top

Explicit Interface Implementations

  Name Description
Static Private method AsciiTable Overloaded.  
Top

See Also