#include <string>
#include <map>
Go to the source code of this file.
This file contains the classes and C wrappers for checking German BLZ (bank codes) and account numbers.
|
|
The major version number of this library. Introduced in ktoblzcheck-1.10. |
|
|
The minor version number of this library. Introduced in ktoblzcheck-1.10. |
|
|
|
|
|
|
|
|
Returns the number of bank-records currently loaded |
|
||||||||||||||||
|
Check if The returned value is simply an integer. The meanings of each integer values are defined in the AccountNumberCheck::Result enum, which is the following:
|
|
|
Generates an index over the bankIds. |
|
|
Destructor. All entries of the bank database are deleted as well.
|
|
||||||||||||
|
Find the info-record for a bank specified by
|
|
|
Returns the value of ktoblzcheck's configuration variable VERSION, which can be "1.6" or something similar. This function was introduced in ktoblzcheck-1.7. |
|
|
Default Constructor. This constructor also initializes the bank-database. The bank data is obtained from the location specified at compiler time. Default is $prefix/share/ktoblzcheck/bankdata.txt (set in configure.in) where default for $prefix is /usr/local. On Windows, this constructor also looks up the location of the bank data in the registry in the key HKEY_LOCAL_MACHINE/Software/Ktoblzcheck/Paths, key "datadir". |
|
|
Constructor that initialize the bank-database from a data file at If the file could not be found, then the resulting AccountNumberCheck object simply has an empty bank database and a message is printed to stderr.
|
|
|
Returns the id of the bank (german BLZ) |
|
|
Returns the name of the bank as listed in the file of the Deutsche Bundesbank |
|
|
Copy constructor. The returned object will be owned by the caller and has to be deleted by the caller when no longer used. FIXME: Needs to be tested whether it works correctly -- internally it uses the automatically synthetized copy constructor of the C++ compiler. |
|
|
Destructor |
|
|
Returns the city where the bank is located |
|
|
Returns the character encoding that is used when strings are returned. So far this has been "ISO-8859-15" (up to and including version ktoblzcheck-1.11) but at some point in the future it might change into "UTF-8". To obtain the encoding string in your application in a form that is backward-compatible to all ktoblzcheck-versions, do the following:
const char *ktoblzcheck_encoding =
#ifdef KTOBLZCHECK_VERSION_MAJOR
AccountNumberCheck_stringEncoding()
#else
"ISO-8859-15"
#endif
;
This function was introduced in ktoblzcheck-1.7. |
1.4.1