00001
00002
00003
00004
00005
00006
00007
00008
00010
00012
00018 #ifndef _seDRMPropertyGrid_h
00019 #define _seDRMPropertyGrid_h
00020
00021 #include "seDRMDataTable.h"
00022
00023 namespace sedris {
00024
00030 class seDRMPropertyGrid : public seDRMDataTable
00031 {
00032 public:
00033
00035 seDRMPropertyGrid() {}
00036
00038 seDRMPropertyGrid( const seObject &other ) : seDRMDataTable(other) {}
00039
00041 SE_Short_Integer_Positive get_spatial_axes_count() { DRMBASE_RET_FIELDS(Property_Grid, spatial_axes_count); }
00042
00044 void set_spatial_axes_count( SE_Short_Integer_Positive val ) { DRMBASE_SET_FIELDS(Property_Grid, spatial_axes_count, val); }
00045
00047 const SE_Short_Integer* get_location_index() { DRMBASE_RET_FIELDS(Property_Grid, location_index); }
00048
00050 void set_location_index( const SE_Short_Integer *location_index, SE_Short_Integer_Positive spatial_axes_count ) {
00051 DRMBASE_ALLOC_FIELDS;
00052 set_SE_Short_Integer(DRMBASE_ACC_FIELDS(Property_Grid, location_index), DRMBASE_ACC_FIELDS(Property_Grid, spatial_axes_count), location_index, spatial_axes_count);
00053 }
00054
00056 const SE_SRF_Info& get_srf_info() { DRMBASE_RET_FIELDS(Property_Grid, srf_info); }
00057
00059 void set_srf_info( const SE_SRF_Info &val ) { DRMBASE_SET_FIELDS(Property_Grid, srf_info, val); }
00060
00062 void set_srf_info( SRM_VOS_Code vos_code, EDCS_Unit_Code angular_unit, EDCS_Unit_Code linear_unit, EDCS_Scale_Code linear_scale, SRM_SRF_Parameters_Info srf_params_info ) {
00063 DRMBASE_ALLOC_FIELDS;
00064 DRMBASE_SET_FIELDS_S(Property_Grid, srf_info, vos_code, vos_code);
00065 DRMBASE_SET_FIELDS_S(Property_Grid, srf_info, angular_unit, angular_unit);
00066 DRMBASE_SET_FIELDS_S(Property_Grid, srf_info, linear_unit, linear_unit);
00067 DRMBASE_SET_FIELDS_S(Property_Grid, srf_info, linear_scale, linear_scale);
00068 DRMBASE_SET_FIELDS_S(Property_Grid, srf_info, srf_params_info, srf_params_info);
00069 }
00070
00072 SE_Boolean get_data_present() { DRMBASE_RET_FIELDS(Property_Grid, data_present); }
00073
00075 void set_data_present( SE_Boolean val ) { DRMBASE_SET_FIELDS(Property_Grid, data_present, val); }
00076
00078 virtual SE_DRM_Class getClassType() const { return SE_DRM_CLS_PROPERTY_GRID; }
00079
00080 };
00081
00082 }
00083
00084 #endif // _seDRMPropertyGrid_h