#ifndef AR_OBJECT_STATUS_H
#define AR_OBJECT_STATUS_H

typedef enum arObjectStatus
/* A <def>arObjectStatus</def> is an enumerated type which assigns an overall*/
/* survey status to an object.                                               */
{
  AR_OBJECT_STATUS_SET        = 0x1,    /* This object's status has been set */
					/* in reference to its own run.      */
  AR_OBJECT_STATUS_GOOD       = 0x2,    /* Good as determined by its         */
					/* object flags.  Absence implies    */
                                        /* bad.  This flag is set by         */
                                        /* "setObjectStatus".                */
  AR_OBJECT_STATUS_DUPLICATE  = 0x4,    /* This object has one or more       */
					/* duplicate detections in an        */
					/* adjacent field of the same Frames */
					/* Pipeline Run.  This is set by     */
					/* "setObjectStatus".                */
  AR_OBJECT_STATUS_OK_RUN     = 0x10,   /* Located within the primary range  */
					/* of rows for this field.  This is  */
                                        /* usable object.  This flag is set  */
                                        /* by "setObjectStatus".             */
  AR_OBJECT_STATUS_RESOLVED   = 0x20,   /* This object has been resolved     */
					/* against other runs.               */
  AR_OBJECT_STATUS_PSEGMENT   = 0x40,   /* Belongs to a PRIMARY segment.     */
					/* This does not imply that this is a*/
					/* primary object.                   */
  AR_OBJECT_STATUS_FIRST_FIELD= 0x100,  /* Belongs to the first field in its */
					/* segment.  Used to distinguish     */
					/* objects in fields shared by two   */
					/* segments.                         */
  AR_OBJECT_STATUS_OK_SCANLINE= 0x200,  /* Lies within valid nu range        */
					/* for its scanline.                 */
  AR_OBJECT_STATUS_OK_STRIPE  = 0x400,  /* Lies within valid eta range for   */
					/* its stripe.                       */
  AR_OBJECT_STATUS_SECONDARY  = 0x1000, /* This is a secondary survey object.*/
  AR_OBJECT_STATUS_PRIMARY    = 0x2000, /* This is a primary survey object.  */
  AR_OBJECT_STATUS_TARGET     = 0x4000  /* This is a spectroscopic target.   */
} AR_OBJECT_STATUS; /* pragma SCHEMA */

#endif
