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

Iban Class Reference

Stores one IBAN (International Bank Account Number). More...

#include <iban.h>

List of all members.

Public Member Functions

 Iban ()
 Iban (const Iban &iban)
 Iban (const std::string &iban, bool normalize=true)
 ~Iban ()
const std::string & transmissionForm () const
const std::string & printableForm ()

Detailed Description

Stores one IBAN (International Bank Account Number).

Stores an IBAN (International Bank Account Number) and produces the electronic format (transmission format) and the printable format (paper format) according to the ECBS document TR 201.

Constructor & Destructor Documentation

Iban  ) 

Constructor for an empty Iban.

Iban const Iban iban  ) 

Copy constructor.

Iban const std::string &  iban,
bool  normalize = true

Constructor from a string.

iban IBAN string
normalize when true (the default), iban will be normalized to transmission format; when false, iban must be in transmission format already.
normalization consists of deleting all white space, converting lowercase letters to uppercase, and deleting a prefix of the form "IBAN".

~Iban  ) 

Default destructor.

Member Function Documentation

const std::string& printableForm  )  [inline]

Returns the printable format for the IBAN

const std::string& transmissionForm  )  const [inline]

Returns the transmission format for the IBAN

The documentation for this class was generated from the following file:
Generated on Thu Nov 23 13:33:27 2006 for ktoblzcheck by  doxygen 1.4.1