#ifndef  ENTITY_SDAIIFCRESOURCECONSTRAINTRELATIONSHIP_H
#define  ENTITY_SDAIIFCRESOURCECONSTRAINTRELATIONSHIP_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 SdaiIfcresourceconstraintrelationship : public SdaiIfcresourcelevelrelationship {
     protected:
        SDAI_Application_instance_ptr _relatingconstraint = NULL;
        SdaiIfcresourceobjectselect_agg_ptr _relatedresourceobjects = NULL;          //  of  ifcresourceobjectselect

    public: 
        SdaiIfcresourceconstraintrelationship();
        SdaiIfcresourceconstraintrelationship( SDAI_Application_instance *se, bool addAttrs = true );
        SdaiIfcresourceconstraintrelationship( SdaiIfcresourceconstraintrelationship & e );
        ~SdaiIfcresourceconstraintrelationship();
        int opcode() {
            return 657;
        }
        SdaiIfcconstraint_ptr_c relatingconstraint_() const;
        SdaiIfcconstraint_ptr   relatingconstraint_();
        void relatingconstraint_( const SdaiIfcconstraint_ptr x );

        SdaiIfcresourceobjectselect_agg_ptr_c relatedresourceobjects_() const;
        SdaiIfcresourceobjectselect_agg_ptr   relatedresourceobjects_();
        void relatedresourceobjects_( const SdaiIfcresourceobjectselect_agg_ptr x );

};

inline SdaiIfcresourceconstraintrelationship * create_SdaiIfcresourceconstraintrelationship() {
    return new SdaiIfcresourceconstraintrelationship;
}

void init_SdaiIfcresourceconstraintrelationship(Registry& reg);

namespace ifc4 {
    extern EntityDescriptor *e_ifcresourceconstraintrelationship;
    extern AttrDescriptor *a_1458relatingconstraint;
    extern AttrDescriptor *a_1459relatedresourceobjects;
}

#endif
