#ifndef  ENTITY_SDAIIFCMATERIALCONSTITUENT_H
#define  ENTITY_SDAIIFCMATERIALCONSTITUENT_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.

class SC_SCHEMA_EXPORT SdaiIfcmaterialconstituent : public SdaiIfcmaterialdefinition {
     protected:
        SDAI_String _name;    //  OPTIONAL
        SDAI_String _description;    //  OPTIONAL
        SDAI_Application_instance_ptr _material = NULL;
        SDAI_Real _fraction = 0.0;    //  OPTIONAL
        SDAI_String _category;    //  OPTIONAL
    public: 
        SdaiIfcmaterialconstituent();
        SdaiIfcmaterialconstituent( SDAI_Application_instance *se, bool addAttrs = true );
        SdaiIfcmaterialconstituent( SdaiIfcmaterialconstituent & e );
        ~SdaiIfcmaterialconstituent();
        int opcode() {
            return 580;
        }
  const SdaiIfclabel   name_() const;
        SdaiIfclabel   name_();
        void name_( const SdaiIfclabel x );

  const SdaiIfctext   description_() const;
        SdaiIfctext   description_();
        void description_( const SdaiIfctext x );

        SdaiIfcmaterial_ptr_c material_() const;
        SdaiIfcmaterial_ptr   material_();
        void material_( const SdaiIfcmaterial_ptr x );

        SdaiIfcnormalisedratiomeasure   fraction_() const;
        void fraction_( const SdaiIfcnormalisedratiomeasure x );

  const SdaiIfclabel   category_() const;
        SdaiIfclabel   category_();
        void category_( const SdaiIfclabel x );

        SdaiIfcmaterialconstituentset_ptr_c tomaterialconstituentset_() const;
        SdaiIfcmaterialconstituentset_ptr   tomaterialconstituentset_();
        void tomaterialconstituentset_( const SdaiIfcmaterialconstituentset_ptr x );

};

inline SdaiIfcmaterialconstituent * create_SdaiIfcmaterialconstituent() {
    return new SdaiIfcmaterialconstituent;
}

void init_SdaiIfcmaterialconstituent(Registry& reg);

namespace ifc4 {
    extern EntityDescriptor *e_ifcmaterialconstituent;
    extern AttrDescriptor *a_1289name;
    extern AttrDescriptor *a_1290description;
    extern AttrDescriptor *a_1291material;
    extern AttrDescriptor *a_1292fraction;
    extern AttrDescriptor *a_1293category;
    extern Inverse_attribute *a_1294Itomaterialconstituentset;
}

#endif
