#ifndef  ENTITY_SDAIIFCRELCONNECTSPORTTOELEMENT_H
#define  ENTITY_SDAIIFCRELCONNECTSPORTTOELEMENT_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 SdaiIfcrelconnectsporttoelement : public SdaiIfcrelconnects {
     protected:
        SDAI_Application_instance_ptr _relatingport = NULL;
        SDAI_Application_instance_ptr _relatedelement = NULL;
    public: 
        SdaiIfcrelconnectsporttoelement();
        SdaiIfcrelconnectsporttoelement( SDAI_Application_instance *se, bool addAttrs = true );
        SdaiIfcrelconnectsporttoelement( SdaiIfcrelconnectsporttoelement & e );
        ~SdaiIfcrelconnectsporttoelement();
        int opcode() {
            return 123;
        }
        SdaiIfcport_ptr_c relatingport_() const;
        SdaiIfcport_ptr   relatingport_();
        void relatingport_( const SdaiIfcport_ptr x );

        SdaiIfcdistributionelement_ptr_c relatedelement_() const;
        SdaiIfcdistributionelement_ptr   relatedelement_();
        void relatedelement_( const SdaiIfcdistributionelement_ptr x );

};

inline SdaiIfcrelconnectsporttoelement * create_SdaiIfcrelconnectsporttoelement() {
    return new SdaiIfcrelconnectsporttoelement;
}

void init_SdaiIfcrelconnectsporttoelement(Registry& reg);

namespace ifc4 {
    extern EntityDescriptor *e_ifcrelconnectsporttoelement;
    extern AttrDescriptor *a_267relatingport;
    extern AttrDescriptor *a_268relatedelement;
}

#endif
