Public Member Functions | Protected Attributes

GridWideStringHasheableObject Class Reference

#include <gridclientstringhasheableobject.hpp>

Inheritance diagram for GridWideStringHasheableObject:
GridClientHasheableObject GridClientHasheableObject

List of all members.

Public Member Functions

 GridWideStringHasheableObject (const std::wstring &s)
virtual int32_t hashCode () const
virtual void convertToBytes (std::vector< int8_t > &bytes) const
virtual bool operator< (const GridWideStringHasheableObject &right) const
 GridWideStringHasheableObject (const std::wstring &s)
virtual int32_t hashCode () const
virtual void convertToBytes (std::vector< int8_t > &bytes) const
virtual bool operator< (const GridWideStringHasheableObject &right) const

Protected Attributes

std::wstring str

Detailed Description

Provide the implementation of hash-code for the string object.

Provides the implementation of hash code for wide strings.


Constructor & Destructor Documentation

GridWideStringHasheableObject::GridWideStringHasheableObject ( const std::wstring &  s  ) 

Public constructor.

Parameters:
s Value to hold.
GridWideStringHasheableObject::GridWideStringHasheableObject ( const std::wstring &  s  ) 

Public constructor.

Parameters:
s Value to hold.

Member Function Documentation

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

Converts contained object to byte vector.

Parameters:
bytes Vector to fill.

Implements GridClientHasheableObject.

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

Converts contained object to byte vector.

Parameters:
bytes Vector to fill.

Implements GridClientHasheableObject.

int32_t GridWideStringHasheableObject::hashCode (  )  const [virtual]

Calculates hash code for the contained object.

Returns:
Hash code.

Implements GridClientHasheableObject.

virtual int32_t GridWideStringHasheableObject::hashCode (  )  const [virtual]

Calculates hash code for the contained object.

Returns:
Hash code.

Implements GridClientHasheableObject.

virtual bool GridWideStringHasheableObject::operator< ( const GridWideStringHasheableObject &  right  )  const [inline, virtual]

Compares with another object of this type.

Returns:
True if the right operand is greater than this object.
virtual bool GridWideStringHasheableObject::operator< ( const GridWideStringHasheableObject &  right  )  const [inline, virtual]

Compares with another object of this type.

Returns:
True if the right operand is greater than this object.

Member Data Documentation

std::wstring GridWideStringHasheableObject::str [protected]

Wrapped value.


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