Quick Links:

bmqa | bmqpi | bmqt

Public Types | Public Member Functions

bmqt::MessageGUIDHashAlgo Class Reference

#include <bmqt_messageguid.h>

List of all members.

Public Types

typedef bsls::Types::Uint64 result_type

Public Member Functions

 MessageGUIDHashAlgo ()
void operator() (const void *data, size_t numBytes)
result_type computeHash ()

Detailed Description

This class provides a hashing algorithm for bmqt::MessageGUID. At the time of writing, this algorithm was found to be approximately 4x faster than the default hashing algorithm that comes with bslh package. Performance-critical applications may want to use this hashing algorithm instead of the default one.

See Component bmqt_messageguid


Member Typedef Documentation

typedef bsls::Types::Uint64 bmqt::MessageGUIDHashAlgo::result_type

Constructor & Destructor Documentation

bmqt::MessageGUIDHashAlgo::MessageGUIDHashAlgo (  ) 

Constructor


Member Function Documentation

void bmqt::MessageGUIDHashAlgo::operator() ( const void *  data,
size_t  numBytes 
)
result_type bmqt::MessageGUIDHashAlgo::computeHash (  ) 

Compute and return the hash for the GUID.


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