MCPcopy Create free account
hub / github.com/Haivision/srt / OptionValue

Method OptionValue

test/test_main.cpp:65–81  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

63}
64
65std::string TestEnv::OptionValue(const std::string& key)
66{
67 std::ostringstream out;
68
69 auto it = argmap.find(key);
70 if (it != argmap.end() && !it->second.empty())
71 {
72 auto iv = it->second.begin();
73 out << (*iv);
74 while (++iv != it->second.end())
75 {
76 out << " " << (*iv);
77 }
78 }
79
80 return out.str();
81}
82
83// Specific functions
84bool TestEnv::Allowed_IPv6()

Callers

nothing calls this directly

Calls 5

findMethod · 0.45
endMethod · 0.45
emptyMethod · 0.45
beginMethod · 0.45
strMethod · 0.45

Tested by

no test coverage detected