Main Page | Class List | Directories | File List | Class Members | File Members

algorithms.h File Reference

Internal algorithms. More...

#include "ktoblzcheck.h"

Go to the source code of this file.

Defines

#define long_long   long

Functions

void multArray (const int *a, const int *b, int dest[10])
void crossFoot (const int *source, int dest[10], int start, int stop)
void crossFoot (int *source)
int add (const int *source, int start, int stop)
int add_10 (const int *source)
std::string array2Number (int a[10])
void number2Array (const std::string &number, int a[10])
long_long number2LongLong (const std::string &number)
int algo02 (int modulus, int weight[10], bool crossfoot, int accountId[10])
int algo03 (int modulus, int weight[10], bool crossfoot, int accountId[10], int startAdd, int stopAdd)
int algo03a (int weight[10], bool crossfoot, int accountId[10], int startAdd, int stopAdd)
int algo05 (int modulus1, int modulus2, int weight[10], int accountId[10], int startAdd, int stopAdd)
AccountNumberCheck::Result algo04 (const std::string &bankId, std::string accountId)
AccountNumberCheck::Result algo04a (const std::string &bankId, std::string accountId)
AccountNumberCheck::Result algo06 (const std::string &accountId)
AccountNumberCheck::Result algo07 (int accountId[10], int transform[6][10])
AccountNumberCheck::Result algo01 (int modulus, int weight[10], bool crossfoot, int checkIndex, int accountId[10])
std::string accnum_getRegKey (const char *value_name)


Detailed Description

Internal algorithms.

This file contains the internal algorithms that are used for checking account numbers.


Define Documentation

#define long_long   long
 


Function Documentation

std::string accnum_getRegKey const char *  value_name  ) 
 

int add const int *  source,
int  start,
int  stop
 

Parameters:
source Must be array of size 10
start DOCUMENTME
stop DOCUMENTME

int add_10 const int *  source  )  [inline]
 

Parameters:
source Must be array of size 10

AccountNumberCheck::Result algo01 int  modulus,
int  weight[10],
bool  crossfoot,
int  checkIndex,
int  accountId[10]
 

int algo02 int  modulus,
int  weight[10],
bool  crossfoot,
int  accountId[10]
 

int algo03 int  modulus,
int  weight[10],
bool  crossfoot,
int  accountId[10],
int  startAdd,
int  stopAdd
 

int algo03a int  weight[10],
bool  crossfoot,
int  accountId[10],
int  startAdd,
int  stopAdd
 

AccountNumberCheck::Result algo04 const std::string &  bankId,
std::string  accountId
 

AccountNumberCheck::Result algo04a const std::string &  bankId,
std::string  accountId
 

int algo05 int  modulus1,
int  modulus2,
int  weight[10],
int  accountId[10],
int  startAdd,
int  stopAdd
 

AccountNumberCheck::Result algo06 const std::string &  accountId  ) 
 

AccountNumberCheck::Result algo07 int  accountId[10],
int  transform[6][10]
 

std::string array2Number int  a[10]  ) 
 

void crossFoot int *  source  ) 
 

Parameters:
source Must be array of size 10

void crossFoot const int *  source,
int  dest[10],
int  start,
int  stop
 

Parameters:
source Must be array of size 10
dest DOCUMENTME
start DOCUMENTME
stop DOCUMENTME

void multArray const int *  a,
const int *  b,
int  dest[10]
 

void number2Array const std::string &  number,
int  a[10]
 

long_long number2LongLong const std::string &  number  ) 
 


Generated on Thu Nov 23 13:33:27 2006 for ktoblzcheck by  doxygen 1.4.1