MCPcopy Create free account
hub / github.com/SoarGroup/Soar / SVSQuery

Method SVSQuery

Core/ClientSML/src/sml_ClientKernel.cpp:2573–2584  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2571}
2572
2573std::string Kernel::SVSQuery(const char* agentName, const std::string& q)
2574{
2575 AnalyzeXML response;
2576 if (GetConnection()->SendAgentCommand(&response, sml_Names::kCommand_SVSQuery, agentName, sml_Names::kParamLine, q.c_str()))
2577 {
2578 return response.GetResultString();
2579 }
2580 else
2581 {
2582 return "";
2583 }
2584}

Callers

nothing calls this directly

Calls 3

SendAgentCommandMethod · 0.80
GetConnectionFunction · 0.70
GetResultStringMethod · 0.45

Tested by

no test coverage detected