00001
00002
00003
00004
00005
00006
00007
00008
00010
00012
00018 #ifndef _seDRMKeywords_h
00019 #define _seDRMKeywords_h
00020
00021 #include "seDRMBase.h"
00022
00023 namespace sedris {
00024
00030 class seDRMKeywords : public seDRMBase
00031 {
00032 public:
00033
00035 seDRMKeywords() {}
00036
00038 seDRMKeywords( const seObject &other ) : seDRMBase(other) {}
00039
00041 SE_Short_Integer_Positive get_keyword_count() { DRMBASE_RET_FIELDS(Keywords, keyword_count); }
00042
00044 void set_keyword_count( SE_Short_Integer_Positive val ) { DRMBASE_SET_FIELDS(Keywords, keyword_count, val); }
00045
00047 const SE_String* get_keyword_array() { DRMBASE_RET_FIELDS(Keywords, keyword_array); }
00048
00050 void set_keyword_array( const SE_String *keyword_array, SE_Short_Integer_Positive keyword_count ) {
00051 DRMBASE_ALLOC_FIELDS;
00052 set_SE_String(DRMBASE_ACC_FIELDS(Keywords, keyword_array), DRMBASE_ACC_FIELDS(Keywords, keyword_count), keyword_array, keyword_count);
00053 }
00054
00056 SE_Keyword_Type_Code get_type() { DRMBASE_RET_FIELDS(Keywords, type); }
00057
00059 void set_type( SE_Keyword_Type_Code val ) { DRMBASE_SET_FIELDS(Keywords, type, val); }
00060
00062 virtual SE_DRM_Class getClassType() const { return SE_DRM_CLS_KEYWORDS; }
00063
00064 };
00065
00066 }
00067
00068 #endif // _seDRMKeywords_h