00001
00002
00003
00004
00005
00006
00007
00008
00010
00012
00018 #ifndef _seDRMRegularAxis_h
00019 #define _seDRMRegularAxis_h
00020
00021 #include "seDRMAxis.h"
00022
00023 namespace sedris {
00024
00030 class seDRMRegularAxis : public seDRMAxis
00031 {
00032 public:
00033
00035 seDRMRegularAxis() {}
00036
00038 seDRMRegularAxis( const seObject &other ) : seDRMAxis(other) {}
00039
00041 EDCS_Attribute_Code get_axis_type() { DRMBASE_RET_FIELDS(Regular_Axis, axis_type); }
00042
00044 void set_axis_type( EDCS_Attribute_Code val ) { DRMBASE_SET_FIELDS(Regular_Axis, axis_type, val); }
00045
00047 SE_Short_Integer_Positive get_axis_value_count() { DRMBASE_RET_FIELDS(Regular_Axis, axis_value_count); }
00048
00050 void set_axis_value_count( SE_Short_Integer_Positive val ) { DRMBASE_SET_FIELDS(Regular_Axis, axis_value_count, val); }
00051
00053 EDCS_Unit_Code get_value_unit() { DRMBASE_RET_FIELDS(Regular_Axis, value_unit); }
00054
00056 void set_value_unit( EDCS_Unit_Code val ) { DRMBASE_SET_FIELDS(Regular_Axis, value_unit, val); }
00057
00059 EDCS_Scale_Code get_value_scale() { DRMBASE_RET_FIELDS(Regular_Axis, value_scale); }
00060
00062 void set_value_scale( EDCS_Scale_Code val ) { DRMBASE_SET_FIELDS(Regular_Axis, value_scale, val); }
00063
00065 SE_Interpolation_Type get_interpolation_type() { DRMBASE_RET_FIELDS(Regular_Axis, interpolation_type); }
00066
00068 void set_interpolation_type( SE_Interpolation_Type val ) { DRMBASE_SET_FIELDS(Regular_Axis, interpolation_type, val); }
00069
00071 const SE_Single_Value& get_first_value() { DRMBASE_RET_FIELDS(Regular_Axis, first_value); }
00072
00074 void set_first_value( const SE_Single_Value &val ) {
00075 DRMBASE_ALLOC_FIELDS;
00076 set_SE_Single_Value(DRMBASE_ACC_FIELDS(Regular_Axis, first_value), val);
00077 }
00078
00080 const SE_Single_Value& get_spacing() { DRMBASE_RET_FIELDS(Regular_Axis, spacing); }
00081
00083 void set_spacing( const SE_Single_Value &val ) {
00084 DRMBASE_ALLOC_FIELDS;
00085 set_SE_Single_Value(DRMBASE_ACC_FIELDS(Regular_Axis, spacing), val);
00086 }
00087
00089 SE_Spacing_Type get_spacing_type() { DRMBASE_RET_FIELDS(Regular_Axis, spacing_type); }
00090
00092 void set_spacing_type( SE_Spacing_Type val ) { DRMBASE_SET_FIELDS(Regular_Axis, spacing_type, val); }
00093
00095 SE_Axis_Alignment get_axis_alignment() { DRMBASE_RET_FIELDS(Regular_Axis, axis_alignment); }
00096
00098 void set_axis_alignment( SE_Axis_Alignment val ) { DRMBASE_SET_FIELDS(Regular_Axis, axis_alignment, val); }
00099
00101 virtual SE_DRM_Class getClassType() const { return SE_DRM_CLS_REGULAR_AXIS; }
00102
00103 };
00104
00105 }
00106
00107 #endif // _seDRMRegularAxis_h