Main Page | Modules | Namespace List | Class Hierarchy | Alphabetical List | Compound List | File List | Namespace Members | Compound Members | File Members

seHelperDRM.h

Go to the documentation of this file.
00001 /*
00002  *  Copyright (c) 2003 Accent Geographic. All rights reserved.
00003  *  See the license file for licensing information.
00004  *  Created 2003/05/30
00005  */
00006 

00008 

00010 
00011 // $Id: seHelperDRM.h,v 1.4 2004/06/04 14:06:58 wmacchi Exp $
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 } // namespace sedris
00137 
00138 #endif // _seHelperDRM_h

SEDRIS Transmittal Access C++ API 4.0.0 beta - 14 Jul 2004
Copyright © 2004 SEDRIS Docs by Doxygen 1.3.2