win32/UUID.h

Go to the documentation of this file.
00001 //
00002 //  Copyright (c) 2003-2006 by Autodesk, Inc.
00003 //
00004 //  By using this code, you are agreeing to the terms and conditions of
00005 //  the License Agreement included in the documentation for this code.
00006 //
00007 //  AUTODESK MAKES NO WARRANTIES, EXPRESS OR IMPLIED,
00008 //  AS TO THE CORRECTNESS OF THIS CODE OR ANY DERIVATIVE
00009 //  WORKS WHICH INCORPORATE IT.
00010 //
00011 //  AUTODESK PROVIDES THE CODE ON AN "AS-IS" BASIS
00012 //  AND EXPLICITLY DISCLAIMS ANY LIABILITY, INCLUDING
00013 //  CONSEQUENTIAL AND INCIDENTAL DAMAGES FOR ERRORS,
00014 //  OMISSIONS, AND OTHER PROBLEMS IN THE CODE.
00015 //
00016 //  Use, duplication, or disclosure by the U.S. Government is subject to
00017 //  restrictions set forth in FAR 52.227-19 (Commercial Computer Software
00018 //  Restricted Rights) and DFAR 252.227-7013(c)(1)(ii) (Rights in Technical
00019 //  Data and Computer Software), as applicable.
00020 //
00021 
00022 #ifndef _DWFCORE_UUID_WIN32_H
00023 #define _DWFCORE_UUID_WIN32_H
00024 
00029 
00030 
00031 #include "dwfcore/UUID.h"
00032 
00033 #ifdef  _DWFCORE_WIN32_SYSTEM
00034 
00035 //
00036 // UUID API provided by RPC library
00037 //
00038 #include <rpc.h>
00039 
00040 
00041 
00042 namespace DWFCore
00043 {
00044 
00053 class DWFUUIDImpl_Win32 : virtual public DWFCoreMemory
00054                         , public DWFUUIDImpl
00055 {
00056 
00057 public:
00058 
00064     DWFUUIDImpl_Win32()
00065         throw();
00066 
00073     DWFUUIDImpl_Win32( const DWFUUIDImpl_Win32& rUUID )
00074         throw();
00075 
00081     virtual ~DWFUUIDImpl_Win32()
00082         throw();
00083 
00090     DWFUUIDImpl_Win32& operator=( const DWFUUIDImpl_Win32& rUUID )
00091         throw();
00092 
00096     DWFUUIDImpl* clone() const
00097         throw( DWFException );
00098 
00102     const DWFString& uuid( bool bSquash )
00103         throw( DWFException );
00104 
00108     const DWFString& next( bool bSquash )
00109         throw( DWFException );
00110 
00111 private:
00112 
00113     UUID        _oUUID;
00114     DWFString   _zUUID;
00115 };
00116 
00117 }
00118 
00119 
00120 
00121 #else
00122 #error  This is a Win32 header file and is incompatible with your current system configuration
00123 #endif 
00124 
00125 #endif

Generated on Tue Jan 6 22:39:29 2009 for Autodesk DWF Core Library by  doxygen 1.4.5