DataIO
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
ERestrictedZone.h
Go to the documentation of this file.
1 #ifndef ERESTRICTEDZONE_H
2 #define ERESTRICTEDZONE_H
3 
4 #include "dataio/DataIODefines.h"
5 #include "core/common/ESingleton.h"
6 #include "core/common/eplatform.h"
7 #include <vector>
8 
9 class DATAIO_API ERestrictedZone : public ESingleton<ERestrictedZone>
10 {
11 public:
13  ~ERestrictedZone();
14 
18  bool IsIssueRestrictions();
19 
30  bool IsRestrictedCombinationZone( std::vector<unsigned long> *zoneList );
31 
42  bool IsRestrictedCombinationZoneAlsoAsSubset( std::vector<unsigned long> zoneList );
43 
44  bool IsZoneProhibitedToBeSoldAlone( unsigned long zone );
45 
51  bool CheckZonesPermittedOnlyInContinuousSections( std::vector<unsigned long> zoneList );
52 
53  bool IsTicketPassRequired( std::vector<unsigned long> *restrictZone );
54  bool IsTariffInterchangeRestricted( std::vector<unsigned long> *restrictZone, unsigned char tariff );
55  bool IsRequiredCombinationZone( std::vector<unsigned long> *requireZone );
56  bool CheckRequiredZones( std::vector<unsigned long> zoneList );
57 
72  bool CheckRestrictedZonesForPresale( std::vector<unsigned long> zoneList, std::vector<unsigned long> &restrictedZonesForPresaleList );
73 
74  bool IsRestrictedZoneForPresale( unsigned long zone );
75 
76 private:
77  class DataClass;
78  DataClass *d;
79 };
80 
81 #endif
Definition: ERestrictedZone.h:9
Definition: ERestrictedZone.cpp:29
#define DATAIO_API
Definition: DataIODefines.h:10