AppCore
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Classes | Public Types | Public Member Functions | List of all members
EM::TicketIssueLogic::IssuedTicketSegment Class Reference

#include <IssuedTicketSegment.h>

Classes

class  DataClass
 

Public Types

enum  IssuedTicketSegmentFlags { TicketFlagAdditionalZones = 0x001, TicketFlagKilometersFree = 0x002 }
 
enum  IssuedTicketSegmentType {
  TypeUndefined = 0, TypeCommon = 1, TypeTimeTicket = 2, TypeCreditRecharge = 3,
  TypeCardUsingFee = 4, TypeRegistrationTicket = 5
}
 

Public Member Functions

 IssuedTicketSegment (IssuedTicket *issuedTicket)
 
 ~IssuedTicketSegment ()
 
bool SetTariffDataAndEvaluateTicketType (Strojcek::VstupneUdaje::TarifnySystem::ETarifa *tariff, Strojcek::VstupneUdaje::TarifnySystem::ETarifnaSkupina *tariffGroup)
 
bool GetTariff (Strojcek::VstupneUdaje::TarifnySystem::ETarifa *&tariff) const
 
bool GetTariffGroup (Strojcek::VstupneUdaje::TarifnySystem::ETarifnaSkupina *&tariffGroup) const
 
bool GetSegmentType (IssuedTicketSegment::IssuedTicketSegmentType &segmentType)
 
bool SetSegmentPrice (long segmentPrice)
 
bool GetSegmentPrice (long &segmentPrice) const
 
bool SetDistanceForPay (const long distanceForPay)
 
bool GetDistanceForPay (long &distanceForPay) const
 
bool SetTravelledZones (const std::list< unsigned long > &travelledZones)
 
bool GetTravelledZones (const std::list< unsigned long > *&travelledZones) const
 
bool SetTravelTime (const long travelTime)
 
bool GetTravelTime (long &travelTime)
 
bool SetPriceListRowNumber (const unsigned short priceListRow)
 
bool GetPriceListRowNumber (unsigned short &priceListRow) const
 
bool SetTimeTicketIndexOnCard (const short timeTicketIndexOnCard)
 
bool GetTimeTicketIndexOnCard (short &timeTicketIndexOnCard) const
 
bool SetValidOneWayTicketIndexOnCard (const signed char oneWayTicketIndex)
 
bool GetValidOneWayTicketIndexOnCard (signed char &oneWayTicketIndex) const
 
bool SetSegmentStartBusStopLineOrder (const unsigned long segmentStartBusStopLineOrder)
 
bool GetSegmentStartBusStopLineOrder (unsigned long &segmentStartBusStopLineOrder) const
 
bool SetSegmentEndBusStopLineOrder (const unsigned long segmentEndBusStopLineOrder)
 
bool GetSegmentEndBusStopLineOrder (unsigned long &segmentEndBusStopLineOrder) const
 
bool SetContinuousTripOrder (const unsigned char continuousTripOrder)
 
bool GetContinuousTripOrder (unsigned char &continuousTripOrder) const
 
bool IsNextSegmentContinuous (bool &isNextSegmentContinuous) const
 
bool ExistsNextSegment (bool &existsNextSegment) const
 
bool SetVATRate (long vatRate)
 
bool GetVATRate (long &vatRate) const
 
bool SetBulkVATValue (long bulkVatValue)
 
bool GetBulkVATValue (long &bulkVatValue) const
 
bool SetTicketNumber (unsigned long ticketNumber)
 
bool SetTicketSegmentFlag (IssuedTicketSegment::IssuedTicketSegmentFlags flag)
 
void IsSetTicketSegmentFlag (IssuedTicketSegment::IssuedTicketSegmentFlags flag, bool &isSet) const
 
bool GetCalculatePriceResultCollection (EHead *&calculatePriceResultcollection) const
 
bool SetCalculatePriceResultCollection (const EHead *calculatePriceResultcollection)
 
bool GetUsedCustomerProfileIndex (unsigned char &usedCustomerProfileIndex) const
 
unsigned char GetCurrencyID ()
 
void PrintToLog ()
 

Member Enumeration Documentation

Enumerator
TicketFlagAdditionalZones 
TicketFlagKilometersFree 
Enumerator
TypeUndefined 
TypeCommon 
TypeTimeTicket 
TypeCreditRecharge 
TypeCardUsingFee 
TypeRegistrationTicket 

Constructor & Destructor Documentation

IssuedTicketSegment::IssuedTicketSegment ( IssuedTicket issuedTicket)
IssuedTicketSegment::~IssuedTicketSegment ( )

Member Function Documentation

bool IssuedTicketSegment::ExistsNextSegment ( bool &  existsNextSegment) const

Here is the caller graph for this function:

bool IssuedTicketSegment::GetBulkVATValue ( long &  bulkVatValue) const

Here is the caller graph for this function:

bool IssuedTicketSegment::GetCalculatePriceResultCollection ( EHead *&  calculatePriceResultcollection) const

Here is the caller graph for this function:

bool IssuedTicketSegment::GetContinuousTripOrder ( unsigned char &  continuousTripOrder) const

Here is the caller graph for this function:

unsigned char IssuedTicketSegment::GetCurrencyID ( )

Here is the caller graph for this function:

bool IssuedTicketSegment::GetDistanceForPay ( long &  distanceForPay) const

Here is the caller graph for this function:

bool IssuedTicketSegment::GetPriceListRowNumber ( unsigned short &  priceListRow) const
bool IssuedTicketSegment::GetSegmentEndBusStopLineOrder ( unsigned long &  segmentEndBusStopLineOrder) const

Here is the caller graph for this function:

bool IssuedTicketSegment::GetSegmentPrice ( long &  segmentPrice) const

Here is the caller graph for this function:

bool IssuedTicketSegment::GetSegmentStartBusStopLineOrder ( unsigned long &  segmentStartBusStopLineOrder) const

Here is the caller graph for this function:

bool IssuedTicketSegment::GetSegmentType ( IssuedTicketSegment::IssuedTicketSegmentType segmentType)

Here is the caller graph for this function:

bool IssuedTicketSegment::GetTariff ( Strojcek::VstupneUdaje::TarifnySystem::ETarifa *&  tariff) const

Here is the caller graph for this function:

bool IssuedTicketSegment::GetTariffGroup ( Strojcek::VstupneUdaje::TarifnySystem::ETarifnaSkupina *&  tariffGroup) const

Here is the caller graph for this function:

bool IssuedTicketSegment::GetTimeTicketIndexOnCard ( short &  timeTicketIndexOnCard) const

Here is the caller graph for this function:

bool IssuedTicketSegment::GetTravelledZones ( const std::list< unsigned long > *&  travelledZones) const

Here is the caller graph for this function:

bool IssuedTicketSegment::GetTravelTime ( long &  travelTime)
bool IssuedTicketSegment::GetUsedCustomerProfileIndex ( unsigned char &  usedCustomerProfileIndex) const

Here is the caller graph for this function:

bool IssuedTicketSegment::GetValidOneWayTicketIndexOnCard ( signed char &  oneWayTicketIndex) const

Here is the caller graph for this function:

bool IssuedTicketSegment::GetVATRate ( long &  vatRate) const

Here is the caller graph for this function:

bool IssuedTicketSegment::IsNextSegmentContinuous ( bool &  isNextSegmentContinuous) const

Here is the call graph for this function:

Here is the caller graph for this function:

void IssuedTicketSegment::IsSetTicketSegmentFlag ( IssuedTicketSegment::IssuedTicketSegmentFlags  flag,
bool &  isSet 
) const

Here is the caller graph for this function:

void IssuedTicketSegment::PrintToLog ( )

Here is the call graph for this function:

Here is the caller graph for this function:

bool IssuedTicketSegment::SetBulkVATValue ( long  bulkVatValue)

Here is the caller graph for this function:

bool IssuedTicketSegment::SetCalculatePriceResultCollection ( const EHead *  calculatePriceResultcollection)

Here is the caller graph for this function:

bool IssuedTicketSegment::SetContinuousTripOrder ( const unsigned char  continuousTripOrder)
bool IssuedTicketSegment::SetDistanceForPay ( const long  distanceForPay)

Here is the caller graph for this function:

bool IssuedTicketSegment::SetPriceListRowNumber ( const unsigned short  priceListRow)

Here is the caller graph for this function:

bool IssuedTicketSegment::SetSegmentEndBusStopLineOrder ( const unsigned long  segmentEndBusStopLineOrder)

Here is the caller graph for this function:

bool IssuedTicketSegment::SetSegmentPrice ( long  segmentPrice)

Here is the caller graph for this function:

bool IssuedTicketSegment::SetSegmentStartBusStopLineOrder ( const unsigned long  segmentStartBusStopLineOrder)

Here is the caller graph for this function:

bool IssuedTicketSegment::SetTariffDataAndEvaluateTicketType ( Strojcek::VstupneUdaje::TarifnySystem::ETarifa *  tariff,
Strojcek::VstupneUdaje::TarifnySystem::ETarifnaSkupina *  tariffGroup 
)

Here is the call graph for this function:

Here is the caller graph for this function:

bool EM::TicketIssueLogic::IssuedTicketSegment::SetTicketNumber ( unsigned long  ticketNumber)
bool IssuedTicketSegment::SetTicketSegmentFlag ( IssuedTicketSegment::IssuedTicketSegmentFlags  flag)
bool IssuedTicketSegment::SetTimeTicketIndexOnCard ( const short  timeTicketIndexOnCard)

Here is the caller graph for this function:

bool IssuedTicketSegment::SetTravelledZones ( const std::list< unsigned long > &  travelledZones)

Here is the caller graph for this function:

bool IssuedTicketSegment::SetTravelTime ( const long  travelTime)
bool IssuedTicketSegment::SetValidOneWayTicketIndexOnCard ( const signed char  oneWayTicketIndex)

Here is the caller graph for this function:

bool IssuedTicketSegment::SetVATRate ( long  vatRate)

Here is the caller graph for this function:


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