MCPcopy Create free account
hub / github.com/OpenZWave/open-zwave / Iterator

Method Iterator

cpp/src/Bitfield.cpp:173–182  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

171 }
172
173Bitfield::Iterator::Iterator( Bitfield const* _bitfield, uint32 _idx ) :
174 m_idx( _idx ),
175 m_bitfield( _bitfield )
176{
177 // If this is a begin iterator, move it to the first set bit
178 if( ( _idx == 0 ) && ( !m_bitfield->IsSet(0) ) )
179 {
180 NextSetBit();
181 }
182}
183
184void Bitfield::Iterator::NextSetBit()
185{

Callers

nothing calls this directly

Calls 1

IsSetMethod · 0.45

Tested by

no test coverage detected