CRCParam Class Reference
[Binary Data Manipulation Tools]

#include <BinUtils.hpp>

List of all members.


Detailed Description

Encapsulate parameters for CRC computation.

Definition at line 241 of file BinUtils.hpp.

Public Member Functions

 CRCParam (int o, unsigned long p, unsigned long i, unsigned long f, bool d, bool ri, bool ro)
 Constructor.

Public Attributes

int order
 CRC polynomial order (without leading '1' bit).
unsigned long polynom
 CRC polynomial without the leading '1' bit.
unsigned long initial
 initial CRC initial value.
unsigned long final
 final final XOR value.
bool direct
 kind of algorithm, true = no augmented zero bits.
bool refin
 reflect the data bytes before processing.
bool refout
 reflect the CRC result before final XOR.


Constructor & Destructor Documentation

CRCParam int  o,
unsigned long  p,
unsigned long  i,
unsigned long  f,
bool  d,
bool  ri,
bool  ro
[inline]
 

Constructor.

Definition at line 245 of file BinUtils.hpp.


Member Data Documentation

bool direct
 

kind of algorithm, true = no augmented zero bits.

Definition at line 260 of file BinUtils.hpp.

unsigned long final
 

final final XOR value.

Definition at line 259 of file BinUtils.hpp.

unsigned long initial
 

initial CRC initial value.

Definition at line 258 of file BinUtils.hpp.

Referenced by BinexData::getCRC().

int order
 

CRC polynomial order (without leading '1' bit).

Definition at line 256 of file BinUtils.hpp.

unsigned long polynom
 

CRC polynomial without the leading '1' bit.

Definition at line 257 of file BinUtils.hpp.

bool refin
 

reflect the data bytes before processing.

Definition at line 261 of file BinUtils.hpp.

bool refout
 

reflect the CRC result before final XOR.

Definition at line 262 of file BinUtils.hpp.


The documentation for this class was generated from the following file:
Generated on Thu Feb 9 03:31:43 2012 for GPS ToolKit Software Library by  doxygen 1.3.9.1