Quick Links:

bal | bbl | bdl | bsl

Static Public Member Functions

bdlc::HashTableDefaultTraits Struct Reference

#include <bdlc_hashtable.h>

List of all members.

Static Public Member Functions

template<class BUCKET >
static void load (BUCKET *dstBucket, const BUCKET &srcBucket)
template<class KEY >
static bool areEqual (const KEY &key1, const KEY &key2)
static bool areEqual (const ConstCharPtr &key1, const ConstCharPtr &key2)
template<class BUCKET >
static bool isNull (const BUCKET &bucket)
static bool isNull (const bsl::string &bucket)
static bool isNull (const ConstCharPtr &bucket)
template<class KEY , class VALUE >
static bool isNull (const bsl::pair< KEY, VALUE > &bucket)
template<class BUCKET >
static void setToNull (BUCKET *bucket)
static void setToNull (bsl::string *bucket)
static void setToNull (ConstCharPtr *bucket)
template<class KEY , class VALUE >
static void setToNull (bsl::pair< KEY, VALUE > *bucket)
template<class BUCKET >
static bool isRemoved (const BUCKET &bucket)
static bool isRemoved (const bsl::string &bucket)
static bool isRemoved (const ConstCharPtr &bucket)
template<class KEY , class VALUE >
static bool isRemoved (const bsl::pair< KEY, VALUE > &bucket)
template<class BUCKET >
static void setToRemoved (BUCKET *bucket)
static void setToRemoved (bsl::string *bucket)
static void setToRemoved (ConstCharPtr *bucket)
template<class KEY , class VALUE >
static void setToRemoved (bsl::pair< KEY, VALUE > *bucket)

Detailed Description

Default traits provided by this component. See component-level documentation for more details. Note that this class is not intended to be used by clients, but the name of this struct must be public so that clients can explicitly specify this struct when default traits are needed.

See Component bdlc_hashtable


Member Function Documentation

template<class BUCKET >
static void bdlc::HashTableDefaultTraits::load ( BUCKET *  dstBucket,
const BUCKET &  srcBucket 
) [static]

Load the specified srcBucket into the specified dstBucket.

template<class KEY >
static bool bdlc::HashTableDefaultTraits::areEqual ( const KEY &  key1,
const KEY &  key2 
) [static]
static bool bdlc::HashTableDefaultTraits::areEqual ( const ConstCharPtr &  key1,
const ConstCharPtr &  key2 
) [static]

Return true if the specified key1 and the specified key2 are equal, and false otherwise.

template<class BUCKET >
static bool bdlc::HashTableDefaultTraits::isNull ( const BUCKET &  bucket  )  [static]
static bool bdlc::HashTableDefaultTraits::isNull ( const bsl::string bucket  )  [static]
static bool bdlc::HashTableDefaultTraits::isNull ( const ConstCharPtr &  bucket  )  [static]
template<class KEY , class VALUE >
static bool bdlc::HashTableDefaultTraits::isNull ( const bsl::pair< KEY, VALUE > &  bucket  )  [static]

Return true if the specified bucket has a null value, and false otherwise.

template<class BUCKET >
static void bdlc::HashTableDefaultTraits::setToNull ( BUCKET *  bucket  )  [static]
static void bdlc::HashTableDefaultTraits::setToNull ( bsl::string bucket  )  [static]
static void bdlc::HashTableDefaultTraits::setToNull ( ConstCharPtr *  bucket  )  [static]
template<class KEY , class VALUE >
static void bdlc::HashTableDefaultTraits::setToNull ( bsl::pair< KEY, VALUE > *  bucket  )  [static]

Load a null value into the specified bucket.

template<class BUCKET >
static bool bdlc::HashTableDefaultTraits::isRemoved ( const BUCKET &  bucket  )  [static]
static bool bdlc::HashTableDefaultTraits::isRemoved ( const bsl::string bucket  )  [static]
static bool bdlc::HashTableDefaultTraits::isRemoved ( const ConstCharPtr &  bucket  )  [static]
template<class KEY , class VALUE >
static bool bdlc::HashTableDefaultTraits::isRemoved ( const bsl::pair< KEY, VALUE > &  bucket  )  [static]

Return true if the specified bucket has a removed value, and false otherwise.

template<class BUCKET >
static void bdlc::HashTableDefaultTraits::setToRemoved ( BUCKET *  bucket  )  [static]
static void bdlc::HashTableDefaultTraits::setToRemoved ( bsl::string bucket  )  [static]
static void bdlc::HashTableDefaultTraits::setToRemoved ( ConstCharPtr *  bucket  )  [static]
template<class KEY , class VALUE >
static void bdlc::HashTableDefaultTraits::setToRemoved ( bsl::pair< KEY, VALUE > *  bucket  )  [static]

Load a removed value into the specified bucket.


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