This class provides methods to access the data segment of an HDU. This class is abstract (MustInherit in Visual Basic)abstractMustInherit and so cannot be instantiated.


The following tables list the members exposed by Data.

Protected Constructors

  Name Description
Family method Data Initializes a new instance of the Data class.
Top

Protected Fields

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

Public Properties

  Name Description
Public property DataArray Return the data array object.
Public property FileOffset Get the file offset
Public property Kernel Return the non-FITS data object
Public property Rewriteable Returns whether input stream is rewritable
Public property Size Get the size of the data element in bytes
Top

Public Methods

  Name Description
Public method Equals Determines whether the specified Object is equal to the current Object. (inherited from Object)
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 GetType Gets the Type of the current instance. (inherited from Object)
Public method Read Read a data array into the current object and if needed position to the beginning of the next FITS block.
Public method Rewrite  
Public method ToString Returns a String that represents the current Object. (inherited from Object)
Public method Write Write the data -- including any buffering needed
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  
Top

See Also