Struct CRC::Table¶
template <typename CRCType, uint16_t CRCWidth>
CRC lookup table. After construction, theCRC parameters are fixed.More...
#include <CRC.h>
Public Functions¶
| Type | Name |
|---|---|
| const Parameters< CRCType, CRCWidth > & | GetParameters () const Gets the CRC parameters used to construct theCRC table. |
| const CRCType * | GetTable () const Gets the CRC table. |
| Table (const Parameters< CRCType, CRCWidth > & parameters) Constructs a CRC table from a set ofCRC parameters. |
|
| CRCType | operator[] (unsigned char index) const Gets an entry in the CRC table. |
Detailed Description¶
Note:
A CRC table can be used for multiple CRC calculations.
Public Functions Documentation¶
function GetParameters¶
Gets the CRC parameters used to construct theCRC table.
Template parameters:
Returns:
CRC parameters
function GetTable¶
Gets the CRC table.
Template parameters:
Returns:
CRC table
function Table¶
Constructs a CRC table from a set ofCRC parameters.
Parameters:
paramsCRC parameters
Template parameters:
function operator[]¶
Gets an entry in the CRC table.
Parameters:
indexIndex into the CRC table
Template parameters:
Returns:
CRC table entry
The documentation for this class was generated from the following file cubrid/src/base/CRC.h