#ifndef  ENTITY_SDAIIFCRELCONTAINEDINSPATIALSTRUCTURE_H
#define  ENTITY_SDAIIFCRELCONTAINEDINSPATIALSTRUCTURE_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 SdaiIfcrelcontainedinspatialstructure : public SdaiIfcrelconnects {
     protected:
        EntityAggregate_ptr _relatedelements = NULL;          //  of  ifcproduct

        SDAI_Application_instance_ptr _relatingstructure = NULL;
    public: 
        SdaiIfcrelcontainedinspatialstructure();
        SdaiIfcrelcontainedinspatialstructure( SDAI_Application_instance *se, bool addAttrs = true );
        SdaiIfcrelcontainedinspatialstructure( SdaiIfcrelcontainedinspatialstructure & e );
        ~SdaiIfcrelcontainedinspatialstructure();
        int opcode() {
            return 598;
        }
        EntityAggregate_ptr_c relatedelements_() const;
        EntityAggregate_ptr   relatedelements_();
        void relatedelements_( const EntityAggregate_ptr x );

        SdaiIfcspatialelement_ptr_c relatingstructure_() const;
        SdaiIfcspatialelement_ptr   relatingstructure_();
        void relatingstructure_( const SdaiIfcspatialelement_ptr x );

};

inline SdaiIfcrelcontainedinspatialstructure * create_SdaiIfcrelcontainedinspatialstructure() {
    return new SdaiIfcrelcontainedinspatialstructure;
}

void init_SdaiIfcrelcontainedinspatialstructure(Registry& reg);

namespace ifc4 {
    extern EntityDescriptor *e_ifcrelcontainedinspatialstructure;
    extern AttrDescriptor *a_1327relatedelements;
    extern AttrDescriptor *a_1328relatingstructure;
}

#endif
