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

Method GetGroup

cpp/src/Node.cpp:2910–2922  ·  view source on GitHub ↗

----------------------------------------------------------------------------- Get a Group from the node's map -----------------------------------------------------------------------------

Source from the content-addressed store, hash-verified

2908// Get a Group from the node's map
2909//-----------------------------------------------------------------------------
2910Group* Node::GetGroup
2911(
2912 uint8 const _groupIdx
2913)
2914{
2915 map<uint8,Group*>::iterator it = m_groups.find( _groupIdx );
2916 if( it == m_groups.end() )
2917 {
2918 return NULL;
2919 }
2920
2921 return it->second;
2922}
2923
2924//-----------------------------------------------------------------------------
2925// <Node::AddGroup>

Callers 4

CheckAutoMethod · 0.80
HandleMsgMethod · 0.80
HandleMsgMethod · 0.80
HandleMsgMethod · 0.80

Calls 2

findMethod · 0.80
endMethod · 0.45

Tested by

no test coverage detected