#ifndef  ENTITY_SDAIIFCCONSTRUCTIONMATERIALRESOURCE_H
#define  ENTITY_SDAIIFCCONSTRUCTIONMATERIALRESOURCE_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 SdaiIfcconstructionmaterialresource : public SdaiIfcconstructionresource {
     protected:
        SdaiIfcactorselect_agg_ptr _suppliers = NULL;    //  OPTIONAL          //  of  ifcactorselect

        SDAI_Real _usageratio = 0.0;    //  OPTIONAL
    public: 
        SdaiIfcconstructionmaterialresource();
        SdaiIfcconstructionmaterialresource( SDAI_Application_instance *se, bool addAttrs = true );
        SdaiIfcconstructionmaterialresource( SdaiIfcconstructionmaterialresource & e );
        ~SdaiIfcconstructionmaterialresource();
        int opcode() {
            return 526;
        }
        SdaiIfcactorselect_agg_ptr_c suppliers_() const;
        SdaiIfcactorselect_agg_ptr   suppliers_();
        void suppliers_( const SdaiIfcactorselect_agg_ptr x );

        SdaiIfcratiomeasure   usageratio_() const;
        void usageratio_( const SdaiIfcratiomeasure x );

};

inline SdaiIfcconstructionmaterialresource * create_SdaiIfcconstructionmaterialresource() {
    return new SdaiIfcconstructionmaterialresource;
}

void init_SdaiIfcconstructionmaterialresource(Registry& reg);

namespace ifc2x3 {
    extern EntityDescriptor *e_ifcconstructionmaterialresource;
    extern AttrDescriptor *a_1157suppliers;
    extern AttrDescriptor *a_1158usageratio;
}

#endif
