Skip to main content
Interface to get hash information from DVS objects. Inherited by:

Members

Public functions

Function IHash

default Return type:

Function ~IHash

default Return type:

Function IHash

default Parameters:
  • IHash &&
Return type:

Function operator=

default Parameters: Return type: IHash &

Function IHash

support copying Parameters:
  • const IHash &
Return type:

Function operator=

default Parameters: Return type: IHash &

Function get_hash_size

Get the size of the hash to use with IHash::get_hash(). Returns: uint32_t the size of the hash from IHash::get_hash() Return type: uint32_t

Function get_hash

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 Parameters:
  • char * hash
Return type: dvs_ret