HDK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
UT_IndexedHashMapItemKeyContainer< KEY > Class Template Reference

#include <UT_IndexedHashMapT.h>

Public Member Functions

 UT_IndexedHashMapItemKeyContainer (const KEY &k)
 
 UT_IndexedHashMapItemKeyContainer (const UT_IndexedHashMapItemKeyContainer &i)
 
 ~UT_IndexedHashMapItemKeyContainer ()
 
UT_IndexedHashMapItemKeyContaineroperator= (const UT_IndexedHashMapItemKeyContainer &src)
 
const KEY & getKey () const
 
bool operator< (const UT_IndexedHashMapItemKeyContainer &i) const
 

Detailed Description

template<typename KEY>
class UT_IndexedHashMapItemKeyContainer< KEY >

Convenience class for items which just reference their keys. That is, if all the information is available on the key, the item class can be a simple key container.

The class has a method that allows for deferred creation given the key reference.

Note
You will likely want to use ut_IndexedHashMapDeferItemAlloc<KEY,ITEM> with this class (since the point of this item class is to allow deferred allocation).

Definition at line 30 of file UT_IndexedHashMapT.h.

Constructor & Destructor Documentation

template<typename KEY>
UT_IndexedHashMapItemKeyContainer< KEY >::UT_IndexedHashMapItemKeyContainer ( const KEY &  k)
inline

Definition at line 33 of file UT_IndexedHashMapT.h.

Definition at line 37 of file UT_IndexedHashMapT.h.

template<typename KEY>
UT_IndexedHashMapItemKeyContainer< KEY >::~UT_IndexedHashMapItemKeyContainer ( )
inline

Definition at line 41 of file UT_IndexedHashMapT.h.

Member Function Documentation

template<typename KEY>
const KEY& UT_IndexedHashMapItemKeyContainer< KEY >::getKey ( ) const
inline

Definition at line 50 of file UT_IndexedHashMapT.h.

template<typename KEY>
bool UT_IndexedHashMapItemKeyContainer< KEY >::operator< ( const UT_IndexedHashMapItemKeyContainer< KEY > &  i) const
inline

Definition at line 51 of file UT_IndexedHashMapT.h.

template<typename KEY>
UT_IndexedHashMapItemKeyContainer& UT_IndexedHashMapItemKeyContainer< KEY >::operator= ( const UT_IndexedHashMapItemKeyContainer< KEY > &  src)
inline

Definition at line 44 of file UT_IndexedHashMapT.h.


The documentation for this class was generated from the following file: