#include <gridclientboolhasheableobject.hpp>
Public Member Functions | |
| GridBoolHasheableObject (bool pVal) | |
| virtual int32_t | hashCode () const |
| virtual void | convertToBytes (std::vector< int8_t > &opBytes) const |
Protected Attributes | |
| int32_t | hashCode_ |
| std::vector< int8_t > | bytes |
Hashable object wrapping boolean value.
| GridBoolHasheableObject::GridBoolHasheableObject | ( | bool | pVal | ) | [inline] |
Public constructor.
| pVal | Value to hold. |
| virtual void GridBoolHasheableObject::convertToBytes | ( | std::vector< int8_t > & | opBytes | ) | const [inline, virtual] |
Converts contained object to byte vector.
| bytes | Vector to fill. |
Implements GridClientHasheableObject.
| virtual int32_t GridBoolHasheableObject::hashCode | ( | ) | const [inline, virtual] |
Return hash code for the contained value.
Implements GridClientHasheableObject.
std::vector<int8_t> GridBoolHasheableObject::bytes [protected] |
Byte representation of the object.
int32_t GridBoolHasheableObject::hashCode_ [protected] |
Stored hash code.
1.7.1