DWFCore::DWFUUIDImpl Interface Reference

#include "dwfcore/UUID.h"

Inheritance diagram for DWFCore::DWFUUIDImpl:

Inheritance graph
[legend]
List of all members.

Detailed Description

This interface is used by DWFUUID to support different uuid generation algorithms.

Since:
1.0.1

Definition at line 58 of file UUID.h.

Public Member Functions

virtual ~DWFUUIDImpl () throw ()
virtual DWFUUIDImplclone () const =0 throw ( DWFException )
virtual const DWFStringuuid (bool bSquash)=0 throw ( DWFException )
virtual const DWFStringnext (bool bSquash)=0 throw ( DWFException )

Protected Member Functions

 DWFUUIDImpl () throw ()


Constructor & Destructor Documentation

virtual DWFCore::DWFUUIDImpl::~DWFUUIDImpl  )  throw () [inline, virtual]
 

Destructor

Exceptions:
None 

Definition at line 68 of file UUID.h.

DWFCore::DWFUUIDImpl::DWFUUIDImpl  )  throw () [inline, protected]
 

Constructor

Exceptions:
None 

Definition at line 126 of file UUID.h.


Member Function Documentation

virtual DWFUUIDImpl* DWFCore::DWFUUIDImpl::clone  )  const throw ( DWFException ) [pure virtual]
 

Create a copy of the generator object.

Returns:
A pointer to a new object. This pointer must be deleted with the DWFCORE_FREE_OBJECT macro.
Exceptions:
DWFException 

Implemented in DWFCore::DWFUUIDImpl_ANSI, and DWFCore::DWFUUIDImpl_Win32.

virtual const DWFString& DWFCore::DWFUUIDImpl::next bool  bSquash  )  throw ( DWFException ) [pure virtual]
 

Modifies the uuid by incrementing the timestamp portion of the current value. This method allows for the creation of sequential uuids that are statistically only slightly less unique that the original.

Note:
The process will only increment the 32-bit timestamp portion of the 128-bit uuid. As a rule, once this value reaches the 0xffffffee limit, a brand new uuid value will be generated instead.
Parameters:
bSquash if true, the 128-bit uuid will be Base64 encoded into a short form string representation, otherwise the standard form string representation will be returned. The encoding used for the short form string will be non RFC 1521 compliant as detailed in DWFString::EncodeBase64().
Returns:
A string representation of the uuid.
Exceptions:
DWFException 

Implemented in DWFCore::DWFUUIDImpl_ANSI, and DWFCore::DWFUUIDImpl_Win32.

virtual const DWFString& DWFCore::DWFUUIDImpl::uuid bool  bSquash  )  throw ( DWFException ) [pure virtual]
 

Returns a string representation of the current uuid.

Parameters:
bSquash if true, the 128-bit uuid will be Base64 encoded into a short form string representation, otherwise the standard form string representation will be returned. The encoding used for the short form string will be non RFC 1521 compliant as detailed in DWFString::EncodeBase64().
Returns:
A string representation of the uuid.
Exceptions:
DWFException 

Implemented in DWFCore::DWFUUIDImpl_ANSI, and DWFCore::DWFUUIDImpl_Win32.


The documentation for this interface was generated from the following file:
Generated on Tue Jan 6 22:39:43 2009 for Autodesk DWF Core Library by  doxygen 1.4.5