Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/OpenTTD/OpenTTD
/ IsEmpty
Method
IsEmpty
src/signal.cpp:91–94 ·
view source on GitHub ↗
* Checks for empty set * @return is the set empty? */
Source
from the content-addressed store, hash-verified
89
* @return is the set empty?
90
*/
91
bool IsEmpty()
92
{
93
return this->n == 0;
94
}
95
96
/**
97
* Checks for full set
Callers
5
UpdateSignalsInBuffer
Function · 0.45
AddTrackToSignalBuffer
Function · 0.45
AddSideToSignalBuffer
Function · 0.45
UpdateSignalsOnSegment
Function · 0.45
SetSignalsOnBothDir
Function · 0.45
Calls
no outgoing calls
Tested by
no test coverage detected