OpenTTD Source 20250428-master-ga5578166bb
|
Base for bit set wrapper. More...
#include <base_bitset_type.hpp>
Public Types | |
using | ValueType = Tvalue_type |
Value type of this BaseBitSet. | |
using | BaseType = Tstorage |
Storage type of this BaseBitSet, be ConvertibleThroughBase. | |
Public Member Functions | |
constexpr | BaseBitSet (Tstorage data) |
constexpr auto | operator<=> (const BaseBitSet &) const noexcept=default |
constexpr Timpl & | Set () |
Set all bits. | |
constexpr Timpl & | Set (Tvalue_type value) |
Set the value-th bit. | |
constexpr Timpl & | Set (const Timpl &other) |
Set values from another bitset. | |
constexpr Timpl & | Set (Tvalue_type value, bool set) |
Assign the value-th bit. | |
constexpr Timpl & | Reset (Tvalue_type value) |
Reset the value-th bit. | |
constexpr Timpl & | Reset (const Timpl &other) |
Reset values from another bitset. | |
constexpr Timpl & | Flip (Tvalue_type value) |
Flip the value-th bit. | |
constexpr Timpl & | Flip (const Timpl &other) |
Flip values from another bitset. | |
constexpr bool | Test (Tvalue_type value) const |
Test if the value-th bit is set. | |
constexpr bool | All (const Timpl &other) const |
Test if all of the values are set. | |
constexpr bool | All () const |
Test if all of the values are set. | |
constexpr bool | Any (const Timpl &other) const |
Test if any of the given values are set. | |
constexpr bool | Any () const |
Test if any of the values are set. | |
constexpr bool | None () const |
Test if none of the values are set. | |
constexpr Timpl | operator| (const Timpl &other) const |
constexpr Timpl | operator& (const Timpl &other) const |
constexpr Tstorage | base () const noexcept |
Retrieve the raw value behind this bit set. | |
constexpr bool | IsValid () const |
Test that the raw value of this bit set is valid. | |
auto | begin () const |
auto | end () const |
Static Public Attributes | |
static constexpr Tstorage | MASK = Tmask |
Mask of valid values. | |
Private Attributes | |
Tstorage | data |
Bitmask of values. | |
Base for bit set wrapper.
Allows wrapping strong type values as a bit set. Methods are loosely modelled on std::bitset.
Tvalue_type | Type of values to wrap. |
Tstorage | Storage type required to hold values. |
Definition at line 25 of file base_bitset_type.hpp.
using BaseBitSet< Timpl, Tvalue_type, Tstorage, Tmask >::BaseType = Tstorage |
Storage type of this BaseBitSet, be ConvertibleThroughBase.
Definition at line 28 of file base_bitset_type.hpp.
using BaseBitSet< Timpl, Tvalue_type, Tstorage, Tmask >::ValueType = Tvalue_type |
Value type of this BaseBitSet.
Definition at line 27 of file base_bitset_type.hpp.
|
inlineconstexpr |
Definition at line 31 of file base_bitset_type.hpp.
|
inlineexplicitconstexpr |
Definition at line 32 of file base_bitset_type.hpp.
|
inlineconstexpr |
Test if all of the values are set.
Definition at line 150 of file base_bitset_type.hpp.
|
inlineconstexpr |
Test if all of the values are set.
other | BitSet of values to test. |
Definition at line 141 of file base_bitset_type.hpp.
Referenced by AircraftController(), HandleBankruptcyTakeover(), and TryBuildTownHouse().
|
inlineconstexpr |
Test if any of the values are set.
Definition at line 169 of file base_bitset_type.hpp.
|
inlineconstexpr |
Test if any of the given values are set.
other | BitSet of values to test. |
Definition at line 160 of file base_bitset_type.hpp.
Referenced by AdvanceHouseConstruction(), AgeVehicle(), AircraftController(), AirportFindFreeTerminal(), AirportHasBlock(), AirportSetBlocks(), CompanyStationsWindow::BuildStationsList(), BuildTownHouse(), CalcEngineReliability(), CanVehicleUseStation(), ChangeIndustryProduction(), CheckAutoreplaceValidity(), CheckClickOnVehicle(), CheckIfIndustryTilesAreFree(), ClearTownHouse(), CmdBuildObject(), CmdClearArea(), CmdLandscapeClear(), CmdTurnRoadVeh(), CMSAMine(), DistributeQueue(), NWidgetViewport::Draw(), NWidgetScrollbar::Draw(), IndustryViewWindow::DrawInfo(), StatusBarWindow::DrawWidget(), FreeTerminal(), GetOrderCmdFromTile(), HousePickerCallbacks::GetTypeName(), IndustriesScopeResolver::GetVariable(), HandleBankruptcyTakeover(), HandleScrollbarScrolling(), HasAnyRailTypesAvail(), HasAnyRoadTypesAvail(), RoadStop::HasFreeBay(), HasTileAnyRoadType(), CommandHelperBase::InternalExecutePrepTest(), CommandHelperBase::InternalExecuteProcessResult(), CommandHelperBase::InternalExecuteValidateTestAndPrepExec(), CommandHelperBase::InternalPostBefore(), IsCargoInClass(), IsEngineBuildable(), IsHouseSpecValid(), BaseStation::IsInUse(), IndustrySpec::IsRawIndustry(), Vehicle::LeaveUnbunchingDepot(), MakeCzechTownName(), MakeTownHouse(), Vehicle::NeedsServicing(), NetworkHandlePauseChange(), OnTick_Companies(), RemoveNearbyStations(), StateGameLoop(), TileLoop_Town(), TriggerHouseAnimation_WatchedCargoAccepted(), UpdateSignalsAroundSegment(), UpdateStationAcceptance(), and IndustrySpec::UsesOriginalEconomy().
|
inlineconstexprnoexcept |
Retrieve the raw value behind this bit set.
Definition at line 197 of file base_bitset_type.hpp.
Referenced by AfterLoadGame(), AircraftVehicleChangeInfo(), GetGlobalVariable(), TownAuthorityWindow::GetNthSetBit(), VehicleScopeResolver::GetRandomTriggers(), HouseScopeResolver::GetRandomTriggers(), IndustryTileScopeResolver::GetRandomTriggers(), RoadStopScopeResolver::GetRandomTriggers(), StationScopeResolver::GetRandomTriggers(), GetRefitCostFactor(), AirportScopeResolver::GetVariable(), VehicleScopeResolver::GetVariable(), IndustriesScopeResolver::GetVariable(), RoadStopScopeResolver::GetVariable(), StationScopeResolver::GetVariable(), TownScopeResolver::GetVariable(), CompanyStationsWindow::OnClick(), RailVehicleChangeInfo(), AIInfo::RegisterAPI(), GameInfo::RegisterAPI(), RoadVehicleChangeInfo(), SetHouseRandomTriggers(), SetIndustryRandomTriggers(), ShipVehicleChangeInfo(), and BaseGraphWindow::UpdateStatistics().
|
inline |
Definition at line 211 of file base_bitset_type.hpp.
|
inline |
Definition at line 212 of file base_bitset_type.hpp.
|
inlineconstexpr |
Flip values from another bitset.
other | Bitset of values to flip. |
Definition at line 120 of file base_bitset_type.hpp.
|
inlineconstexpr |
Flip the value-th bit.
value | Bit to flip. |
Definition at line 106 of file base_bitset_type.hpp.
Referenced by AirportSetBlocks(), CmdOpenCloseAirport(), CmdStartStopVehicle(), BaseConsist::CopyConsistPropertiesFrom(), DispatchLeftClickEvent(), MenuClickSettings(), ReplaceVehicleWindow::OnClick(), BuildVehicleWindow::OnClick(), GenerateLandscapeWindow::OnClick(), GraphLegendWindow::OnClick(), CompanyStationsWindow::OnClick(), and GUIList< T, P, F >::ToggleSortOrder().
|
inlineconstexpr |
Test that the raw value of this bit set is valid.
Definition at line 206 of file base_bitset_type.hpp.
Referenced by CmdIndustrySetFlags().
|
inlineconstexpr |
Test if none of the values are set.
Definition at line 178 of file base_bitset_type.hpp.
Referenced by CmdClearArea(), IsEngineBuildable(), NetworkHandlePauseChange(), LinkGraphOverlay::RebuildCache(), and StateGameLoop_LinkGraphPauseControl().
|
inlineconstexpr |
Definition at line 188 of file base_bitset_type.hpp.
|
inlineconstexpr |
Definition at line 183 of file base_bitset_type.hpp.
|
inlineconstexpr |
Reset values from another bitset.
other | Bitset of values to reset. |
Definition at line 95 of file base_bitset_type.hpp.
|
inlineconstexpr |
Reset the value-th bit.
value | Bit to reset. |
Definition at line 84 of file base_bitset_type.hpp.
Referenced by AddArticulatedParts(), AdvanceWagonsAfterSwap(), AfterLoadGame(), AircraftLeaveHangar(), RoadStop::AllocateDriveThroughBay(), CheckIfCanLevelIndustryPlatform(), CheckTrainStayInDepot(), RoadStop::ClearDriveThrough(), CmdAutofillTimetable(), CmdAutoreplaceVehicle(), CmdBuildObject(), CmdBuildObjectArea(), CmdClearArea(), CmdLevelLand(), CmdPause(), CmdRemoveLongRoad(), CmdSignalTrackHelper(), CmdTerraformLand(), Window::DisableAllWidgetHighlight(), DisableEngineForCompany(), DisasterTick_Zeppeliner(), DispatchLeftClickEvent(), CommandHelper< Tcmd, Tret(*)(DoCommandFlags, Targs...), true >::Do(), DropdownWindow::DropdownWindow(), FixupTrainLengths(), GetRailTypeDropDownList(), GRFConfig::GRFConfig(), GUIEngineListAddChildren(), HandleAircraftSmoke(), HandleCrashedAircraft(), HandleWindowDragging(), HasAnyRailTypesAvail(), HasAnyRoadTypesAvail(), HasRoadTypeAvail(), ENGNChunkHandler::Load(), LoadUnloadVehicle(), RoadStop::MakeDriveThrough(), NewVehicleAvailable(), Window::OnDropdownClose(), ParamSet(), Vehicle::PreDestructor(), PrepareUnload(), GUIList< T, P, F >::RebuildDone(), LinkRefresher::RefreshLinks(), RemoveAirport(), RemoveBuoy(), RemoveDock(), RemoveFromRailBaseStation(), RemoveRoadStop(), RemoveRoadWaypointStop(), NWidgetCore::SetDisabled(), GUIList< T, P, F >::SetFiltering(), GUIList< T, P, F >::SetFilterState(), SetGroupFlag(), NWidgetCore::SetHighlighted(), GUIList< T, P, F >::SetListing(), NWidgetCore::SetLowered(), Window::SetWidgetHighlight(), GUIList< T, P, F >::Sort(), StartWindowDrag(), StartWindowSizing(), TrainCheckIfLineEnds(), TriggerRoadStopRandomisation(), TriggerStationRandomisation(), SettingEntry::UpdateFilterState(), UpdateVehicleTimetable(), and VehicleEnter_Track().
|
inlineconstexpr |
Set all bits.
Definition at line 40 of file base_bitset_type.hpp.
Referenced by AcceptEnginePreview(), AddDateIntroducedRailTypes(), AddDateIntroducedRoadTypes(), Station::AddFacility(), ScriptInfo::AddSetting(), AfterLoad_LinkGraphPauseControl(), AfterLoadGame(), AfterLoadVehiclesPhase2(), AirportHasBlock(), AirportSetBlocks(), AllocateRoadType(), AppendCopyableBadgeList(), ApplyBadgeFeaturesToClassBadges(), Window::ApplyDefaults(), ChangeTownRating(), CheckTrainStayInDepot(), RoadStop::ClearDriveThrough(), DropdownWindow::Close(), NetworkContentDownloadStatusWindow::Close(), CmdAutofillTimetable(), CmdBuildAircraft(), CmdBuildBuoy(), CmdBuildRailStation(), CmdBuildRailVehicle(), CmdBuildRailWaypoint(), CmdBuildRoadStop(), CmdBuildRoadVehicle(), CmdBuildRoadWaypoint(), CmdBuildShip(), CmdBuildVehicle(), CmdClearArea(), CmdCloneVehicle(), CmdCreateGroup(), CmdIndustrySetProduction(), CmdMoveVehicle(), CmdPause(), CmdSetVehicleVisibility(), CmdTerraformLand(), CommandFlagsToDCFlags(), CompanyCheckBankrupt(), Train::ConsistChanged(), BaseConsist::CopyConsistPropertiesFrom(), Vehicle::Crash(), DisasterVehicle::DisasterVehicle(), EnableEngineForCompany(), EnumBitSet< Tenum, Tstorage, Tend_value >::EnumBitSet(), ErrorUnknownCallbackResult(), FinaliseBadges(), FixTTOEngines(), GUIList< T, P, F >::ForceRebuild(), GUIList< T, P, F >::ForceResort(), RoadStop::FreeBay(), FreeTerminal(), TownAuthorityWindow::GetEnabledActions(), GetGlobalVariable(), SmallMapWindow::GetOverlayCompanyMask(), GetPresentRoadTypes(), GRFUnsafe(), HandleAircraftEnterHangar(), HandleBankruptcyTakeover(), Window::InitializeData(), InitializeNetworkPools(), InitRailTypes(), InitRoadTypes(), CommandHelperBase::InternalExecuteProcessResult(), InvalidateCompanyWindows(), ENGNChunkHandler::Load(), LoadUnloadVehicle(), MakeCzechTownName(), RoadStop::MakeDriveThrough(), MarkBadgeSeen(), MoveBuoysToWaypoints(), MoveWaypointsToBaseStations(), GUIList< T, P, F >::NeedResort(), NetworkAutoCleanCompanies(), NewsItem::NewsItem(), NewVehicleAvailable(), CompanyStationsWindow::OnClick(), GraphLegendWindow::OnInvalidateData(), ParamSet(), LinkRefresher::PredictNextOrder(), RailTypeChangeInfo(), GUIList< T, P, F >::RebuildDone(), LinkRefresher::RefreshLinks(), ReplaceChain(), ReverseTrainSwapVeh(), RoadStopUpdateCachedTriggers(), RoadTypeChangeInfo(), ScrollbarClickPositioning(), SettingEntry::SetButtons(), NWidgetCore::SetDisabled(), RoadStop::SetEntranceBusy(), GUIList< T, P, F >::SetFiltering(), GUIList< T, P, F >::SetFilterState(), SetGroupFlag(), NWidgetCore::SetHighlighted(), BaseSettingEntry::SetLastField(), GUIList< T, P, F >::SetListing(), NWidgetCore::SetLowered(), GUIList< T, P, F >::SetSortType(), Window::SetTimeout(), Window::SetWhiteBorder(), Window::SetWidgetHighlight(), ShowDropDownList(), ShowNewGrfVehicleError(), SlStdString(), StartupOneEngine(), StartWindowDrag(), StartWindowSizing(), StationUpdateCachedTriggers(), TownActionBuildStatue(), TrainApproachingLineEnd(), TrainCheckIfLineEnds(), TriggerRoadStopRandomisation(), TriggerStationRandomisation(), TryBuildTownHouse(), SettingEntry::UpdateFilterState(), SettingsPage::UpdateFilterState(), LinkGraphLegendWindow::UpdateOverlayCompanies(), UpdateStationAcceptance(), BaseGraphWindow::UpdateStatistics(), UpdateVehicleTimetable(), VehicleEnter_Track(), VehicleEnterDepot(), VehicleEnteredDepotThisTick(), ViewportAddSignStrings(), ViewportAddStationStrings(), ViewportAddTownStrings(), and WaypointWindow::WaypointWindow().
|
inlineconstexpr |
Set values from another bitset.
other | Bitset of values to set. |
Definition at line 62 of file base_bitset_type.hpp.
|
inlineconstexpr |
Set the value-th bit.
value | Bit to set. |
Definition at line 51 of file base_bitset_type.hpp.
|
inlineconstexpr |
Assign the value-th bit.
value | Bit to assign to. |
set | true if the bit should be set, false if the bit should be reset. |
Definition at line 74 of file base_bitset_type.hpp.
|
inlineconstexpr |
Test if the value-th bit is set.
value | Bit to check. |
Definition at line 131 of file base_bitset_type.hpp.
Referenced by AddAcceptedCargoOfHouse(), AddArticulatedParts(), LinkGraph::BaseNode::AddEdge(), AddEngineReplacement(), NewGRFWindow::AddGRFToActive(), LinkGraph::AddNode(), ScriptInfo::AddSetting(), AfterLoadGame(), AircraftController(), AircraftEventHandler_InHangar(), AircraftVehicleChangeInfo(), AirportMaintenanceCost(), AnimateNewObjectTile(), AppendCopyableBadgeList(), NWidgetHorizontal::AssignSizePosition(), NWidgetVertical::AssignSizePosition(), TimetableWindow::BuildArrivalDepartureList(), BuildObject(), RefitWindow::BuildRefitList(), BuildReplacementVehicle(), BuildStationPart(), BuildTownHouse(), CalcEngineReliability(), CalcPercentVehicleFilled(), CFollowTrackT< Ttr_type_, VehicleType, T90deg_turns_allowed_, Tmask_reserved_tracks >::CanEnterNewTile(), CanVehicleUseStation(), CargoSpecClassSorter(), CcRoadStop(), CcStartStopVehicle(), ChangeIndustryProduction(), ChangeTownRating(), ChangeTrainDirRandomly(), IntSettingDesc::ChangeValue(), ChangeVehicleNews(), CheckAutoreplaceValidity(), CheckBridgeAvailability(), CheckFlatLandRailStation(), CheckforTownRating(), CheckIfAuthorityAllowsNewStation(), CheckIfCanLevelIndustryPlatform(), CheckIfIndustryTilesAreFree(), CheckIfIndustryTileSlopes(), CheckIndustryCloseDownProtection(), RoadStop::Entry::CheckIntegrity(), CheckMinActiveClients(), CheckOrders(), CheckPauseHelper(), CheckPauseOnJoin(), CheckSoftLimit(), CheckSubsidised(), PoolBase::Clean(), RoadStop::ClearDriveThrough(), ClearTile_Station(), ClearTile_Town(), ClearTile_TunnelBridge(), ClearTownHouse(), CloseAllNonVitalWindows(), CloseConstructionWindows(), CloseNonVitalWindows(), CloseWindowById(), CmdAddSharedVehicleGroup(), CmdAddVehicleGroup(), CmdAlterGroup(), CmdAutofillTimetable(), CmdAutoreplaceVehicle(), CmdBuildAircraft(), CmdBuildAirport(), CmdBuildBridge(), CmdBuildBuoy(), CmdBuildCanal(), CmdBuildDock(), CmdBuildIndustry(), CmdBuildObject(), CmdBuildObjectArea(), CmdBuildRailStation(), CmdBuildRailVehicle(), CmdBuildRailWagon(), CmdBuildRailWaypoint(), CmdBuildRoad(), CmdBuildRoadDepot(), CmdBuildRoadStop(), CmdBuildRoadVehicle(), CmdBuildRoadWaypoint(), CmdBuildShip(), CmdBuildShipDepot(), CmdBuildSingleRail(), CmdBuildSingleSignal(), CmdBuildTrainDepot(), CmdBuildTunnel(), CmdBuildVehicle(), CmdBulkChangeTimetable(), CmdBuyCompany(), CmdChangeBankBalance(), CmdChangeCompanySetting(), CmdChangeServiceInt(), CmdChangeSetting(), CmdChangeTimetable(), CmdClearArea(), CmdClearOrderBackup(), CmdCloneOrder(), CmdCloneVehicle(), CmdCompanyAllowListCtrl(), CmdCompanyCtrl(), CmdConvertRail(), CmdConvertRoad(), CmdCreateGoal(), CmdCreateGroup(), CmdCreateLeagueTable(), CmdCreateLeagueTableElement(), CmdCreateStoryPage(), CmdCreateStoryPageElement(), CmdCreateSubsidy(), CmdCustomNewsItem(), CmdDecreaseLoan(), CmdDeleteGroup(), CmdDeleteOrder(), CmdDeleteTown(), CmdDoTownAction(), CmdEngineCtrl(), CmdExpandTown(), CmdForceTrainProceed(), CmdFoundTown(), CmdGiveMoney(), CmdGoalQuestion(), CmdGoalQuestionAnswer(), CmdIncreaseLoan(), CmdIndustrySetExclusivity(), CmdIndustrySetFlags(), CmdIndustrySetProduction(), CmdIndustrySetText(), CmdInsertOrder(), CmdLandscapeClear(), CmdLevelLand(), CmdModifyOrder(), CmdMoveOrder(), CmdMoveRailVehicle(), CmdOpenCloseAirport(), CmdOrderRefit(), CmdPause(), CmdPlaceHouse(), CmdPlaceSign(), CmdPlantTree(), CmdRefitVehicle(), CmdRemoveAllVehiclesGroup(), CmdRemoveGoal(), CmdRemoveLeagueTableElement(), CmdRemoveLongRoad(), CmdRemoveRoadStop(), CmdRemoveSingleRail(), CmdRemoveSingleSignal(), CmdRemoveStoryPage(), CmdRemoveStoryPageElement(), CmdRenameCompany(), CmdRenameDepot(), CmdRenameEngine(), CmdRenamePresident(), CmdRenameSign(), CmdRenameStation(), CmdRenameTown(), CmdRenameVehicle(), CmdRenameWaypoint(), CmdReverseTrainDirection(), CmdScrollViewport(), CmdSellRailWagon(), CmdSellVehicle(), CmdSendVehicleToDepot(), CmdSetAutoReplace(), CmdSetCompanyColour(), CmdSetCompanyManagerFace(), CmdSetCompanyMaxLoan(), CmdSetGoalCompleted(), CmdSetGoalDestination(), CmdSetGoalProgress(), CmdSetGoalText(), CmdSetGroupFlag(), CmdSetGroupLivery(), CmdSetStoryPageDate(), CmdSetStoryPageTitle(), CmdSetTimetableStart(), CmdSetVehicleOnTime(), CmdSetVehicleVisibility(), CmdShowStoryPage(), CmdSkipToOrder(), CmdStartStopVehicle(), CmdStoryPageButton(), CmdTerraformLand(), CmdTownCargoGoal(), CmdTownGrowthRate(), CmdTownRating(), CmdTownSetText(), CmdTurnRoadVeh(), CmdUpdateLeagueTableElementData(), CmdUpdateLeagueTableElementScore(), CmdUpdateStoryPageElement(), CmdWantEnginePreview(), CMSAMine(), CommandFlagsToDCFlags(), Train::ConsistChanged(), GoodsEntry::ConvertState(), BaseConsist::CopyConsistPropertiesFrom(), CopyHeadSpecificThings(), Vehicle::Crash(), NetworkAuthenticationServerHandler::Create(), CreateNewIndustryHelper(), DecloneOrder(), DecodeSingleSprite(), DeleteLastWagon(), Engine::DetermineCapacity(), Disaster_CoalMine_Init(), Disaster_Helicopter_Init(), DisasterTick_Ufo(), DispatchLeftClickEvent(), DispatchRightClickEvent(), CommandHelper< Tcmd, Tret(*)(DoCommandFlags, Targs...), true >::Do(), DoBuildLock(), DoClearBridge(), DoClearTunnel(), DoCreateNewIndustry(), DoDrawVehicle(), TarScanner::DoScan(), NWidgetViewport::Draw(), NWidgetScrollbar::Draw(), NWidgetLeaf::Draw(), BaseSettingEntry::Draw(), SettingsPage::Draw(), TownAuthorityWindow::DrawActions(), DrawAircraftImage(), TimetableWindow::DrawArrivalDeparturePanel(), DrawEngineList(), DrawFrameRect(), DrawHouseInGUI(), IndustryViewWindow::DrawInfo(), DrawNewHouseTileInGUI(), DrawNewObjectTileInGUI(), TownAuthorityWindow::DrawRatings(), DrawRoadDepotSprite(), DrawRoadStopTile(), DrawRoadVehImage(), SettingEntry::DrawSetting(), DrawStationTile(), TimetableWindow::DrawSummaryPanel(), DrawTile_Road(), DrawTileLayout(), DrawTrainDetails(), DrawTrainImage(), DepotWindow::DrawVehicleInDepot(), BaseVehicleListWindow::DrawVehicleListItems(), GSConfigWindow::DrawWidget(), GraphLegendWindow::DrawWidget(), VehicleGroupWindow::DrawWidget(), BuildIndustryWindow::DrawWidget(), BuildObjectWindow::DrawWidget(), ScriptSettingsWindow::DrawWidget(), StatusBarWindow::DrawWidget(), TownDirectoryWindow::DrawWidget(), VehicleViewWindow::DrawWidget(), Window::DrawWidgets(), ErrorUnknownCallbackResult(), FillGRFDetails(), GUIList< T, P, F >::Filter(), FindClosestTrainDepot(), FindNearestHangar(), FixTTOEngines(), FloodVehicleProc(), RoadVehicle::GetAccelerationStatus(), Train::GetAccelerationStatus(), Train::GetAirDragArea(), GetAllCargoSuffixes(), GetArticulatedRefitMasks(), GetBadgeSprite(), GetBestFittingSubType(), GetCapacityOfArticulatedParts(), GetCargoSubtypeText(), GetCargoSuffix(), GetCargoSuffix(), GetCargoTypesOfArticulatedParts(), GetCompanyRailTypes(), GetCompanyRoadTypes(), GetEngineLiveryScheme(), GUIList< T, P, F >::GetFiltering(), GetFoundation_Town(), GetGlobalVariable(), BuildHouseWindow::GetHouseInformation(), GetIfStopIsForType(), GetIndustryGamePlayProbability(), GetIndustryProbabilityCallback(), GUIList< T, P, F >::GetListing(), GetLoadAmount(), GetMaskOfTownActions(), Train::GetOrderStationLocation(), NewGRFWindow::GetPalette(), GetPreviewCompany(), GetProducedCargoOfHouse(), GetRailTypeDropDownList(), GetRailTypes(), GetRoadTypes(), GetScaledIndustryGenerationProbability(), GetSettingsDesc(), GetTownRoadType(), GetTownRoadTypeFirstIntroductionDate(), SettingDesc::GetType(), HousePickerCallbacks::GetTypeName(), IntSettingDesc::GetValueParams(), IndustriesScopeResolver::GetVariable(), GetVehicleCannotUseStationReason(), RoadVehicle::GetVehicleTrackdir(), Ship::GetVehicleTrackdir(), Train::GetVehicleTrackdir(), GenerateLandscapeWindow::GetWidgetString(), HandleAircraftSmoke(), HandleAutoscroll(), HandleBankruptcyTakeover(), HandleCrashedTrain(), HandleScrollbarScrolling(), HandleWindowDragging(), HasGrfMiscBit(), HasPowerOnRail(), HasPowerOnRoad(), HasRailCatenary(), HasRailTypeAvail(), GoodsEntry::HasRating(), HasRoadCatenary(), HasRoadTypeAvail(), HeightMapCoastLines(), HeightMapSmoothCoasts(), IConsoleGetSetting(), IndustryProductionCallback(), IndustryTemporarilyRefusesCargo(), IniSaveSettings(), InitRailTypes(), InitRoadTypes(), CommandHelperBase::InternalDoAfter(), CommandHelperBase::InternalExecutePrepTest(), CommandHelperBase::InternalExecuteProcessResult(), CommandHelperBase::InternalExecuteValidateTestAndPrepExec(), CommandHelperBase::InternalPostBefore(), IsArticulatedEngine(), IsArticulatedVehicleRefittable(), IsCompatibleRail(), GUIList< T, P, F >::IsDescSortOrder(), NWidgetCore::IsDisabled(), SettingDesc::IsEditable(), Engine::IsEnabled(), IsEngineBuildable(), IsEngineRefittable(), RoadStop::IsEntranceBusy(), ObjectSpec::IsEverAvailable(), SpecializedStation< T, Tis_waypoint >::IsExpected(), BaseSettingEntry::IsFiltered(), GUIList< T, P, F >::IsFilterEnabled(), RoadStop::IsFreeBay(), IsGoodGRFConfigList(), Engine::IsHidden(), NWidgetCore::IsHighlighted(), Aircraft::IsInDepot(), IsLoggableGrfConfig(), NWidgetCore::IsLowered(), IndustrySpec::IsProcessingIndustry(), IsRoadStopAvailable(), Waypoint::IsSingleTile(), IsStationAvailable(), Vehicle::IsStoppedInDepot(), IsTileForestIndustry(), LoadNewGRFFile(), LoadSettings(), LoadUnloadVehicle(), MakeCzechTownName(), IntSettingDesc::MakeValueValid(), MapAircraftMovementState(), MaybeBringWindowToFront(), MaybeCrashAirplane(), GUIList< T, P, F >::NeedRebuild(), NetworkHandlePauseChange(), NewVehicleAvailable(), ReplaceVehicleWindow::OnClick(), BuildVehicleWindow::OnClick(), GSConfigWindow::OnClick(), GenerateLandscapeWindow::OnClick(), CreateScenarioWindow::OnClick(), VehicleGroupWindow::OnClick(), NetworkStartServerWindow::OnClick(), NewGRFWindow::OnClick(), BuildRoadStationWindow::OnClick(), ScriptSettingsWindow::OnClick(), ScriptDebugWindow::OnClick(), TimetableWindow::OnClick(), TownAuthorityWindow::OnClick(), GameOptionsWindow::OnDropdownSelect(), GenerateLandscapeWindow::OnInvalidateData(), NewGRFWindow::OnInvalidateData(), BuildObjectWindow::OnInvalidateData(), PickerWindow::OnInvalidateData(), ScriptDebugWindow::OnInvalidateData(), TownAuthorityWindow::OnInvalidateData(), BuildHouseWindow::OnInvalidateData(), VehicleGroupWindow::OnPaint(), StationViewWindow::OnPaint(), TimetableWindow::OnPaint(), TownAuthorityWindow::OnPaint(), CheatWindow::OnQueryTextFinished(), GameOptionsWindow::OnQueryTextFinished(), SelectGameWindow::OnResize(), GameOptionsWindow::OnResize(), ParamSet(), PlayVehicleSound(), Vehicle::PreDestructor(), LinkRefresher::PredictNextOrder(), PrepareUnload(), Window::ProcessHighlightedInvalidations(), Rail90DegTurnDisallowed(), RailNoLevelCrossings(), RailVehicleChangeInfo(), RoadStop::Entry::Rebuild(), ServerNetworkGameSocketHandler::Receive_CLIENT_COMMAND(), NetworkGameSocketHandler::ReceiveCommand(), RefitVehicle(), LinkRefresher::RefreshLinks(), RelocateAllWindows(), RemoveAirport(), RemoveBuoy(), RemoveDock(), RemoveEngineReplacement(), RemoveFromRailBaseStation(), RemoveGenericRoadStop(), RemoveLock(), RemoveRailStation(), RemoveRoad(), RemoveRoadStop(), RemoveRoadWaypointStop(), ReplaceChain(), ReplaceFreeUnit(), ScriptConfig::ResetEditableSettings(), ResetSettings(), StationResolverObject::ResolveReal(), ReverseTrainSwapVeh(), RoadNoLevelCrossing(), RoadVehicleChangeInfo(), SendAllVehiclesToDepot(), Vehicle::SendToDepot(), SettingEntry::SetButtons(), SetMouseCursorVehicle(), LinkGraphLegendWindow::SetOverlay(), SetSettingValue(), SetSettingValue(), NWidgetHorizontal::SetupSmallestSize(), NWidgetVertical::SetupSmallestSize(), SetYearEngineAgingStops(), ShipVehicleChangeInfo(), ShowMissingContentWindow(), ShowNewGrfVehicleError(), ShowQueryString(), Vehicle::ShowVisualEffect(), GUIList< T, P, F >::Sort(), StartupOneEngine(), StateGameLoop_LinkGraphPauseControl(), StationHandleBigTick(), TestAutoslopeOnRailTile(), Aircraft::Tick(), RoadVehicle::Tick(), Ship::Tick(), Train::Tick(), TileLoop_Town(), ToolbarOptionsClick(), TownActionAdvertiseLarge(), TownActionAdvertiseMedium(), TownActionAdvertiseSmall(), TownActionBribe(), TownActionBuildStatue(), TownActionBuyRights(), TownActionFundBuildings(), TownActionRoadRebuild(), TownCanGrowRoad(), TownDirectoryWindow::TownRatingSorter(), TrainApproachingCrossingEnum(), TrainApproachingCrossingTile(), TrainController(), TrainCrashed(), TriggerHouseAnimation_TileLoop(), TriggerIndustryProduction(), TryBuildTownHouse(), LinkGraph::BaseEdge::Update(), UpdateAircraftSpeed(), Train::UpdateDeltaXY(), UpdateHousesAndTowns(), UpdateObjectColours(), UpdateSignalsAroundSegment(), UpdateSignalsInBuffer(), UpdateVehicleTimetable(), Station::UpdateVirtCoord(), Vehicle::UpdateVisualEffect(), QueryStringWindow::UpdateWidgetSize(), StationViewWindow::UpdateWidgetSize(), UsedBadgeClasses::UsedBadgeClasses(), VehicleEnteredDepotThisTick(), VehicleLengthChanged(), StringData::Version(), ViewportAddString(), and ViewportAddVehicles().
|
private |
Bitmask of values.
Definition at line 215 of file base_bitset_type.hpp.
|
staticconstexpr |
Mask of valid values.
Definition at line 29 of file base_bitset_type.hpp.