Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
120
uint32 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
129
uint32 Bitfield::GetSize() const
130
{
Callers
nothing calls this directly
Calls
1
size
Method · 0.45
Tested by
no test coverage detected