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 1218 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 1228 of file SkipList.h.

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

Destructor

Exceptions:
None 

Definition at line 1235 of file SkipList.h.


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