Quick Links: |
#include <bdlcc_timequeue.h>
Public Member Functions | |
Key (const void *key) | |
Key (int key) | |
~Key () | |
bool | operator== (const Key &rhs) const |
bool | operator!= (const Key &rhs) const |
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.
bdlcc::TimeQueue< DATA >::Key::Key | ( | const void * | key | ) | [inline, explicit] |
< Create a Key
object having the specified key
value.
bdlcc::TimeQueue< DATA >::Key::Key | ( | int | key | ) | [inline, explicit] |
< Create a Key
object having the specified key
value cast to a void *
.
bdlcc::TimeQueue< DATA >::Key::~Key | ( | ) | [inline] |
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.
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.