Rose::StringUtility::generate_checksum
Compute a checkshum.
Synopsis
Declared in <src/Rose/StringUtility/Convert.h>
[[visibility]]
unsigned long
generate_checksum(std::string s);
Description
This function returns a unique checksum from the mangled name used it provides a simple means to obtain a unique value for any C++ declaration. At a later date was should use the MD5 Checksum implementation (but we can do that later).
The declaration is the same under Oneātime Definition Rule (ODR) if and only if the checksum values for each declaration are the same.
Return Value
Checksum value.
Parameters
Name |
Description |
s |
Input string. |
Created with MrDocs