enumerated types and rootcint

From: Terrence Brannon (brannon@quake.usc.edu)
Date: Mon Jun 23 1997 - 00:31:56 MEST


In the following header file:

#ifndef __CINT__
#include "Parse.h"
#include <xview/xview.h>
#include <xview/panel.h>
#include "Drag.h"
#include "ROI_Drag.h"
#include "Magnify_Drag.h"
#else
struct Menu;
class ROI_Drag;
class ROI;
class Parse;
class Magnify_Drag;
class Drag;
struct Panel_item;
struct Xv_window;
struct Xv_opaque;
struct Window;
class String
enum result_state;  // ?????????????????
#endif

enum result_state {UNDISPLAYED, ACTIVE_SOURCE, ACTIVE_RESULT, ARCHIVED};

It seems bizarre that I must have the line "enum result_state;" 

If I don't have it, then when rootcinting the class definition:

class Result {
  ...
  result_state     state;

}

results in rootcint saying:

Error: No symbol result_statestate in current scope  FILE:Result.h LINE:61

-- 
o============o  Sending unsolicited commercial e-mail (UCE)  to this address
 Legal Notice   is indication of your consent to pay me $120/hour for 1 hour
o============o  minimum for professional proofreading & technical assessment.
  Terrence Brannon * brannon@quake.usc.edu * http://quake.usc.edu/~brannon



This archive was generated by hypermail 2b29 : Tue Jan 04 2000 - 00:26:19 MET