#ifndef  ENTITY_SDAIIFCAPPROVALRELATIONSHIP_H
#define  ENTITY_SDAIIFCAPPROVALRELATIONSHIP_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 SdaiIfcapprovalrelationship : public SdaiIfcresourcelevelrelationship {
     protected:
        SDAI_Application_instance_ptr _relatingapproval = NULL;
        EntityAggregate_ptr _relatedapprovals = NULL;          //  of  ifcapproval

    public: 
        SdaiIfcapprovalrelationship();
        SdaiIfcapprovalrelationship( SDAI_Application_instance *se, bool addAttrs = true );
        SdaiIfcapprovalrelationship( SdaiIfcapprovalrelationship & e );
        ~SdaiIfcapprovalrelationship();
        int opcode() {
            return 408;
        }
        SdaiIfcapproval_ptr_c relatingapproval_() const;
        SdaiIfcapproval_ptr   relatingapproval_();
        void relatingapproval_( const SdaiIfcapproval_ptr x );

        EntityAggregate_ptr_c relatedapprovals_() const;
        EntityAggregate_ptr   relatedapprovals_();
        void relatedapprovals_( const EntityAggregate_ptr x );

};

inline SdaiIfcapprovalrelationship * create_SdaiIfcapprovalrelationship() {
    return new SdaiIfcapprovalrelationship;
}

void init_SdaiIfcapprovalrelationship(Registry& reg);

namespace ifc4 {
    extern EntityDescriptor *e_ifcapprovalrelationship;
    extern AttrDescriptor *a_933relatingapproval;
    extern AttrDescriptor *a_934relatedapprovals;
}

#endif
