#ifndef  TYPE_SDAIIFCSTATEENUM_VAR_H
#define  TYPE_SDAIIFCSTATEENUM_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 Ifcstateenum {
        Ifcstateenum__readwrite,
        Ifcstateenum__readonly,
        Ifcstateenum__locked,
        Ifcstateenum__readwritelocked,
        Ifcstateenum__readonlylocked,
        Ifcstateenum_unset
};

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

  public:
        SdaiIfcstateenum_var (const char * n =0, EnumTypeDescriptor *et =ifc2x3::t_ifcstateenum);
        SdaiIfcstateenum_var (Ifcstateenum e, EnumTypeDescriptor *et =ifc2x3::t_ifcstateenum)
                : type(et) {  set_value (e);  }
        SdaiIfcstateenum_var (const SdaiIfcstateenum_var &e) { set_value(e); }
        ~SdaiIfcstateenum_var () { }
        SdaiIfcstateenum_var& operator= (const SdaiIfcstateenum_var& e)
                {  set_value (e);  return *this;  }
        operator Ifcstateenum () const;

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

typedef       SdaiIfcstateenum_var *   SdaiIfcstateenum_var_ptr;

typedef const SdaiIfcstateenum_var *   SdaiIfcstateenum_var_ptr_c;
  SDAI_Enum * create_SdaiIfcstateenum_var();

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

  public:
    SdaiIfcstateenum_var_agg( EnumTypeDescriptor * =ifc2x3::t_ifcstateenum);
    virtual ~SdaiIfcstateenum_var_agg();
    virtual SingleLinkNode * NewNode()
        { return new EnumNode (new SdaiIfcstateenum_var( "", enum_type )); }
};

typedef       SdaiIfcstateenum_var_agg *   SdaiIfcstateenum_var_agg_ptr;

typedef const SdaiIfcstateenum_var_agg *   SdaiIfcstateenum_var_agg_ptr_c;
  STEPaggregate * create_SdaiIfcstateenum_var_agg ();
void init_SdaiIfcstateenum_var(Registry& reg);

#endif
