MCPcopy 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

UpdateSignalsInBufferFunction · 0.45
AddTrackToSignalBufferFunction · 0.45
AddSideToSignalBufferFunction · 0.45
UpdateSignalsOnSegmentFunction · 0.45
SetSignalsOnBothDirFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected