BDE 4.39.x Production Release
Loading...
Searching...
No Matches
bdlcc::TimeQueue< DATA >::Key Class Reference

#include <bdlcc_timequeue.h>

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

Public Member Functions

 Key (const void *key)
 
 Key (int key)
 
 ~Key ()
 
bool operator== (const Key &rhs) const
 
bool operator!= (const Key &rhs) const
 

Constructor & Destructor Documentation

◆ Key() [1/2]

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

Create a Key object having the specified key value.

◆ 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

Destroy this Key object.

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: