#include <dvs_var_hash_interface.h>
Inheritance diagram for DVS::IVarHash:

Public Member Functions
Detailed Description
Interface to get variable hash information from DVS objects. Definition at line 39 of file dvs_var_hash_interface.h.Member Function Documentation
get_var_hash() [1/2]
pure virtual
Get the hash of the variable 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 IVarHash::get_var_hash_size() to be compatible with future hash changes
Error Codes:
- DVS_NONE: No error
- DVS_INVALID_HASH: Hash of data is invalid. There is a problem with the data
- DVS_PARAM_INVALID_VAR: Bad (or null) variable object passed into method
- DVS_PARAM_INVALID_VAR_ID: Mesh chunk does not have data for var passed in.
- DVS_PARAM_NULL: All parameters are null. Method will do nothing.
Returns
dvs_ret DVS_NONE on no error, otherwise see method description
get_var_hash() [2/2]
pure virtual
Get the hash of the variable 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 IVarHash::get_var_hash_size() to be compatible with future hash changes
Error Codes:
- DVS_NONE: No error
- DVS_INVALID_HASH: Hash of data is invalid. There is a problem with the data
- DVS_PARAM_OUT_OF_BOUNDS: Index out of bounds of [0, get_num_variables() on object this is called on]
- DVS_PARAM_NULL: All parameters are null. Method will do nothing.
Returns
dvs_ret DVS_NONE on no error, otherwise see method description
get_var_hash_size() [1/2]
pure virtual
Get the size of the hash to use with IVarHash::get_var_hash()
Parameters
Returns
uint32_t the size of the hash from IVarHash::get_var_hash(), 0 if invalid var
get_var_hash_size() [2/2]
pure virtual
Get the size of the hash to use with IVarHash::get_var_hash()
Parameters
Returns
uint32_t the size of the hash from IVarHash::get_var_hash(), 0 if invalid index
The documentation for this class was generated from the following file:
- D:/ANSYSDev/Product-src/ensight/user_defined_src/readers/dvs/include/dvs_var_hash_interface.h