00001
00002
00003
00004
00005
00006
00007
00008
00010
00012
00018 #ifndef _seDRMIrregularAxis_h
00019 #define _seDRMIrregularAxis_h
00020
00021 #include "seDRMAxis.h"
00022
00023 namespace sedris {
00024
00030 class seDRMIrregularAxis : public seDRMAxis
00031 {
00032 public:
00033
00035 seDRMIrregularAxis() {}
00036
00038 seDRMIrregularAxis( const seObject &other ) : seDRMAxis(other) {}
00039
00041 EDCS_Attribute_Code get_axis_type() { DRMBASE_RET_FIELDS(Irregular_Axis, axis_type); }
00042
00044 void set_axis_type( EDCS_Attribute_Code val ) { DRMBASE_SET_FIELDS(Irregular_Axis, axis_type, val); }
00045
00047 SE_Short_Integer_Positive get_axis_value_count() { DRMBASE_RET_FIELDS(Irregular_Axis, axis_value_count); }
00048
00050 void set_axis_value_count( SE_Short_Integer_Positive val ) { DRMBASE_SET_FIELDS(Irregular_Axis, axis_value_count, val); }
00051
00053 const SE_Single_Value* get_axis_value_array() { DRMBASE_RET_FIELDS(Irregular_Axis, axis_value_array); }
00054
00056 void set_axis_value_array( const SE_Single_Value *axis_value_array, SE_Short_Integer_Positive axis_value_count ) {
00057 DRMBASE_ALLOC_FIELDS;
00058 set_SE_Single_Value(DRMBASE_ACC_FIELDS(Irregular_Axis, axis_value_array), DRMBASE_ACC_FIELDS(Irregular_Axis, axis_value_count), axis_value_array, axis_value_count);
00059 }
00060
00062 EDCS_Unit_Code get_value_unit() { DRMBASE_RET_FIELDS(Irregular_Axis, value_unit); }
00063
00065 void set_value_unit( EDCS_Unit_Code val ) { DRMBASE_SET_FIELDS(Irregular_Axis, value_unit, val); }
00066
00068 EDCS_Scale_Code get_value_scale() { DRMBASE_RET_FIELDS(Irregular_Axis, value_scale); }
00069
00071 void set_value_scale( EDCS_Scale_Code val ) { DRMBASE_SET_FIELDS(Irregular_Axis, value_scale, val); }
00072
00074 SE_Interpolation_Type get_interpolation_type() { DRMBASE_RET_FIELDS(Irregular_Axis, interpolation_type); }
00075
00077 void set_interpolation_type( SE_Interpolation_Type val ) { DRMBASE_SET_FIELDS(Irregular_Axis, interpolation_type, val); }
00078
00080 virtual SE_DRM_Class getClassType() const { return SE_DRM_CLS_IRREGULAR_AXIS; }
00081
00082 };
00083
00084 }
00085
00086 #endif // _seDRMIrregularAxis_h