Clean project structure.
This commit is contained in:
parent
78a4fa99ff
commit
947bf937fd
496 changed files with 206 additions and 137 deletions
|
@ -1,24 +0,0 @@
|
|||
#pragma once
|
||||
|
||||
#include "AbstractChecksumCalculator.h"
|
||||
|
||||
#include <vector>
|
||||
|
||||
class CyclicRedundancyChecker : public AbstractChecksumCalculator
|
||||
{
|
||||
public:
|
||||
void addValue(unsigned char val) override;
|
||||
|
||||
uint32_t getChecksum() const override;
|
||||
|
||||
void reset() override;
|
||||
|
||||
private:
|
||||
void createTable();
|
||||
bool mTableComputed{false};
|
||||
|
||||
uint32_t mLastValue{0xffffffffL};
|
||||
|
||||
static const std::size_t TABLE_SIZE{ 256 };
|
||||
std::vector<unsigned long> mTable;
|
||||
};
|
Loading…
Add table
Add a link
Reference in a new issue