AppCore
Loading...
Searching...
No Matches
TripSection.h
Go to the documentation of this file.
1#ifndef ETRIPSECTION_H
2#define ETRIPSECTION_H
3
4#include "../ETicketIssueLogicDefines.h"
5
6#include <list>
7#include <string>
8
9namespace EM
10{
11 namespace TicketIssueLogic
12 {
14 {
16
17 class DataClass;
18 DataClass *d;
19
21
22 public:
30 TripSection( const TripSection& tripSection );
34 TripSection( unsigned int startBusStopLineOrder, unsigned int endBusStopLineOrder, EIssueLogicDefines::TripSectionType tripSectionType, long oneWayTicketIndexOnCard, unsigned short tariffGroupNumber, short timeTicketIndex = -1 );
38 virtual ~TripSection();
39
40 EIssueLogicDefines::TripSectionType GetSectionType() const;
41 unsigned int GetStartBusStopLineOrder() const;
42 unsigned int GetEndBusStopLineOrder() const;
43 short GetTimeTicketIndex() const;
44 long GetOneWayTicketIndexOnCard() const;
45 bool SetContinuousTripOrder( unsigned char continuousTripOrder );
46 unsigned char GetContinuousTripOrder() const;
47 unsigned short GetTariffGroupNumber() const;
48
49 bool SetTravelledZones( const std::list<unsigned long> &travelledZones );
50 bool GetTravelledZones( const std::list< unsigned long > *&travelledZones ) const ;
51
52 void printToLog();
53 };
54 }
55}
56
57#endif // ETRIPSECTION_H
#define DLL_API
Definition ECardFacadeDefines.h:8
TripSectionType
Definition ETicketIssueLogicDefines.h:263
Definition TripSection.h:14
SYSTEM INCLUDES.
Definition CardFacadeManagerXML.h:7