#ifndef  TYPE_SDAIAREA_UNIT_TYPE_VAR_H
#define  TYPE_SDAIAREA_UNIT_TYPE_VAR_H

// This file was generated by exp2cxx,
// 0.8.1.
// You probably don't want to edit it since your modifications
// will be lost if exp2cxx is used to regenerate it.

enum Area_unit_type {
        Area_unit_type__circular,
        Area_unit_type__rectangular,
        Area_unit_type__square,
        Area_unit_type_unset
};

class SC_SCHEMA_EXPORT SdaiArea_unit_type_var  :  public SDAI_Enum  {
  protected:
        EnumTypeDescriptor *type;

  public:
        SdaiArea_unit_type_var (const char * n =0, EnumTypeDescriptor *et =ap209_multidisciplinary_analysis_and_design_mim_lf::t_area_unit_type);
        SdaiArea_unit_type_var (Area_unit_type e, EnumTypeDescriptor *et =ap209_multidisciplinary_analysis_and_design_mim_lf::t_area_unit_type)
                : type(et) {  set_value (e);  }
        SdaiArea_unit_type_var (const SdaiArea_unit_type_var &e) { set_value(e); }
        ~SdaiArea_unit_type_var () { }
        SdaiArea_unit_type_var& operator= (const SdaiArea_unit_type_var& e)
                {  set_value (e);  return *this;  }
        operator Area_unit_type () const;

        inline virtual const char * Name () const
                {  return type->Name();  }
        inline virtual int no_elements () const  {  return 3;  }
        virtual const char * element_at (int n) const;
};

typedef       SdaiArea_unit_type_var *   SdaiArea_unit_type_var_ptr;

typedef const SdaiArea_unit_type_var *   SdaiArea_unit_type_var_ptr_c;
  SDAI_Enum * create_SdaiArea_unit_type_var();

class SdaiArea_unit_type_var_agg  :  public EnumAggregate  {
  protected:
    EnumTypeDescriptor *enum_type;

  public:
    SdaiArea_unit_type_var_agg( EnumTypeDescriptor * =ap209_multidisciplinary_analysis_and_design_mim_lf::t_area_unit_type);
    virtual ~SdaiArea_unit_type_var_agg();
    virtual SingleLinkNode * NewNode()
        { return new EnumNode (new SdaiArea_unit_type_var( "", enum_type )); }
};

typedef       SdaiArea_unit_type_var_agg *   SdaiArea_unit_type_var_agg_ptr;

typedef const SdaiArea_unit_type_var_agg *   SdaiArea_unit_type_var_agg_ptr_c;
  STEPaggregate * create_SdaiArea_unit_type_var_agg ();
void init_SdaiArea_unit_type_var(Registry& reg);

#endif
