|
DataIO
|
#include <ERestrictedZone.h>


Classes | |
| class | DataClass |
Public Member Functions | |
| ERestrictedZone () | |
| ~ERestrictedZone () | |
| bool | IsIssueRestrictions () |
| IsIssueRestrictions - indicates if there are any restrictions at all. More... | |
| bool | IsRestrictedCombinationZone (std::vector< unsigned long > *zoneList) |
| IsRestrictedCombinationZone - Checks if provided zone combination is prohibited to sell Requires exact match Example: restricted zone combination [100, 99] zoneList [99,100] = restricted zoneList [99,100,101] = ok. More... | |
| bool | IsRestrictedCombinationZoneAlsoAsSubset (std::vector< unsigned long > zoneList) |
| IsRestrictedCombinationZoneAlsoAsSubset - Checks if provided zone combination is prohibited to sell Doesn't require exact match Example: restricted zone combination [100, 99] zoneList [99,100] = restricted zoneList [99,100,101] = restricted. More... | |
| bool | IsZoneProhibitedToBeSoldAlone (unsigned long zone) |
| bool | CheckZonesPermittedOnlyInContinuousSections (std::vector< unsigned long > zoneList) |
| CheckZonesPermittedOnlyInContinuousSections. More... | |
| bool | IsTicketPassRequired (std::vector< unsigned long > *restrictZone) |
| bool | IsTariffInterchangeRestricted (std::vector< unsigned long > *restrictZone, unsigned char tariff) |
| bool | IsRequiredCombinationZone (std::vector< unsigned long > *requireZone) |
| bool | CheckRequiredZones (std::vector< unsigned long > zoneList) |
| bool | CheckRestrictedZonesForPresale (std::vector< unsigned long > zoneList, std::vector< unsigned long > &restrictedZonesForPresaleList) |
| Checks whether any restricted zones for presale are present in the given zone list. More... | |
| bool | IsRestrictedZoneForPresale (unsigned long zone) |
| ERestrictedZone () | |
| ~ERestrictedZone () | |
| bool | IsIssueRestrictions () |
| IsIssueRestrictions - indicates if there are any restrictions at all. More... | |
| bool | IsRestrictedCombinationZone (std::vector< unsigned long > *zoneList) |
| IsRestrictedCombinationZone - Checks if provided zone combination is prohibited to sell Requires exact match Example: restricted zone combination [100, 99] zoneList [99,100] = restricted zoneList [99,100,101] = ok. More... | |
| bool | IsRestrictedCombinationZoneAlsoAsSubset (std::vector< unsigned long > zoneList) |
| IsRestrictedCombinationZoneAlsoAsSubset - Checks if provided zone combination is prohibited to sell Doesn't require exact match Example: restricted zone combination [100, 99] zoneList [99,100] = restricted zoneList [99,100,101] = restricted. More... | |
| bool | IsZoneProhibitedToBeSoldAlone (unsigned long zone) |
| bool | CheckZonesPermittedOnlyInContinuousSections (std::vector< unsigned long > zoneList) |
| CheckZonesPermittedOnlyInContinuousSections. More... | |
| bool | IsTicketPassRequired (std::vector< unsigned long > *restrictZone) |
| bool | IsTariffInterchangeRestricted (std::vector< unsigned long > *restrictZone, unsigned char tariff) |
| bool | IsRequiredCombinationZone (std::vector< unsigned long > *requireZone) |
| bool | CheckRequiredZones (std::vector< unsigned long > zoneList) |
| bool | CheckRestrictedZonesForPresale (std::vector< unsigned long > zoneList, std::vector< unsigned long > &restrictedZonesForPresaleList) |
| Checks whether any restricted zones for presale are present in the given zone list. More... | |
| bool | IsRestrictedZoneForPresale (unsigned long zone) |
| ERestrictedZone::ERestrictedZone | ( | ) |
| ERestrictedZone::~ERestrictedZone | ( | ) |
| ERestrictedZone::ERestrictedZone | ( | ) |
| ERestrictedZone::~ERestrictedZone | ( | ) |
| bool ERestrictedZone::CheckRequiredZones | ( | std::vector< unsigned long > | zoneList | ) |
| bool ERestrictedZone::CheckRequiredZones | ( | std::vector< unsigned long > | zoneList | ) |
| bool ERestrictedZone::CheckRestrictedZonesForPresale | ( | std::vector< unsigned long > | zoneList, |
| std::vector< unsigned long > & | restrictedZonesForPresaleList | ||
| ) |
Checks whether any restricted zones for presale are present in the given zone list.
This method compares the input list of zones with the internally defined restricted zones for presale. If any restricted zones are found in the input list, they are added to the output parameter restrictedZonesForPresaleList, and the function returns false to indicate the presence of restricted zones.
| zoneList | - list of zones (unsigned long) to be checked. | |
| [out] | restrictedZonesForPresaleList | - output list where matching restricted zones will be stored. |
| bool ERestrictedZone::CheckRestrictedZonesForPresale | ( | std::vector< unsigned long > | zoneList, |
| std::vector< unsigned long > & | restrictedZonesForPresaleList | ||
| ) |
Checks whether any restricted zones for presale are present in the given zone list.
This method compares the input list of zones with the internally defined restricted zones for presale. If any restricted zones are found in the input list, they are added to the output parameter restrictedZonesForPresaleList, and the function returns false to indicate the presence of restricted zones.
| zoneList | - list of zones (unsigned long) to be checked. | |
| [out] | restrictedZonesForPresaleList | - output list where matching restricted zones will be stored. |
| bool ERestrictedZone::CheckZonesPermittedOnlyInContinuousSections | ( | std::vector< unsigned long > | zoneList | ) |
CheckZonesPermittedOnlyInContinuousSections.
| bool ERestrictedZone::CheckZonesPermittedOnlyInContinuousSections | ( | std::vector< unsigned long > | zoneList | ) |
CheckZonesPermittedOnlyInContinuousSections.
| bool ERestrictedZone::IsIssueRestrictions | ( | ) |
IsIssueRestrictions - indicates if there are any restrictions at all.
| bool ERestrictedZone::IsIssueRestrictions | ( | ) |
IsIssueRestrictions - indicates if there are any restrictions at all.
| bool ERestrictedZone::IsRequiredCombinationZone | ( | std::vector< unsigned long > * | requireZone | ) |
| bool ERestrictedZone::IsRequiredCombinationZone | ( | std::vector< unsigned long > * | requireZone | ) |
| bool ERestrictedZone::IsRestrictedCombinationZone | ( | std::vector< unsigned long > * | zoneList | ) |
IsRestrictedCombinationZone - Checks if provided zone combination is prohibited to sell Requires exact match Example: restricted zone combination [100, 99] zoneList [99,100] = restricted zoneList [99,100,101] = ok.
| bool ERestrictedZone::IsRestrictedCombinationZone | ( | std::vector< unsigned long > * | zoneList | ) |
IsRestrictedCombinationZone - Checks if provided zone combination is prohibited to sell Requires exact match Example: restricted zone combination [100, 99] zoneList [99,100] = restricted zoneList [99,100,101] = ok.
| bool ERestrictedZone::IsRestrictedCombinationZoneAlsoAsSubset | ( | std::vector< unsigned long > | zoneList | ) |
IsRestrictedCombinationZoneAlsoAsSubset - Checks if provided zone combination is prohibited to sell Doesn't require exact match Example: restricted zone combination [100, 99] zoneList [99,100] = restricted zoneList [99,100,101] = restricted.
| bool ERestrictedZone::IsRestrictedCombinationZoneAlsoAsSubset | ( | std::vector< unsigned long > | zoneList | ) |
IsRestrictedCombinationZoneAlsoAsSubset - Checks if provided zone combination is prohibited to sell Doesn't require exact match Example: restricted zone combination [100, 99] zoneList [99,100] = restricted zoneList [99,100,101] = restricted.
| bool ERestrictedZone::IsRestrictedZoneForPresale | ( | unsigned long | zone | ) |
| bool ERestrictedZone::IsRestrictedZoneForPresale | ( | unsigned long | zone | ) |
| bool ERestrictedZone::IsTariffInterchangeRestricted | ( | std::vector< unsigned long > * | restrictZone, |
| unsigned char | tariff | ||
| ) |
| bool ERestrictedZone::IsTariffInterchangeRestricted | ( | std::vector< unsigned long > * | restrictZone, |
| unsigned char | tariff | ||
| ) |
| bool ERestrictedZone::IsTicketPassRequired | ( | std::vector< unsigned long > * | restrictZone | ) |
| bool ERestrictedZone::IsTicketPassRequired | ( | std::vector< unsigned long > * | restrictZone | ) |
| bool ERestrictedZone::IsZoneProhibitedToBeSoldAlone | ( | unsigned long | zone | ) |
| bool ERestrictedZone::IsZoneProhibitedToBeSoldAlone | ( | unsigned long | zone | ) |
1.8.8