/*-----------------------------------------------------------
"Automatically generated by the EiffelCOM Wizard."
Added Union _TRIGGER_TYPE_UNION
	monthly_DOW: typedef
	monthlyd_date: typedef
	weekly_interval: typedef
	daily_interval: typedef
	
-----------------------------------------------------------*/

#ifndef __ECOM_MS_TASKSCHED_LIB__TRIGGER_TYPE_UNION_IMPL_H__
#define __ECOM_MS_TASKSCHED_LIB__TRIGGER_TYPE_UNION_IMPL_H__

#include "eif_com.h"

#include "eif_eiffel.h"

#include "eif_setup.h"

#include "eif_macros.h"

#include "ecom_MS_TaskSched_lib__TRIGGER_TYPE_UNION.h"

#include "ecom_grt_globals_mstask_modified_idl_c.h"



#define ccom_x_trigger_type_union_monthly_dow(_ptr_) (EIF_REFERENCE)(grt_ce_mstask_modified_idl_c.ccom_ce_record_x_monthlydow_record46 (((ecom_MS_TaskSched_lib::_TRIGGER_TYPE_UNION *)_ptr_)->monthly_DOW))

#define ccom_x_trigger_type_union_set_monthly_dow(_ptr_, _field_) (memcpy (&(((ecom_MS_TaskSched_lib::_TRIGGER_TYPE_UNION *)_ptr_)->monthly_DOW), (ecom_MS_TaskSched_lib::_MONTHLYDOW *)_field_, sizeof (ecom_MS_TaskSched_lib::_MONTHLYDOW)))

#define ccom_x_trigger_type_union_monthlyd_date(_ptr_) (EIF_REFERENCE)(grt_ce_mstask_modified_idl_c.ccom_ce_record_x_monthlydate_record47 (((ecom_MS_TaskSched_lib::_TRIGGER_TYPE_UNION *)_ptr_)->monthlyd_date))

#define ccom_x_trigger_type_union_set_monthlyd_date(_ptr_, _field_) (memcpy (&(((ecom_MS_TaskSched_lib::_TRIGGER_TYPE_UNION *)_ptr_)->monthlyd_date), (ecom_MS_TaskSched_lib::_MONTHLYDATE *)_field_, sizeof (ecom_MS_TaskSched_lib::_MONTHLYDATE)))

#define ccom_x_trigger_type_union_weekly_interval(_ptr_) (EIF_REFERENCE)(grt_ce_mstask_modified_idl_c.ccom_ce_record_x_weekly_record48 (((ecom_MS_TaskSched_lib::_TRIGGER_TYPE_UNION *)_ptr_)->weekly_interval))

#define ccom_x_trigger_type_union_set_weekly_interval(_ptr_, _field_) (memcpy (&(((ecom_MS_TaskSched_lib::_TRIGGER_TYPE_UNION *)_ptr_)->weekly_interval), (ecom_MS_TaskSched_lib::_WEEKLY *)_field_, sizeof (ecom_MS_TaskSched_lib::_WEEKLY)))

#define ccom_x_trigger_type_union_daily_interval(_ptr_) (EIF_REFERENCE)(grt_ce_mstask_modified_idl_c.ccom_ce_record_x_daily_record49 (((ecom_MS_TaskSched_lib::_TRIGGER_TYPE_UNION *)_ptr_)->daily_interval))

#define ccom_x_trigger_type_union_set_daily_interval(_ptr_, _field_) (memcpy (&(((ecom_MS_TaskSched_lib::_TRIGGER_TYPE_UNION *)_ptr_)->daily_interval), (ecom_MS_TaskSched_lib::_DAILY *)_field_, sizeof (ecom_MS_TaskSched_lib::_DAILY)))

#endif
