Main Page | Modules | Namespace List | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Namespace Members | Class Members | File Members | Related Pages | Examples

DWFCore::DWFWCharKeySkipList< V > Class Template Reference

#include "dwfcore/SkipList.h"

Inheritance diagram for DWFCore::DWFWCharKeySkipList< V >:

Inheritance graph
[legend]
Collaboration diagram for DWFCore::DWFWCharKeySkipList< V >:

Collaboration graph
[legend]
List of all members.

Detailed Description

template<class V>
class DWFCore::DWFWCharKeySkipList< V >

Skip list collection template that uses const wchar_t* string keys.
Since:
1.0.1.

Note:
Key strings are not copied into the list and therefore must not be destroyed while the key is in use by the list. However, if the value is an object that itself scopes the lifetime of the key it may be used:
                    //
                    // this is ok
                    //
                {
                    DWFWCharKeySkipList<DWFString> oStringList;
                    DWFString zString( L"some string" );
   
                    oStringList.insert( (const wchar_t*)zString, zString );
                }
   
                    //
                    // this isn't
                    //
                {
                    DWFWCharKeySkipList<DWFString> oStringList;
                    DWFString zString( L"some string" );
                    wchar_t zBadKey[16] = L"bad key";
   
                    oStringList.insert( zBadKey, zString );
                }
Parameters:
V The value type.

Definition at line 979 of file SkipList.h.

Public Member Functions

 DWFWCharKeySkipList () throw ()
virtual ~DWFWCharKeySkipList () throw ()


Constructor & Destructor Documentation

template<class V>
DWFCore::DWFWCharKeySkipList< V >::DWFWCharKeySkipList  )  throw () [inline]
 

Constructor

Exceptions:
None 

Definition at line 988 of file SkipList.h.

template<class V>
virtual DWFCore::DWFWCharKeySkipList< V >::~DWFWCharKeySkipList  )  throw () [inline, virtual]
 

Destructor

Exceptions:
None 

Definition at line 995 of file SkipList.h.


The documentation for this class was generated from the following file:
Generated on Tue May 17 12:05:21 2005 for Autodesk DWF Core Library by  doxygen 1.4.1