#ifndef  ENTITY_SDAIIFCRELDEFINESBYTEMPLATE_H
#define  ENTITY_SDAIIFCRELDEFINESBYTEMPLATE_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 SdaiIfcreldefinesbytemplate : public SdaiIfcreldefines {
     protected:
        EntityAggregate_ptr _relatedpropertysets = NULL;          //  of  ifcpropertysetdefinition

        SDAI_Application_instance_ptr _relatingtemplate = NULL;
    public: 
        SdaiIfcreldefinesbytemplate();
        SdaiIfcreldefinesbytemplate( SDAI_Application_instance *se, bool addAttrs = true );
        SdaiIfcreldefinesbytemplate( SdaiIfcreldefinesbytemplate & e );
        ~SdaiIfcreldefinesbytemplate();
        int opcode() {
            return 578;
        }
        EntityAggregate_ptr_c relatedpropertysets_() const;
        EntityAggregate_ptr   relatedpropertysets_();
        void relatedpropertysets_( const EntityAggregate_ptr x );

        SdaiIfcpropertysettemplate_ptr_c relatingtemplate_() const;
        SdaiIfcpropertysettemplate_ptr   relatingtemplate_();
        void relatingtemplate_( const SdaiIfcpropertysettemplate_ptr x );

};

inline SdaiIfcreldefinesbytemplate * create_SdaiIfcreldefinesbytemplate() {
    return new SdaiIfcreldefinesbytemplate;
}

void init_SdaiIfcreldefinesbytemplate(Registry& reg);

namespace ifc4 {
    extern EntityDescriptor *e_ifcreldefinesbytemplate;
    extern AttrDescriptor *a_1287relatedpropertysets;
    extern AttrDescriptor *a_1288relatingtemplate;
}

#endif
