ktoblzcheck  1.52.0
Public Member Functions | List of all members
Iban Class Reference

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

#include <iban.h>

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() [1/3]

Iban ( )

Constructor for an empty Iban.

◆ Iban() [2/3]

Iban ( const Iban iban)

Copy constructor.

◆ Iban() [3/3]

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

Constructor from a string.

Parameters
ibanIBAN string
normalizewhen 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()

~Iban ( )

Default destructor.

Member Function Documentation

◆ printableForm()

const std::string& printableForm ( )
inline

Returns the printable format for the IBAN

◆ transmissionForm()

const std::string& transmissionForm ( ) const
inline

Returns the transmission format for the IBAN

Referenced by IbanCheck::check().


The documentation for this class was generated from the following file: