#ifndef  ENTITY_SDAIIFCORGANIZATIONRELATIONSHIP_H
#define  ENTITY_SDAIIFCORGANIZATIONRELATIONSHIP_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 SdaiIfcorganizationrelationship : public SdaiIfcresourcelevelrelationship {
     protected:
        SDAI_Application_instance_ptr _relatingorganization = NULL;
        EntityAggregate_ptr _relatedorganizations = NULL;          //  of  ifcorganization

    public: 
        SdaiIfcorganizationrelationship();
        SdaiIfcorganizationrelationship( SDAI_Application_instance *se, bool addAttrs = true );
        SdaiIfcorganizationrelationship( SdaiIfcorganizationrelationship & e );
        ~SdaiIfcorganizationrelationship();
        int opcode() {
            return 248;
        }
        SdaiIfcorganization_ptr_c relatingorganization_() const;
        SdaiIfcorganization_ptr   relatingorganization_();
        void relatingorganization_( const SdaiIfcorganization_ptr x );

        EntityAggregate_ptr_c relatedorganizations_() const;
        EntityAggregate_ptr   relatedorganizations_();
        void relatedorganizations_( const EntityAggregate_ptr x );

};

inline SdaiIfcorganizationrelationship * create_SdaiIfcorganizationrelationship() {
    return new SdaiIfcorganizationrelationship;
}

void init_SdaiIfcorganizationrelationship(Registry& reg);

namespace ifc4 {
    extern EntityDescriptor *e_ifcorganizationrelationship;
    extern AttrDescriptor *a_560relatingorganization;
    extern AttrDescriptor *a_561relatedorganizations;
}

#endif
