QMultiDate.cpp File Reference

#include "QMultiDate.h"
#include <util.h>
#include <QDebug>

Go to the source code of this file.


QString dateFormat (const QString &dateString)
QDate toDate (const QString &dateString)
static void crc8 (unsigned char dataByte)
static QString crc8String (const QString &in)
 Calulate a CRC8 on a string.
static bool crcCheck (const QString &val)
 Check the CRC of the input string.
QString randomKey ()


static unsigned char crc8Result

Function Documentation

static void crc8 ( unsigned char  dataByte  )  [static]

Definition at line 113 of file QMultiDate.cpp.

static QString crc8String ( const QString &  in  )  [static]

Calulate a CRC8 on a string.

This will generate an 8-bit CRC value against a string and return the result as a zero-prepended string.

Definition at line 168 of file QMultiDate.cpp.

static bool crcCheck ( const QString &  val  )  [static]

Check the CRC of the input string.

This checks the input string and checks the 3-byte CRC code that's tacked on to the end of it.

Definition at line 191 of file QMultiDate.cpp.

QString dateFormat ( const QString &  dateString  ) 

Definition at line 36 of file QMultiDate.cpp.

QString randomKey (  ) 

Definition at line 210 of file QMultiDate.cpp.

QDate toDate ( const QString &  dateString  ) 

Definition at line 53 of file QMultiDate.cpp.

Variable Documentation

unsigned char crc8Result [static]

Definition at line 112 of file QMultiDate.cpp.

~ ~ ~ ~ ~ ~
Source Code without Comments is like a Cranberry Garland
without the berries. Comment your Code!
Commence Database User Support Group Forum
~ ~ ~ ~ ~ ~
Author: Mark Petryk
Lorimark Solutions, LLC