00001
00002
00003
00004
00005
00006
00007
00008
00010
00012
00018 #ifndef _seDRMPropertySetTable_h
00019 #define _seDRMPropertySetTable_h
00020
00021 #include "seDRMBase.h"
00022
00023 namespace sedris {
00024
00030 class seDRMPropertySetTable : public seDRMBase
00031 {
00032 public:
00033
00035 seDRMPropertySetTable() {}
00036
00038 seDRMPropertySetTable( const seObject &other ) : seDRMBase(other) {}
00039
00041 const SE_String& get_table_usage() { DRMBASE_RET_FIELDS(Property_Set_Table, table_usage); }
00042
00044 void set_table_usage( const SE_String &val ) {
00045 DRMBASE_ALLOC_FIELDS;
00046 seHelperDRM::setSE_String(DRMBASE_ACC_FIELDS(Property_Set_Table, table_usage), val.characters, val.length, val.locale);
00047 }
00048
00050 void set_table_usage( 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(Property_Set_Table, table_usage), chars, len, locale);
00053 }
00054
00056 SE_Boolean get_regular() { DRMBASE_RET_FIELDS(Property_Set_Table, regular); }
00057
00059 void set_regular( SE_Boolean val ) { DRMBASE_SET_FIELDS(Property_Set_Table, regular, val); }
00060
00062 virtual SE_DRM_Class getClassType() const { return SE_DRM_CLS_PROPERTY_SET_TABLE; }
00063
00064 };
00065
00066 }
00067
00068 #endif // _seDRMPropertySetTable_h