BeeeOn Gateway
v2020.3.1-2-g6f737dc
Platform to interconnect the IoT world
Main Page
Related Pages
Data Structures
Files
Data Structures
Data Structure Index
Class Hierarchy
Data Fields
BeeeOn
DAMM
Static Public Member Functions
BeeeOn::DAMM Class Reference
#include <
DAMM.h
>
Static Public Member Functions
static int
compute
(const std::string &s)
Detailed Description
Error detection algorithm
DAMM
.
See Also
https://en.wikipedia.org/wiki/Damm_algorithm
https://en.wikibooks.org/wiki/Algorithm_Implementation/Checksums/Damm_Algorithm
Member Function Documentation
int DAMM::compute
(
const std::string &
s
)
static
Returns
check digit for the given string of digits
The documentation for this class was generated from the following files:
/var/lib/jenkins/workspace/beeeon-gateway-master/base/src/util/
DAMM.h
/var/lib/jenkins/workspace/beeeon-gateway-master/base/src/util/DAMM.cpp
Generated by
1.8.5