#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 SDAI_Application_instance {
    protected:
        SDAI_Application_instance_ptr _relatedapproval = NULL;
        SDAI_Application_instance_ptr _relatingapproval = NULL;
        SDAI_String _description;    //  OPTIONAL
        SDAI_String _name;
    public: 
        SdaiIfcapprovalrelationship();
        SdaiIfcapprovalrelationship( SDAI_Application_instance *se, bool addAttrs = true );
        SdaiIfcapprovalrelationship( SdaiIfcapprovalrelationship & e );
        ~SdaiIfcapprovalrelationship();
        int opcode() {
            return 338;
        }
        SdaiIfcapproval_ptr_c relatedapproval_() const;
        SdaiIfcapproval_ptr   relatedapproval_();
        void relatedapproval_( const SdaiIfcapproval_ptr x );

        SdaiIfcapproval_ptr_c relatingapproval_() const;
        SdaiIfcapproval_ptr   relatingapproval_();
        void relatingapproval_( const SdaiIfcapproval_ptr x );

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

  const SdaiIfclabel   name_() const;
        SdaiIfclabel   name_();
        void name_( const SdaiIfclabel x );

};

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

void init_SdaiIfcapprovalrelationship(Registry& reg);

namespace ifc2x3 {
    extern EntityDescriptor *e_ifcapprovalrelationship;
    extern AttrDescriptor *a_769relatedapproval;
    extern AttrDescriptor *a_770relatingapproval;
    extern AttrDescriptor *a_771description;
    extern AttrDescriptor *a_772name;
}

#endif
