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

Method GetResultInt

Core/ConnectionSML/src/sml_AnalyzeXML.cpp:85–96  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

83}
84
85int AnalyzeXML::GetResultInt(int defaultValue) const
86{
87 if (!m_pResult || m_pResult->GetCharacterData() == NULL)
88 {
89 return defaultValue ;
90 }
91
92 int value = defaultValue;
93 from_c_string(value, m_pResult->GetCharacterData());
94
95 return value ;
96}
97
98int64_t AnalyzeXML::GetResultInt(int64_t defaultValue) const
99{

Callers

nothing calls this directly

Calls 2

from_c_stringFunction · 0.50
GetCharacterDataMethod · 0.45

Tested by

no test coverage detected