#ifndef  TYPE_SDAIYPR_ENUMERATION_VAR_H
#define  TYPE_SDAIYPR_ENUMERATION_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 Ypr_enumeration {
        Ypr_enumeration__yaw,
        Ypr_enumeration__pitch,
        Ypr_enumeration__roll,
        Ypr_enumeration_unset
};

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

  public:
        SdaiYpr_enumeration_var (const char * n =0, EnumTypeDescriptor *et =automotive_design::t_ypr_enumeration);
        SdaiYpr_enumeration_var (Ypr_enumeration e, EnumTypeDescriptor *et =automotive_design::t_ypr_enumeration)
                : type(et) {  set_value (e);  }
        SdaiYpr_enumeration_var (const SdaiYpr_enumeration_var &e) { set_value(e); }
        ~SdaiYpr_enumeration_var () { }
        SdaiYpr_enumeration_var& operator= (const SdaiYpr_enumeration_var& e)
                {  set_value (e);  return *this;  }
        operator Ypr_enumeration () 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       SdaiYpr_enumeration_var *   SdaiYpr_enumeration_var_ptr;

typedef const SdaiYpr_enumeration_var *   SdaiYpr_enumeration_var_ptr_c;
  SDAI_Enum * create_SdaiYpr_enumeration_var();

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

  public:
    SdaiYpr_enumeration_var_agg( EnumTypeDescriptor * =automotive_design::t_ypr_enumeration);
    virtual ~SdaiYpr_enumeration_var_agg();
    virtual SingleLinkNode * NewNode()
        { return new EnumNode (new SdaiYpr_enumeration_var( "", enum_type )); }
};

typedef       SdaiYpr_enumeration_var_agg *   SdaiYpr_enumeration_var_agg_ptr;

typedef const SdaiYpr_enumeration_var_agg *   SdaiYpr_enumeration_var_agg_ptr_c;
  STEPaggregate * create_SdaiYpr_enumeration_var_agg ();
void init_SdaiYpr_enumeration_var(Registry& reg);

#endif
