00001
00002
00003
00004
00005
00006
00007
00008
00010
00012
00018 #ifndef _seDRMRelativeTime_h
00019 #define _seDRMRelativeTime_h
00020
00021 #include "seDRMTimePoint.h"
00022
00023 namespace sedris {
00024
00030 class seDRMRelativeTime : public seDRMTimePoint
00031 {
00032 public:
00033
00035 seDRMRelativeTime() {}
00036
00038 seDRMRelativeTime( const seObject &other ) : seDRMTimePoint(other) {}
00039
00041 SE_Time_Significance get_time_significance() { DRMBASE_RET_FIELDS(Relative_Time, time_significance); }
00042
00044 void set_time_significance( SE_Time_Significance val ) { DRMBASE_SET_FIELDS(Relative_Time, time_significance, val); }
00045
00047 SE_Integer get_delta_days() { DRMBASE_RET_FIELDS(Relative_Time, delta_days); }
00048
00050 void set_delta_days( SE_Integer val ) { DRMBASE_SET_FIELDS(Relative_Time, delta_days, val); }
00051
00053 SE_Byte_Unsigned get_delta_hours() { DRMBASE_RET_FIELDS(Relative_Time, delta_hours); }
00054
00056 void set_delta_hours( SE_Byte_Unsigned val ) { DRMBASE_SET_FIELDS(Relative_Time, delta_hours, val); }
00057
00059 SE_Byte_Unsigned get_delta_minutes() { DRMBASE_RET_FIELDS(Relative_Time, delta_minutes); }
00060
00062 void set_delta_minutes( SE_Byte_Unsigned val ) { DRMBASE_SET_FIELDS(Relative_Time, delta_minutes, val); }
00063
00065 SE_Long_Float get_delta_seconds() { DRMBASE_RET_FIELDS(Relative_Time, delta_seconds); }
00066
00068 void set_delta_seconds( SE_Long_Float val ) { DRMBASE_SET_FIELDS(Relative_Time, delta_seconds, val); }
00069
00071 virtual SE_DRM_Class getClassType() const { return SE_DRM_CLS_RELATIVE_TIME; }
00072
00073 };
00074
00075 }
00076
00077 #endif // _seDRMRelativeTime_h