This class contains the code which associates particular FITS types with header and data configurations. It comprises a set of Factory methods which call appropriate methods in the HDU classes. If -- God forbid -- a new FITS HDU type were created, then the XXHDU, XXData classes would need to be added and this file modified but no other changes should be needed in the FITS libraries.


The following tables list the members exposed by FitsFactory.

Public Constructors

  Name Description
Public method FitsFactory Initializes a new instance of the FitsFactory class.
Top

Public Properties

  Name Description
Public property Static UseAsciiTables Indicate whether ASCII tables should be used where feasible.
Public property Static UseHierarch Enable/Disable hierarchical keyword processing.
Top

Public Methods

  Name Description
Public method Static DataFactory Given a Header return an appropriate datum.
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 Static HDUFactory Overloaded. Given Header and data objects return the appropriate type of HDU.
Public method ToString Returns a String that represents the current Object. (inherited from Object)
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)
Top

See Also