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

Method SetFromString

cpp/src/value_classes/ValueInt.cpp:92–99  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

90}
91
92bool ValueInt::SetFromString
93(
94 string const& _value
95)
96{
97 int32 val = atoi( _value.c_str() );
98 return Set( val );
99}
100
101//-----------------------------------------------------------------------------
102// <ValueInt::ReadXML>

Callers 1

SetValueMethod · 0.45

Calls 2

SetFunction · 0.85
c_strMethod · 0.45

Tested by

no test coverage detected