#ifndef  ENTITY_SDAIRELATIVE_EVENT_OCCURRENCE_H
#define  ENTITY_SDAIRELATIVE_EVENT_OCCURRENCE_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 SdaiRelative_event_occurrence : public SdaiEvent_occurrence {
     protected:
        SDAI_Application_instance_ptr _base_event = NULL;
        SDAI_Application_instance_ptr _offset = NULL;
    public: 
        SdaiRelative_event_occurrence();
        SdaiRelative_event_occurrence( SDAI_Application_instance *se, bool addAttrs = true );
        SdaiRelative_event_occurrence( SdaiRelative_event_occurrence & e );
        ~SdaiRelative_event_occurrence();
        int opcode() {
            return 261;
        }
        SdaiEvent_occurrence_ptr_c base_event_() const;
        SdaiEvent_occurrence_ptr   base_event_();
        void base_event_( const SdaiEvent_occurrence_ptr x );

        SdaiTime_measure_with_unit_ptr_c offset_() const;
        SdaiTime_measure_with_unit_ptr   offset_();
        void offset_( const SdaiTime_measure_with_unit_ptr x );

};

inline SdaiRelative_event_occurrence * create_SdaiRelative_event_occurrence() {
    return new SdaiRelative_event_occurrence;
}

void init_SdaiRelative_event_occurrence(Registry& reg);

namespace ap203_configuration_controlled_3d_design_of_mechanical_parts_and_assemblies_mim_lf {
    extern EntityDescriptor *e_relative_event_occurrence;
    extern AttrDescriptor *a_387base_event;
    extern AttrDescriptor *a_388offset;
}

#endif
