Skip to main content
Interface to get hash information from DVS objects. #include <dvs_hash_interface.h> Inheritance diagram for DVS::IHash:

Public Member Functions

Detailed Description

Interface to get hash information from DVS objects. Definition at line 37 of file dvs_hash_interface.h.

Member Function Documentation

get_hash()

pure virtual Get the hash of the data. The hash of data for DVS objects is a checksum + the hex size of the internal arrays. The size of the has should be retrieved via IHash::get_hash_size() to be compatible with future hash changes Error Codes:
  • DVS_NONE: No error
  • DVS_NO_DATA: Object has no data and hash is invalid
  • DVS_INVALID_HASH: Hash of data is invalid. There is a problem with the data
Parameters Returns dvs_ret DVS_NONE on no error, otherwise see method description

get_hash_size()

pure virtual Get the size of the hash to use with IHash::get_hash() Returns uint32_t the size of the hash from IHash::get_hash() The documentation for this class was generated from the following file: