AppCore
Loading...
Searching...
No Matches
Classes | Public Member Functions | List of all members
EM::CardFacade::ECommonFacadeMifareIDOL Class Reference

#include <ECommonFacadeMifareIDOL.h>

Inheritance diagram for EM::CardFacade::ECommonFacadeMifareIDOL:
Inheritance graph
[legend]
Collaboration diagram for EM::CardFacade::ECommonFacadeMifareIDOL:
Collaboration graph
[legend]

Classes

class  DataClass
 

Public Member Functions

 ECommonFacadeMifareIDOL (ECardDataStorage *cardDataStorage)
 
 ~ECommonFacadeMifareIDOL ()
 
bool GetLogicalCardNumber (unsigned long &logicalCardNumber, signed char index=-1)
 
bool GetLogicalCardNumber (std::string &logicalCardNumber, signed char index=-1)
 
bool GetFareProviderNumber (unsigned short &fareProviderNumber, signed char fareProviderIndex=-1)
 
bool SetFareProviderNumber (unsigned short fareProviderNumber, signed char index=-1)
 
bool GetCardPublisherNumber (unsigned short &cardPublisherNumber)
 
bool SetCardPublisherNumber (unsigned short cardPublisherNumber)
 
bool GetUID (std::string &uid)
 
bool GetRawUID (unsigned char *&uid)
 
bool GetCardNumber (unsigned long &cardNumber)
 
bool SetCardNumber (unsigned long cardNumber)
 
bool GetCardValidityEnd (unsigned long &cardValidityEnd)
 
bool SetCardValidityEnd (unsigned long cardValidityEnd)
 
bool GetCardAdditionalDiscountValidity (unsigned long &additionalDiscountValidity, signed char index=-1)
 
bool SetCardAdditionalDiscountValidity (unsigned long additionalDiscountValidity, signed char index=-1)
 
bool GetCustomerProfilesCount (unsigned char &customerProfilesCount)
 
bool GetCustomerProfileValidityEnd (unsigned long &customerProfileValidityEnd, unsigned char customerProfileIndex=0, signed char index=-1)
 
bool SetCustomerProfileValidityEnd (unsigned long customerProfileValidityEnd, unsigned char customerProfileIndex=0, signed char index=-1)
 
bool GetCustomerProfileValidityStart (unsigned long &customerProfileValidityStart, unsigned char customerProfileIndex=0, signed char index=-1)
 
bool SetCustomerProfileValidityStart (unsigned long customerProfileValidityStart, unsigned char customerProfileIndex=0, signed char index=-1)
 
bool GetCardTypeAndSubType (unsigned short &cardType, unsigned short &cardSubType, ECardFacadeDefines::CardTypeStandard &cardStandard, unsigned char customerProfileIndex, signed char index=-1)
 
bool SetCardTypeAndSubType (unsigned short cardType, unsigned short cardSubType, unsigned char customerProfileIndex, signed char index=-1)
 
bool GetSaleDate (unsigned long &saleDate, signed char index=-1)
 
bool SetSaleDate (unsigned long saleDate, signed char index=-1)
 
bool IsCardBlocked (bool &cardBlocked, signed char index=-1)
 
bool SetCardBlocked (bool blocked, signed char index=-1)
 
bool IsCardSold (bool &cardSold, signed char index=-1)
 
bool SetCardSold (bool sold, signed char index=-1)
 
bool IsServiceCard (bool &serviceCard)
 
bool SetServiceCard (bool serviceCard)
 
bool GetCardRegionCode (unsigned long &regionCode)
 
bool SetCardRegionCode (unsigned long regionCode)
 
bool GetCardCityCode (unsigned long &cityCode)
 
bool SetCardCityCode (unsigned long cityCode)
 
bool GetNetworkCode (unsigned short &networkCode)
 
bool SetNetworkCode (unsigned short networkCode)
 
bool GetCountryCode (unsigned short &countryCodeInBCD)
 
bool SetCountryCode (unsigned short countryCodeInBCD)
 
bool GetAppExpireDate (unsigned long &appExpireDate)
 
bool SetAppExpireDate (unsigned long appExpireDate)
 
bool GetAppIssuerType (unsigned short &appIssuerType)
 
bool SetAppIssuerType (unsigned short appIssuerType)
 
bool GetBornNumber (unsigned long &bornNumber)
 
bool SetBornNumber (unsigned long bornNumber)
 
bool GetCardOwnerName (char *ownerName, unsigned short &nameLength, ECardFacadeDefines::TextEncoding &encoding)
 
bool SetCardOwnerName (char *ownerName, unsigned short nameLength)
 
bool GetCardOwnerSurname (char *ownerSurname, unsigned short &surnameLength, ECardFacadeDefines::TextEncoding &encoding)
 
bool SetCardOwnerSurname (char *ownerSurname, unsigned short surnameLength)
 
bool SetPublisherProviderID (unsigned long publisherProviderId)
 
bool GetPublisherProviderID (unsigned long &publisherProviderId)
 
bool IsDiscountCouponValid (bool &isDiscountCouponValid, signed char couponIndex)
 
bool GetNumberOfDiscountCoupons (unsigned long &numberOfCoupons)
 
bool GetDiscountCouponValidityEnd (unsigned long &couponValidityEnd, signed char couponIndex)
 
bool SetDiscountCouponValidityEnd (unsigned long couponValidityEnd, signed char couponIndex)
 
bool GetDiscountCouponValidityStart (unsigned long &couponValidityStart, signed char couponIndex)
 
bool GetDiscountCouponRegionCode (unsigned long &couponRegionCode, signed char couponIndex)
 
bool GetDiscountCouponType (unsigned long &couponType, signed char couponIndex)
 
bool GetCardPublisherVersion (unsigned char &publisherVersion)
 
bool SetCardPublisherVersion (unsigned char publisherVersion)
 
bool GetDailyCappingDate (unsigned long &dailyCappingDate)
 
bool SetDailyCappingDate (unsigned long dailyCappingDate)
 
bool GetDailyCappingSum (unsigned short &dailyCappingSum)
 
bool SetDailyCappingSum (unsigned short dailyCappingSum)
 
bool GetWeeklyCappingDate (unsigned long &weeklyCappingDate)
 
bool SetWeeklyCappingDate (unsigned long weeklyCappingDate)
 
bool GetWeeklyCappingSum (unsigned short &weeklyCappingSum)
 
bool SetWeeklyCappingSum (unsigned short weeklyCappingSum)
 
bool GetCappingProvider (unsigned short &cappingProvider)
 
bool SetCappingProvider (unsigned short cappingProvider)
 
bool GetCappingProviderType (ECardFacadeDefines::CappingProviderType &cappingProviderType)
 
bool SetCappingProviderType (ECardFacadeDefines::CappingProviderType cappingProviderType)
 
bool GetEventCount (unsigned long &eventCount)
 
bool GetCommonDataCount (unsigned char &commonDataCount)
 
bool IsTransportSectionValid (bool &tranportSectionValid, signed char index=-1)
 
bool PrepareWriteRequest (EM::PT::EDataCollection *writeRequest)
 
bool AddDataTypeToReadRequest (PT::EAplRequest *readRequest, unsigned short dataTypesOperation)
 
virtual bool IsCommonDataFeatureEnabled (ECardFacadeDefines::CommonDataFeatures feature, bool &enabled)
 
unsigned short GetRequiredDataReadOperation (unsigned short dataTypesOperation) const
 
virtual bool IsDataValid (bool &validData, signed char index=-1)
 
bool IsModifiedData ()
 
void Clear ()
 
- Public Member Functions inherited from EM::CardFacade::ECommonFacade
 ECommonFacade (ECardDataStorage *cardDataStorage)
 
virtual ~ECommonFacade ()
 
virtual bool AddDataToWriteRequest (EM::PT::EDataCollection *writeRequest)
 
virtual bool AddDataTypeToReadRequest (EM::PT::EAplRequest *readRequest, unsigned short dataTypesOperation)=0
 
virtual void Init ()
 
bool IsCardFeatureEnabled (ECardFacadeDefines::CommonCardFeatures feature, bool &enabled)
 

Additional Inherited Members

- Protected Member Functions inherited from EM::CardFacade::ECommonFacade
void SetCardFeature (uint64_t features)
 

Constructor & Destructor Documentation

◆ ECommonFacadeMifareIDOL()

ECommonFacadeMifareIDOL::ECommonFacadeMifareIDOL ( ECardDataStorage cardDataStorage)
Here is the call graph for this function:

◆ ~ECommonFacadeMifareIDOL()

ECommonFacadeMifareIDOL::~ECommonFacadeMifareIDOL ( )

Member Function Documentation

◆ AddDataTypeToReadRequest()

bool ECommonFacadeMifareIDOL::AddDataTypeToReadRequest ( PT::EAplRequest *  readRequest,
unsigned short  dataTypesOperation 
)

◆ Clear()

void ECommonFacadeMifareIDOL::Clear ( )
virtual

Reimplemented from EM::CardFacade::ECommonFacade.

◆ GetAppExpireDate()

bool ECommonFacadeMifareIDOL::GetAppExpireDate ( unsigned long &  appExpireDate)
virtual

◆ GetAppIssuerType()

bool ECommonFacadeMifareIDOL::GetAppIssuerType ( unsigned short &  appIssuerType)
virtual

◆ GetBornNumber()

bool ECommonFacadeMifareIDOL::GetBornNumber ( unsigned long &  bornNumber)
virtual

◆ GetCappingProvider()

bool ECommonFacadeMifareIDOL::GetCappingProvider ( unsigned short &  cappingProvider)
virtual

◆ GetCappingProviderType()

bool ECommonFacadeMifareIDOL::GetCappingProviderType ( ECardFacadeDefines::CappingProviderType cappingProviderType)
virtual

◆ GetCardAdditionalDiscountValidity()

bool ECommonFacadeMifareIDOL::GetCardAdditionalDiscountValidity ( unsigned long &  additionalDiscountValidity,
signed char  index = -1 
)
virtual

◆ GetCardCityCode()

bool ECommonFacadeMifareIDOL::GetCardCityCode ( unsigned long &  cityCode)
virtual

◆ GetCardNumber()

bool ECommonFacadeMifareIDOL::GetCardNumber ( unsigned long &  cardNumber)
virtual

◆ GetCardOwnerName()

bool ECommonFacadeMifareIDOL::GetCardOwnerName ( char *  ownerName,
unsigned short &  nameLength,
ECardFacadeDefines::TextEncoding encoding 
)
virtual

◆ GetCardOwnerSurname()

bool ECommonFacadeMifareIDOL::GetCardOwnerSurname ( char *  ownerSurname,
unsigned short &  surnameLength,
ECardFacadeDefines::TextEncoding encoding 
)
virtual

◆ GetCardPublisherNumber()

bool ECommonFacadeMifareIDOL::GetCardPublisherNumber ( unsigned short &  cardPublisherNumber)
virtual

◆ GetCardPublisherVersion()

bool ECommonFacadeMifareIDOL::GetCardPublisherVersion ( unsigned char &  publisherVersion)
virtual

◆ GetCardRegionCode()

bool ECommonFacadeMifareIDOL::GetCardRegionCode ( unsigned long &  regionCode)
virtual

◆ GetCardTypeAndSubType()

bool ECommonFacadeMifareIDOL::GetCardTypeAndSubType ( unsigned short &  cardType,
unsigned short &  cardSubType,
ECardFacadeDefines::CardTypeStandard cardStandard,
unsigned char  customerProfileIndex,
signed char  index = -1 
)
virtual

◆ GetCardValidityEnd()

bool ECommonFacadeMifareIDOL::GetCardValidityEnd ( unsigned long &  cardValidityEnd)
virtual

◆ GetCommonDataCount()

bool ECommonFacadeMifareIDOL::GetCommonDataCount ( unsigned char &  commonDataCount)
virtual

◆ GetCountryCode()

bool ECommonFacadeMifareIDOL::GetCountryCode ( unsigned short &  countryCodeInBCD)
virtual

Implements EM::CardFacade::ECommonFacade.

Here is the call graph for this function:

◆ GetCustomerProfilesCount()

bool ECommonFacadeMifareIDOL::GetCustomerProfilesCount ( unsigned char &  customerProfilesCount)
virtual

◆ GetCustomerProfileValidityEnd()

bool ECommonFacadeMifareIDOL::GetCustomerProfileValidityEnd ( unsigned long &  customerProfileValidityEnd,
unsigned char  customerProfileIndex = 0,
signed char  index = -1 
)
virtual

◆ GetCustomerProfileValidityStart()

bool ECommonFacadeMifareIDOL::GetCustomerProfileValidityStart ( unsigned long &  customerProfileValidityStart,
unsigned char  customerProfileIndex = 0,
signed char  index = -1 
)
virtual

◆ GetDailyCappingDate()

bool ECommonFacadeMifareIDOL::GetDailyCappingDate ( unsigned long &  dailyCappingDate)
virtual

◆ GetDailyCappingSum()

bool ECommonFacadeMifareIDOL::GetDailyCappingSum ( unsigned short &  dailyCappingSum)
virtual

◆ GetDiscountCouponRegionCode()

bool ECommonFacadeMifareIDOL::GetDiscountCouponRegionCode ( unsigned long &  couponRegionCode,
signed char  couponIndex 
)
virtual

◆ GetDiscountCouponType()

bool ECommonFacadeMifareIDOL::GetDiscountCouponType ( unsigned long &  couponType,
signed char  couponIndex 
)
virtual

◆ GetDiscountCouponValidityEnd()

bool ECommonFacadeMifareIDOL::GetDiscountCouponValidityEnd ( unsigned long &  couponValidityEnd,
signed char  couponIndex 
)
virtual

◆ GetDiscountCouponValidityStart()

bool ECommonFacadeMifareIDOL::GetDiscountCouponValidityStart ( unsigned long &  couponValidityStart,
signed char  couponIndex 
)
virtual

◆ GetEventCount()

bool ECommonFacadeMifareIDOL::GetEventCount ( unsigned long &  eventCount)
virtual

◆ GetFareProviderNumber()

bool ECommonFacadeMifareIDOL::GetFareProviderNumber ( unsigned short &  fareProviderNumber,
signed char  fareProviderIndex = -1 
)
virtual

◆ GetLogicalCardNumber() [1/2]

bool EM::CardFacade::ECommonFacadeMifareIDOL::GetLogicalCardNumber ( std::string &  logicalCardNumber,
signed char  index = -1 
)
virtual

◆ GetLogicalCardNumber() [2/2]

bool ECommonFacadeMifareIDOL::GetLogicalCardNumber ( unsigned long &  logicalCardNumber,
signed char  index = -1 
)
virtual

Implements EM::CardFacade::ECommonFacade.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ GetNetworkCode()

bool ECommonFacadeMifareIDOL::GetNetworkCode ( unsigned short &  networkCode)
virtual

Implements EM::CardFacade::ECommonFacade.

Here is the call graph for this function:

◆ GetNumberOfDiscountCoupons()

bool ECommonFacadeMifareIDOL::GetNumberOfDiscountCoupons ( unsigned long &  numberOfCoupons)
virtual

◆ GetPublisherProviderID()

bool ECommonFacadeMifareIDOL::GetPublisherProviderID ( unsigned long &  publisherProviderId)
virtual

◆ GetRawUID()

bool ECommonFacadeMifareIDOL::GetRawUID ( unsigned char *&  uid)
virtual

◆ GetRequiredDataReadOperation()

unsigned short ECommonFacadeMifareIDOL::GetRequiredDataReadOperation ( unsigned short  dataTypesOperation) const
virtual

◆ GetSaleDate()

bool ECommonFacadeMifareIDOL::GetSaleDate ( unsigned long &  saleDate,
signed char  index = -1 
)
virtual

◆ GetUID()

bool ECommonFacadeMifareIDOL::GetUID ( std::string &  uid)
virtual

◆ GetWeeklyCappingDate()

bool ECommonFacadeMifareIDOL::GetWeeklyCappingDate ( unsigned long &  weeklyCappingDate)
virtual

◆ GetWeeklyCappingSum()

bool ECommonFacadeMifareIDOL::GetWeeklyCappingSum ( unsigned short &  weeklyCappingSum)
virtual

◆ IsCardBlocked()

bool ECommonFacadeMifareIDOL::IsCardBlocked ( bool &  cardBlocked,
signed char  index = -1 
)
virtual

◆ IsCardSold()

bool ECommonFacadeMifareIDOL::IsCardSold ( bool &  cardSold,
signed char  index = -1 
)
virtual

◆ IsCommonDataFeatureEnabled()

bool ECommonFacadeMifareIDOL::IsCommonDataFeatureEnabled ( ECardFacadeDefines::CommonDataFeatures  feature,
bool &  enabled 
)
virtual

◆ IsDataValid()

bool ECommonFacadeMifareIDOL::IsDataValid ( bool &  validData,
signed char  index = -1 
)
virtual

◆ IsDiscountCouponValid()

bool ECommonFacadeMifareIDOL::IsDiscountCouponValid ( bool &  isDiscountCouponValid,
signed char  couponIndex 
)
virtual

◆ IsModifiedData()

bool ECommonFacadeMifareIDOL::IsModifiedData ( )
virtual

Reimplemented from EM::CardFacade::ECommonFacade.

Here is the call graph for this function:

◆ IsServiceCard()

bool ECommonFacadeMifareIDOL::IsServiceCard ( bool &  serviceCard)
virtual

◆ IsTransportSectionValid()

bool ECommonFacadeMifareIDOL::IsTransportSectionValid ( bool &  tranportSectionValid,
signed char  index = -1 
)
virtual

◆ PrepareWriteRequest()

bool ECommonFacadeMifareIDOL::PrepareWriteRequest ( EM::PT::EDataCollection *  writeRequest)
virtual

◆ SetAppExpireDate()

bool ECommonFacadeMifareIDOL::SetAppExpireDate ( unsigned long  appExpireDate)
virtual

◆ SetAppIssuerType()

bool ECommonFacadeMifareIDOL::SetAppIssuerType ( unsigned short  appIssuerType)
virtual

◆ SetBornNumber()

bool ECommonFacadeMifareIDOL::SetBornNumber ( unsigned long  bornNumber)
virtual

◆ SetCappingProvider()

bool ECommonFacadeMifareIDOL::SetCappingProvider ( unsigned short  cappingProvider)
virtual

◆ SetCappingProviderType()

bool ECommonFacadeMifareIDOL::SetCappingProviderType ( ECardFacadeDefines::CappingProviderType  cappingProviderType)
virtual

◆ SetCardAdditionalDiscountValidity()

bool ECommonFacadeMifareIDOL::SetCardAdditionalDiscountValidity ( unsigned long  additionalDiscountValidity,
signed char  index = -1 
)
virtual

◆ SetCardBlocked()

bool ECommonFacadeMifareIDOL::SetCardBlocked ( bool  blocked,
signed char  index = -1 
)
virtual

◆ SetCardCityCode()

bool ECommonFacadeMifareIDOL::SetCardCityCode ( unsigned long  cityCode)
virtual

◆ SetCardNumber()

bool ECommonFacadeMifareIDOL::SetCardNumber ( unsigned long  cardNumber)
virtual

◆ SetCardOwnerName()

bool ECommonFacadeMifareIDOL::SetCardOwnerName ( char *  ownerName,
unsigned short  nameLength 
)
virtual

◆ SetCardOwnerSurname()

bool ECommonFacadeMifareIDOL::SetCardOwnerSurname ( char *  ownerSurname,
unsigned short  surnameLength 
)
virtual

◆ SetCardPublisherNumber()

bool ECommonFacadeMifareIDOL::SetCardPublisherNumber ( unsigned short  cardPublisherNumber)
virtual

◆ SetCardPublisherVersion()

bool ECommonFacadeMifareIDOL::SetCardPublisherVersion ( unsigned char  publisherVersion)
virtual

◆ SetCardRegionCode()

bool ECommonFacadeMifareIDOL::SetCardRegionCode ( unsigned long  regionCode)
virtual

◆ SetCardSold()

bool ECommonFacadeMifareIDOL::SetCardSold ( bool  sold,
signed char  index = -1 
)
virtual

◆ SetCardTypeAndSubType()

bool ECommonFacadeMifareIDOL::SetCardTypeAndSubType ( unsigned short  cardType,
unsigned short  cardSubType,
unsigned char  customerProfileIndex,
signed char  index = -1 
)
virtual

◆ SetCardValidityEnd()

bool ECommonFacadeMifareIDOL::SetCardValidityEnd ( unsigned long  cardValidityEnd)
virtual

◆ SetCountryCode()

bool ECommonFacadeMifareIDOL::SetCountryCode ( unsigned short  countryCodeInBCD)
virtual

Implements EM::CardFacade::ECommonFacade.

Here is the call graph for this function:

◆ SetCustomerProfileValidityEnd()

bool ECommonFacadeMifareIDOL::SetCustomerProfileValidityEnd ( unsigned long  customerProfileValidityEnd,
unsigned char  customerProfileIndex = 0,
signed char  index = -1 
)
virtual

◆ SetCustomerProfileValidityStart()

bool ECommonFacadeMifareIDOL::SetCustomerProfileValidityStart ( unsigned long  customerProfileValidityStart,
unsigned char  customerProfileIndex = 0,
signed char  index = -1 
)
virtual

◆ SetDailyCappingDate()

bool ECommonFacadeMifareIDOL::SetDailyCappingDate ( unsigned long  dailyCappingDate)
virtual

◆ SetDailyCappingSum()

bool ECommonFacadeMifareIDOL::SetDailyCappingSum ( unsigned short  dailyCappingSum)
virtual

◆ SetDiscountCouponValidityEnd()

bool ECommonFacadeMifareIDOL::SetDiscountCouponValidityEnd ( unsigned long  couponValidityEnd,
signed char  couponIndex 
)
virtual

◆ SetFareProviderNumber()

bool ECommonFacadeMifareIDOL::SetFareProviderNumber ( unsigned short  fareProviderNumber,
signed char  index = -1 
)
virtual

◆ SetNetworkCode()

bool ECommonFacadeMifareIDOL::SetNetworkCode ( unsigned short  networkCode)
virtual

Implements EM::CardFacade::ECommonFacade.

Here is the call graph for this function:

◆ SetPublisherProviderID()

bool ECommonFacadeMifareIDOL::SetPublisherProviderID ( unsigned long  publisherProviderId)
virtual

◆ SetSaleDate()

bool ECommonFacadeMifareIDOL::SetSaleDate ( unsigned long  saleDate,
signed char  index = -1 
)
virtual

◆ SetServiceCard()

bool ECommonFacadeMifareIDOL::SetServiceCard ( bool  serviceCard)
virtual

◆ SetWeeklyCappingDate()

bool ECommonFacadeMifareIDOL::SetWeeklyCappingDate ( unsigned long  weeklyCappingDate)
virtual

◆ SetWeeklyCappingSum()

bool ECommonFacadeMifareIDOL::SetWeeklyCappingSum ( unsigned short  weeklyCappingSum)
virtual

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