#include <gridclientbytearrayshasheableobject.hpp>
Public Member Functions | |
| GridByteArrayHasheableObject (std::vector< int8_t > bytes) | |
| ~GridByteArrayHasheableObject () | |
| virtual int32_t | hashCode () const |
| virtual void | convertToBytes (std::vector< int8_t > &bytes) const |
Hashable object wrapping byte array.
| GridByteArrayHasheableObject::GridByteArrayHasheableObject | ( | std::vector< int8_t > | buf | ) |
Public constructor.
| bytes | Value to hold. |
| GridByteArrayHasheableObject::~GridByteArrayHasheableObject | ( | ) | [inline] |
Destructor.
| void GridByteArrayHasheableObject::convertToBytes | ( | std::vector< int8_t > & | bytes | ) | const [virtual] |
Converts contained object to byte vector.
| bytes | Vector to fill. |
Implements GridClientHasheableObject.
| int32_t GridByteArrayHasheableObject::hashCode | ( | ) | const [virtual] |
Calculates hash code for the contained object.
Public constructor.
| bytes | Value to hold. |
Implements GridClientHasheableObject.
1.7.1