BDE 4.14.0 Production release
Loading...
Searching...
No Matches
bdlcc::TimeQueue< DATA >::Key Class Reference

#include <bdlcc_timequeue.h>

Public Member Functions

 Key (const void *key)
 Create a Key object having the specified key value.
 
 Key (int key)
 
 ~Key ()
 Destroy this Key object.
 
bool operator== (const Key &rhs) const
 
bool operator!= (const Key &rhs) const
 

Detailed Description

template<class DATA>
class bdlcc::TimeQueue< DATA >::Key

This type is a wrapper around a void pointer that will be supplied and used by clients to uniquely identify an item in the queue.

See bdlcc_timequeue

Constructor & Destructor Documentation

◆ Key() [1/2]

template<class DATA >
bdlcc::TimeQueue< DATA >::Key::Key ( const void *  key)
inlineexplicit

◆ Key() [2/2]

template<class DATA >
bdlcc::TimeQueue< DATA >::Key::Key ( int  key)
inlineexplicit

Create a Key object having the specified key value cast to a void *.

◆ ~Key()

template<class DATA >
bdlcc::TimeQueue< DATA >::Key::~Key ( )
inline

Member Function Documentation

◆ operator!=()

template<class DATA >
bool bdlcc::TimeQueue< DATA >::Key::operator!= ( const Key rhs) const
inline

Return true if this object does not have the same value as the specified rhs object, and false otherwise.

◆ operator==()

template<class DATA >
bool bdlcc::TimeQueue< DATA >::Key::operator== ( const Key rhs) const
inline

Return true if this object has the same value as the specified rhs object, and false otherwise.


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