00001
00002
00003
00004
00005
00006
00007
00008
00009
00010 #ifndef GRIDHASHEABLEOBJECT_HPP_INCLUDED
00011 #define GRIDHASHEABLEOBJECT_HPP_INCLUDED
00012
00013 #include <cstdint>
00014 #include <vector>
00015
00016 #include <gridgain/gridconf.hpp>
00017
00021 class GRIDGAIN_API GridClientHasheableObject {
00022 public:
00024 virtual ~GridClientHasheableObject() {};
00025
00031 virtual int32_t hashCode() const = 0;
00032
00038 virtual void convertToBytes(std::vector<int8_t>& bytes) const = 0;
00039 };
00040
00041
00042 #endif // GRIDHASHEABLEOBJECT_HPP_INCLUDED