Main Page | Modules | Namespace List | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Class Members | File Members | Related Pages

CTGeldKarte::CardData Class Reference

#include <ctgeldkarte.h>

List of all members.

Public Member Functions

 CardData ()
 CardData (const string &s)
 ~CardData ()
int industrialKey () const
unsigned int shortInstituteCode () const
const string & cardNumber () const
int bestuntil_year () const
int bestuntil_month () const
int active_year () const
int active_month () const
int active_day () const
int countryCode () const
const string & currency () const
int value () const


Detailed Description

This class describes a Geldkarte.
Author:
Martin Preuss<martin@libchipcard.de>


Constructor & Destructor Documentation

CTGeldKarte::CardData::CardData  ) 
 

CTGeldKarte::CardData::CardData const string &  s  ) 
 

CTGeldKarte::CardData::~CardData  ) 
 


Member Function Documentation

int CTGeldKarte::CardData::active_day  )  const [inline]
 

Day of the card's activation.

int CTGeldKarte::CardData::active_month  )  const [inline]
 

Month of the card's activation.

int CTGeldKarte::CardData::active_year  )  const [inline]
 

Year of the card's activation.

int CTGeldKarte::CardData::bestuntil_month  )  const [inline]
 

Card is valid until THIS month.

int CTGeldKarte::CardData::bestuntil_year  )  const [inline]
 

Card is valid until THIS year.

const string& CTGeldKarte::CardData::cardNumber  )  const [inline]
 

ASCII-String cardnumber.

int CTGeldKarte::CardData::countryCode  )  const [inline]
 

Country code (280 stands for Germany).

const string& CTGeldKarte::CardData::currency  )  const [inline]
 

Currency string ("DEM", "EUR").

int CTGeldKarte::CardData::industrialKey  )  const [inline]
 

"Branchenhauptschluessel", dont know what that means but it has always value 67.

unsigned int CTGeldKarte::CardData::shortInstituteCode  )  const [inline]
 

Short institute code of card delivering institute.

int CTGeldKarte::CardData::value  )  const [inline]
 

Returns the value of the currency. Possible values are:

  • 0x01: 10^-2 (cents or "Pfennige")
  • 0x02: 10^-1
  • 0x04: 10^0
  • 0x08: 10^1
  • 0x10: 10^2
  • 0x20: 10^3


The documentation for this class was generated from the following file:
Generated on Mon Jun 6 18:17:40 2005 for libchipcard by  doxygen 1.4.2