#include <gridclientstringhasheableobject.hpp>
Public Member Functions | |
| GridStringHasheableObject (const std::string &s) | |
| virtual int32_t | hashCode () const |
| virtual void | convertToBytes (std::vector< int8_t > &bytes) const |
| virtual bool | operator< (const GridStringHasheableObject &right) const |
Protected Attributes | |
| std::string | str |
Provide the implementation of hash-code for the string object.
| GridStringHasheableObject::GridStringHasheableObject | ( | const std::string & | s | ) |
Public constructor.
| s | Value to hold. |
| void GridStringHasheableObject::convertToBytes | ( | std::vector< int8_t > & | bytes | ) | const [virtual] |
Converts contained object to byte vector.
| bytes | Vector to fill. |
Implements GridClientHasheableObject.
| int32_t GridStringHasheableObject::hashCode | ( | ) | const [virtual] |
Calculates hash code for the contained object.
Implements GridClientHasheableObject.
| virtual bool GridStringHasheableObject::operator< | ( | const GridStringHasheableObject & | right | ) | const [inline, virtual] |
Compares with another object of this type.
std::string GridStringHasheableObject::str [protected] |
Wrapped value.
1.7.1