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

Method GetValue

cpp/src/Bitfield.cpp:120–127  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

118}
119
120uint32 Bitfield::GetValue() const
121{
122 uint32 value = 0;
123 for (unsigned int i = 0; i < m_bits.size(); i++) {
124 value += ( m_bits[i] << (8*i) );
125 }
126 return value;
127}
128
129uint32 Bitfield::GetSize() const
130{

Callers

nothing calls this directly

Calls 1

sizeMethod · 0.45

Tested by

no test coverage detected