00001
00002
00003
00004
00005
00006
00007
00008
00010
00012
00018 #ifndef _seDRMIntervalAxis_h
00019 #define _seDRMIntervalAxis_h
00020
00021 #include "seDRMAxis.h"
00022
00023 namespace sedris {
00024
00030 class seDRMIntervalAxis : public seDRMAxis
00031 {
00032 public:
00033
00035 seDRMIntervalAxis() {}
00036
00038 seDRMIntervalAxis( const seObject &other ) : seDRMAxis(other) {}
00039
00041 EDCS_Attribute_Code get_axis_type() { DRMBASE_RET_FIELDS(Interval_Axis, axis_type); }
00042
00044 void set_axis_type( EDCS_Attribute_Code val ) { DRMBASE_SET_FIELDS(Interval_Axis, axis_type, val); }
00045
00047 SE_Short_Integer_Positive get_axis_value_count() { DRMBASE_RET_FIELDS(Interval_Axis, axis_value_count); }
00048
00050 void set_axis_value_count( SE_Short_Integer_Positive val ) { DRMBASE_SET_FIELDS(Interval_Axis, axis_value_count, val); }
00051
00053 const SE_Interval_Value* get_axis_interval_value_array() { DRMBASE_RET_FIELDS(Interval_Axis, axis_interval_value_array); }
00054
00056 void set_axis_interval_value_array( const SE_Interval_Value *axis_interval_value_array, SE_Short_Integer_Positive axis_value_count ) {
00057 DRMBASE_ALLOC_FIELDS;
00058 set_SE_Interval_Value(DRMBASE_ACC_FIELDS(Interval_Axis, axis_interval_value_array), DRMBASE_ACC_FIELDS(Interval_Axis, axis_value_count), axis_interval_value_array, axis_value_count);
00059 }
00060
00062 EDCS_Unit_Code get_value_unit() { DRMBASE_RET_FIELDS(Interval_Axis, value_unit); }
00063
00065 void set_value_unit( EDCS_Unit_Code val ) { DRMBASE_SET_FIELDS(Interval_Axis, value_unit, val); }
00066
00068 EDCS_Scale_Code get_value_scale() { DRMBASE_RET_FIELDS(Interval_Axis, value_scale); }
00069
00071 void set_value_scale( EDCS_Scale_Code val ) { DRMBASE_SET_FIELDS(Interval_Axis, value_scale, val); }
00072
00074 virtual SE_DRM_Class getClassType() const { return SE_DRM_CLS_INTERVAL_AXIS; }
00075
00076 };
00077
00078 }
00079
00080 #endif // _seDRMIntervalAxis_h