#ifndef  ENTITY_SDAIIFCRELDEFINESBYOBJECT_H
#define  ENTITY_SDAIIFCRELDEFINESBYOBJECT_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 SdaiIfcreldefinesbyobject : public SdaiIfcreldefines {
     protected:
        EntityAggregate_ptr _relatedobjects = NULL;          //  of  ifcobject

        SDAI_Application_instance_ptr _relatingobject = NULL;
    public: 
        SdaiIfcreldefinesbyobject();
        SdaiIfcreldefinesbyobject( SDAI_Application_instance *se, bool addAttrs = true );
        SdaiIfcreldefinesbyobject( SdaiIfcreldefinesbyobject & e );
        ~SdaiIfcreldefinesbyobject();
        int opcode() {
            return 426;
        }
        EntityAggregate_ptr_c relatedobjects_() const;
        EntityAggregate_ptr   relatedobjects_();
        void relatedobjects_( const EntityAggregate_ptr x );

        SdaiIfcobject_ptr_c relatingobject_() const;
        SdaiIfcobject_ptr   relatingobject_();
        void relatingobject_( const SdaiIfcobject_ptr x );

};

inline SdaiIfcreldefinesbyobject * create_SdaiIfcreldefinesbyobject() {
    return new SdaiIfcreldefinesbyobject;
}

void init_SdaiIfcreldefinesbyobject(Registry& reg);

namespace ifc4 {
    extern EntityDescriptor *e_ifcreldefinesbyobject;
    extern AttrDescriptor *a_958relatedobjects;
    extern AttrDescriptor *a_959relatingobject;
}

#endif
