◆ IBAN()
◆ Check()
bool IBAN::Check |
( |
| ) |
const |
Checks a IBAN for validity. This is done with the controlsum, no other checks are being made.
◆ Clear()
◆ format()
void IBAN::format |
( |
bool |
seperator = true | ) |
|
|
protected |
Writes the value of this IBAN to the internal buffer.
- Parameters
-
seperator | If true, the IBAN is divided every four characters by a space (NL00 RBOS 0123 4567 89) |
◆ getControlSum()
const IBANCC & IBAN::getControlSum |
( |
| ) |
const |
returns the 2 characters long controlsum
◆ getCountryCode()
const IBANCC & IBAN::getCountryCode |
( |
| ) |
const |
returns the 2 characters long countrycode
◆ getIBAN()
const char * IBAN::getIBAN |
( |
| ) |
|
Returns the formatted IBAN.
- Returns
- Pointer to a internal buffer. The buffer is only valid until the next call to this object is made. It's recommended to copy the contents as soon as possible.
◆ mbformat()
void IBAN::mbformat |
( |
bool |
separator = true | ) |
|
|
protected |
C string equivalent of format
- See also
- format
◆ operator const char *()
IBAN::operator const char * |
( |
| ) |
|
◆ operator=() [1/2]
IBAN & IBAN::operator= |
( |
const char * |
iban | ) |
|
Sets the value from a string
◆ operator=() [2/2]
IBAN & IBAN::operator= |
( |
const wchar_t * |
pIBAN | ) |
|
Set the value from a wide char string
◆ set() [1/2]
void IBAN::set |
( |
const char * |
iban | ) |
|
Sets the value from a string, no error checking is applied
◆ set() [2/2]
void IBAN::set |
( |
const wchar_t * |
pIBAN | ) |
|
Sets the value from a wide string, no error checking is applied
The documentation for this class was generated from the following files:
- /home/okkel/Projects/Cpp/separatista/lib/separatista/iban/iban.h
- /home/okkel/Projects/Cpp/separatista/lib/separatista/iban/iban.cpp