Vesna
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
Public Member Functions | Public Attributes | List of all members
StateShowAlternativeRoutes::DataClass Class Reference
Collaboration diagram for StateShowAlternativeRoutes::DataClass:
Collaboration graph
[legend]

Public Member Functions

 DataClass (StateShowAlternativeRoutes *dataClassOwner, ApplicationStateManager *stateManager)
 
 ~DataClass ()
 
void RefreshDepartureTimeAndDelay ()
 
bool FindIssuedTariffAndTariffGroup ()
 
void FindAlternativeRoutes (bool useSubZones)
 
void CalculateAdditionalZonesForAlternativeRoute (list< unsigned long > &additionalZones, const Ntica &alternativeRoute, const vector< int > &currentTripZones)
 
QString CalculatePriceForAlternativeRoute (const list< unsigned long > &additionalZones)
 
QString CalculateTimeForAlternativeRoute (const list< unsigned long > &travelledZones, const short checkinLineOrder, const short checkoutLineOrder)
 
void AddAlternativeRouteToFormLogic (unsigned int alternativeRouteIndex, const Ntica &alternativeRoute, const QString &calculatedPrice, const QString &travelTime)
 
bool CheckIssueConditions (const bool chipcard)
 
bool InitTicketIssueStorageData (StorageList &storageList, const int selectedRow)
 
bool CheckUserInput (bool useSubZones, QString &destinationNumber, QString &destinationName)
 
unsigned short GetZoneNumberBySubZoneNumber (unsigned short subZoneNumber)
 

Public Attributes

StateShowAlternativeRoutesmDataClassOwner
 
ApplicationStateManagermStateManager
 
QSharedPointer
< ShowAlternativeRoutesFormLogic
mFormLogic
 
vector< pair< list< unsigned
long >, QString > > 
mAlternativeRoutesAdditionalZones
 
ELinka * mCurrentLine
 
ESpoj * mCurrentTrip
 
ETarifa * mAlternativeRouteTariff
 
ETarifnaSkupina * mAlternativeRouteTariffGroup
 
unsigned short mIdsNumber
 
unsigned short mDestinationZoneNumber
 
unsigned short mDestinationSubZoneNumber
 
int32_t mCurrentBusStopTripOrder
 
uint32_t mCheckoutBusStopTripOrder
 
uint32_t mTicketCount
 

Constructor & Destructor Documentation

StateShowAlternativeRoutes::DataClass::DataClass ( StateShowAlternativeRoutes dataClassOwner,
ApplicationStateManager stateManager 
)
StateShowAlternativeRoutes::DataClass::~DataClass ( )

Member Function Documentation

void StateShowAlternativeRoutes::DataClass::AddAlternativeRouteToFormLogic ( unsigned int  alternativeRouteIndex,
const Ntica &  alternativeRoute,
const QString &  calculatedPrice,
const QString &  travelTime 
)
void StateShowAlternativeRoutes::DataClass::CalculateAdditionalZonesForAlternativeRoute ( list< unsigned long > &  additionalZones,
const Ntica &  alternativeRoute,
const vector< int > &  currentTripZones 
)
QString StateShowAlternativeRoutes::DataClass::CalculatePriceForAlternativeRoute ( const list< unsigned long > &  additionalZones)
QString StateShowAlternativeRoutes::DataClass::CalculateTimeForAlternativeRoute ( const list< unsigned long > &  travelledZones,
const short  checkinLineOrder,
const short  checkoutLineOrder 
)
bool StateShowAlternativeRoutes::DataClass::CheckIssueConditions ( const bool  chipcard)

Here is the call graph for this function:

bool StateShowAlternativeRoutes::DataClass::CheckUserInput ( bool  useSubZones,
QString &  destinationNumber,
QString &  destinationName 
)
void StateShowAlternativeRoutes::DataClass::FindAlternativeRoutes ( bool  useSubZones)
bool StateShowAlternativeRoutes::DataClass::FindIssuedTariffAndTariffGroup ( )
unsigned short StateShowAlternativeRoutes::DataClass::GetZoneNumberBySubZoneNumber ( unsigned short  subZoneNumber)
bool StateShowAlternativeRoutes::DataClass::InitTicketIssueStorageData ( StorageList &  storageList,
const int  selectedRow 
)
void StateShowAlternativeRoutes::DataClass::RefreshDepartureTimeAndDelay ( )

Member Data Documentation

vector<pair<list<unsigned long>, QString> > StateShowAlternativeRoutes::DataClass::mAlternativeRoutesAdditionalZones
ETarifa* StateShowAlternativeRoutes::DataClass::mAlternativeRouteTariff
ETarifnaSkupina* StateShowAlternativeRoutes::DataClass::mAlternativeRouteTariffGroup
uint32_t StateShowAlternativeRoutes::DataClass::mCheckoutBusStopTripOrder
int32_t StateShowAlternativeRoutes::DataClass::mCurrentBusStopTripOrder
ELinka* StateShowAlternativeRoutes::DataClass::mCurrentLine
ESpoj* StateShowAlternativeRoutes::DataClass::mCurrentTrip
StateShowAlternativeRoutes* StateShowAlternativeRoutes::DataClass::mDataClassOwner
unsigned short StateShowAlternativeRoutes::DataClass::mDestinationSubZoneNumber
unsigned short StateShowAlternativeRoutes::DataClass::mDestinationZoneNumber
QSharedPointer<ShowAlternativeRoutesFormLogic> StateShowAlternativeRoutes::DataClass::mFormLogic
unsigned short StateShowAlternativeRoutes::DataClass::mIdsNumber
ApplicationStateManager* StateShowAlternativeRoutes::DataClass::mStateManager
uint32_t StateShowAlternativeRoutes::DataClass::mTicketCount

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