00001
00002
00003
00004
00005
00006
00007
00008
00010
00012
00018 #ifndef _seDRMModel_h
00019 #define _seDRMModel_h
00020
00021 #include "seDRMBase.h"
00022
00023 namespace sedris {
00024
00030 class seDRMModel : public seDRMBase
00031 {
00032 public:
00033
00035 seDRMModel() {}
00036
00038 seDRMModel( const seObject &other ) : seDRMBase(other) {}
00039
00041 const SE_String& get_name() { DRMBASE_RET_FIELDS(Model, name); }
00042
00044 void set_name( const SE_String &val ) {
00045 DRMBASE_ALLOC_FIELDS;
00046 seHelperDRM::setSE_String(DRMBASE_ACC_FIELDS(Model, name), val.characters, val.length, val.locale);
00047 }
00048
00050 void set_name( const SE_Character *chars, SE_Short_Integer_Unsigned len=0, SE_Locale locale=SE_LOCALE_DEFAULT ) {
00051 DRMBASE_ALLOC_FIELDS;
00052 seHelperDRM::setSE_String(DRMBASE_ACC_FIELDS(Model, name), chars, len, locale);
00053 }
00054
00056 const SE_SRF_Info& get_srf_info() { DRMBASE_RET_FIELDS(Model, srf_info); }
00057
00059 void set_srf_info( const SE_SRF_Info &val ) { DRMBASE_SET_FIELDS(Model, 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(Model, srf_info, vos_code, vos_code);
00065 DRMBASE_SET_FIELDS_S(Model, srf_info, angular_unit, angular_unit);
00066 DRMBASE_SET_FIELDS_S(Model, srf_info, linear_unit, linear_unit);
00067 DRMBASE_SET_FIELDS_S(Model, srf_info, linear_scale, linear_scale);
00068 DRMBASE_SET_FIELDS_S(Model, srf_info, srf_params_info, srf_params_info);
00069 }
00070
00072 SE_Model_Reference_Type get_model_reference_type() { DRMBASE_RET_FIELDS(Model, model_reference_type); }
00073
00075 void set_model_reference_type( SE_Model_Reference_Type val ) { DRMBASE_SET_FIELDS(Model, model_reference_type, val); }
00076
00078 SE_Boolean get_dynamic_model_processing() { DRMBASE_RET_FIELDS(Model, dynamic_model_processing); }
00079
00081 void set_dynamic_model_processing( SE_Boolean val ) { DRMBASE_SET_FIELDS(Model, dynamic_model_processing, val); }
00082
00084 SE_Boolean get_has_units() { DRMBASE_RET_FIELDS(Model, has_units); }
00085
00087 void set_has_units( SE_Boolean val ) { DRMBASE_SET_FIELDS(Model, has_units, val); }
00088
00090 SE_Boolean get_has_moving_parts() { DRMBASE_RET_FIELDS(Model, has_moving_parts); }
00091
00093 void set_has_moving_parts( SE_Boolean val ) { DRMBASE_SET_FIELDS(Model, has_moving_parts, val); }
00094
00096 virtual SE_DRM_Class getClassType() const { return SE_DRM_CLS_MODEL; }
00097
00098 };
00099
00100 }
00101
00102 #endif // _seDRMModel_h