MCPcopy Create free account
hub / github.com/COVESA/vsomeip / read_data

Function read_data

implementation/security/src/policy_manager_impl.cpp:28–37  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

26
27template<typename T_>
28void read_data(const std::string& _in, T_& _out) {
29 std::stringstream its_converter;
30
31 if (_in.size() > 2 && _in[0] == '0' && (_in[1] == 'x' || _in[1] == 'X'))
32 its_converter << std::hex << _in;
33 else
34 its_converter << _in;
35
36 its_converter >> _out;
37}
38
39policy_manager_impl::policy_manager_impl() :
40#ifndef VSOMEIP_DISABLE_SECURITY

Calls 1

sizeMethod · 0.45

Tested by

no test coverage detected