00001
00002
00003
00004
00005
00006
00008
00010
00011
00012
00013 #ifndef _seHelperDRM_h
00014 #define _seHelperDRM_h
00015
00021 #include "seCommon.h"
00022
00023 namespace sedris {
00024
00065 class EXPORT_DLL seHelperDRM
00066 {
00067 public:
00068
00070 seHelperDRM();
00071
00073 long increment( SE_DRM_Class type );
00074
00076 long getCount( SE_DRM_Class type=(SE_DRM_Class)0 );
00077
00079 void reset();
00080
00082 static const char *getName( SE_DRM_Class type );
00083
00085 static const char *getUnderscoreName( SE_DRM_Class type );
00086
00088 static const char *getShortName( SE_DRM_Class type );
00089
00101 static void setSE_String( SE_String &str,
00102 const SE_Character *chars,
00103 SE_Short_Integer_Unsigned len=0,
00104 SE_Locale locale = SE_LOCALE_DEFAULT );
00105
00107 static void releaseSE_String( SE_String &str );
00108
00119 static void setSE_URN( SE_URN &urn,
00120 const SE_Character *chars,
00121 SE_Short_Integer_Positive len=0 );
00122
00124 static void releaseSE_URN( SE_URN &urn );
00125
00126 protected:
00127
00129 unsigned long _drmCounts[SE_NUM_DRM_CLASSES];
00131 unsigned long _totalCount;
00132 };
00133
00136 }
00137
00138 #endif // _seHelperDRM_h