Public Member Functions

GridByteArrayHasheableObject Class Reference

#include <gridclientbytearrayshasheableobject.hpp>

Inheritance diagram for GridByteArrayHasheableObject:
GridClientHasheableObject

List of all members.

Public Member Functions

 GridByteArrayHasheableObject (std::vector< int8_t > bytes)
 ~GridByteArrayHasheableObject ()
virtual int32_t hashCode () const
virtual void convertToBytes (std::vector< int8_t > &bytes) const

Detailed Description

Hashable object wrapping byte array.


Constructor & Destructor Documentation

GridByteArrayHasheableObject::GridByteArrayHasheableObject ( std::vector< int8_t >  buf  ) 

Public constructor.

Parameters:
bytes Value to hold.
GridByteArrayHasheableObject::~GridByteArrayHasheableObject (  )  [inline]

Destructor.


Member Function Documentation

void GridByteArrayHasheableObject::convertToBytes ( std::vector< int8_t > &  bytes  )  const [virtual]

Converts contained object to byte vector.

Parameters:
bytes Vector to fill.

Implements GridClientHasheableObject.

int32_t GridByteArrayHasheableObject::hashCode (  )  const [virtual]

Calculates hash code for the contained object.

Returns:
Hash code.

Public constructor.

Parameters:
bytes Value to hold.

Implements GridClientHasheableObject.


The documentation for this class was generated from the following files:
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Friends