29 #ifndef STEAM_ENGINE_BUFFR_LOCAL_KEY_H 30 #define STEAM_ENGINE_BUFFR_LOCAL_KEY_H 36 #include <boost/functional/hash.hpp> 72 privateID_._as_number = opaqueValue;
77 privateID_._as_number = 0;
78 privateID_._as_pointer = impl_related_ptr;
82 operator uint64_t()
const 84 return privateID_._as_number;
87 operator void*()
const 89 return privateID_._as_pointer;
95 return bool(privateID_._as_number);
101 boost::hash<uint64_t> hashFunction;
102 return hashFunction(lkey.privateID_._as_number);
108 return uint64_t(left) == uint64_t(right);
113 return uint64_t(left) != uint64_t(right);
121 privateID_ = o.privateID_;
Steam-Layer implementation namespace root.
an opaque ID to be used by the BufferProvider implementation.
Lumiera error handling (C++ interface).
Hash value types and utilities.
size_t HashVal
a STL compatible hash value