00001
00002
00003
00004
00005
00006
00007
00008
00010
00012
00018 #ifndef _seDRMStateControlLink_h
00019 #define _seDRMStateControlLink_h
00020
00021 #include "seDRMControlLink.h"
00022
00023 namespace sedris {
00024
00030 class seDRMStateControlLink : public seDRMControlLink
00031 {
00032 public:
00033
00035 seDRMStateControlLink() {}
00036
00038 seDRMStateControlLink( const seObject &other ) : seDRMControlLink(other) {}
00039
00041 const SE_String& get_description() { DRMBASE_RET_FIELDS(State_Control_Link, description); }
00042
00044 void set_description( const SE_String &val ) {
00045 DRMBASE_ALLOC_FIELDS;
00046 seHelperDRM::setSE_String(DRMBASE_ACC_FIELDS(State_Control_Link, description), val.characters, val.length, val.locale);
00047 }
00048
00050 void set_description( 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(State_Control_Link, description), chars, len, locale);
00053 }
00054
00056 SE_Integer_Positive get_expr_index() { DRMBASE_RET_FIELDS(State_Control_Link, expr_index); }
00057
00059 void set_expr_index( SE_Integer_Positive val ) { DRMBASE_SET_FIELDS(State_Control_Link, expr_index, val); }
00060
00062 SE_State_Mismatch_Behaviour get_mismatch_behaviour() { DRMBASE_RET_FIELDS(State_Control_Link, mismatch_behaviour); }
00063
00065 void set_mismatch_behaviour( SE_State_Mismatch_Behaviour val ) { DRMBASE_SET_FIELDS(State_Control_Link, mismatch_behaviour, val); }
00066
00068 virtual SE_DRM_Class getClassType() const { return SE_DRM_CLS_STATE_CONTROL_LINK; }
00069
00070 };
00071
00072 }
00073
00074 #endif // _seDRMStateControlLink_h