TChargeCard Class Reference

class TChargeCard

Contains information about a charge card. There are functions to get and set this information.

This class has been deprecated from 9.1 and should no longer be used.

Public Member Functions
TChargeCard()
TChargeCard(const TChargeCardAccount &, const TChargeCardPin &, const TChargeCardRule &, const TChargeCardRule &, const TChargeCardRule &)
IMPORT_C TPtrCIntlRule()
IMPORT_C TPtrCLocalRule()
IMPORT_C TPtrCNatRule()
IMPORT_C TPtrCNumber()
IMPORT_C TPtrCPin()
IMPORT_C voidSetIntlRule(const TDesC &)
IMPORT_C voidSetLocalRule(const TDesC &)
IMPORT_C voidSetNatRule(const TDesC &)
IMPORT_C voidSetNumber(const TDesC &)
IMPORT_C voidSetPin(const TDesC &)
IMPORT_C TBoolValidateChargeCardInfo()
Private Attributes
TChargeCardRule iIntlRule
TChargeCardRule iLocalRule
TChargeCardRule iNatRule
TChargeCardAccount iNumber
TChargeCardPin iPin

Constructor & Destructor Documentation

TChargeCard()

IMPORT_CTChargeCard()

Creates an empty TChargeCard. 9.1

TChargeCard(const TChargeCardAccount &, const TChargeCardPin &, const TChargeCardRule &, const TChargeCardRule &, const TChargeCardRule &)

IMPORT_CTChargeCard(const TChargeCardAccount &aNumber,
const TChargeCardPin &aPin,
const TChargeCardRule &aLocalRule,
const TChargeCardRule &aNatRule,
const TChargeCardRule &aIntlRule
)

Creates a TChargeCard containing the parameters.

9.1

Parameters

const TChargeCardAccount & aNumberThis string represents the charge card account number.
const TChargeCardPin & aPinThis string represents the charge card PIN number.
const TChargeCardRule & aLocalRuleThis is a string representing the rule for dialling a local number. Each phone operator has its own rules for dialling local, national and international numbers.
const TChargeCardRule & aNatRuleAs for aLocalRule but for a national call.
const TChargeCardRule & aIntlRuleAs for aLocalRule but for an international call.

Member Functions Documentation

IntlRule()

IMPORT_C TPtrCIntlRule()const

Returns the string that represents the rule for dialling an international number. Each phone operator has its own rules for dialling local, national and international numbers. 9.1

LocalRule()

IMPORT_C TPtrCLocalRule()const

Returns the string that represents the rule for dialling a local number. Each phone operator has its own rules for dialling local, national and international numbers. 9.1

NatRule()

IMPORT_C TPtrCNatRule()const

Returns the string that represents the rule for dialling a national number. Each phone operator has its own rules for dialling local, national and international numbers. 9.1

Number()

IMPORT_C TPtrCNumber()const

Returns the string that represents the charge card account number. 9.1

Pin()

IMPORT_C TPtrCPin()const

Returns the string that represents the charge card PIN number. 9.1

SetIntlRule(const TDesC &)

IMPORT_C voidSetIntlRule(const TDesC &)

Set the string that represents the rule for dialling an international number. Each phone operator has its own rules for dialling local, national and international numbers. 9.1

Parameters

const TDesC &

SetLocalRule(const TDesC &)

IMPORT_C voidSetLocalRule(const TDesC &)

Set the string that represents the rule for dialling a local number. Each phone operator has its own rules for dialling local, national and international numbers. 9.1

Parameters

const TDesC &

SetNatRule(const TDesC &)

IMPORT_C voidSetNatRule(const TDesC &)

Set the string that represents the rule for dialling a national number. Each phone operator has its own rules for dialling local, national and international numbers. 9.1

Parameters

const TDesC &

SetNumber(const TDesC &)

IMPORT_C voidSetNumber(const TDesC &)

Set the string that represents the charge card account number. 9.1

Parameters

const TDesC &

SetPin(const TDesC &)

IMPORT_C voidSetPin(const TDesC &)

Set the string that represents the charge card PIN number. 9.1

Parameters

const TDesC &

ValidateChargeCardInfo()

IMPORT_C TBoolValidateChargeCardInfo()const

True if the charge card number, PIN number, and the dialling rules (local, national and international) have been set. 9.1

Member Data Documentation

TChargeCardRule iIntlRule

TChargeCardRule iIntlRule[private]

TChargeCardRule iLocalRule

TChargeCardRule iLocalRule[private]

TChargeCardRule iNatRule

TChargeCardRule iNatRule[private]

TChargeCardAccount iNumber

TChargeCardAccount iNumber[private]

TChargeCardPin iPin

TChargeCardPin iPin[private]