CUBRID Engine
latest
|
#include <CRC.h>
Public Member Functions | |
Table< CRCType, CRCWidth > | MakeTable () const |
Returns a CRC lookup table construct using these CRC parameters. More... | |
Public Attributes | |
CRCType | polynomial |
CRC polynomial. More... | |
CRCType | initialValue |
Initial CRC value. More... | |
CRCType | finalXOR |
Value to XOR with the final CRC. More... | |
bool | reflectInput |
true to reflect all input bytes More... | |
bool | reflectOutput |
true to reflect the output CRC (reflection occurs before the final XOR) More... | |
CRC parameters.
|
inline |
Returns a CRC lookup table construct using these CRC parameters.
CRCType | Integer type for storing the CRC result |
CRCWidth | Number of bits in the CRC |
CRCType CRC::Parameters< CRCType, CRCWidth >::finalXOR |
Value to XOR with the final CRC.
Definition at line 159 of file CRC.h.
Referenced by CRC::Calculate().
CRCType CRC::Parameters< CRCType, CRCWidth >::initialValue |
CRCType CRC::Parameters< CRCType, CRCWidth >::polynomial |
bool CRC::Parameters< CRCType, CRCWidth >::reflectInput |
true to reflect all input bytes
Definition at line 160 of file CRC.h.
Referenced by CRC::Calculate(), and CRC::CalculateRemainder().
bool CRC::Parameters< CRCType, CRCWidth >::reflectOutput |
true to reflect the output CRC (reflection occurs before the final XOR)
Definition at line 161 of file CRC.h.
Referenced by CRC::Calculate().