MCPcopy Create free account
hub / github.com/devosoft/avida / GetMatchString

Method GetMatchString

avida-core/source/main/cTaskLib.cc:2213–2223  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2211}
2212
2213cString cTaskLib::GetMatchString(int x)
2214{
2215 cString s;
2216 if (x >= 0 && x < (int)m_strings.size()){
2217 s = m_strings[x];
2218 } else {
2219 s = cString("");
2220 }
2221
2222 return s;
2223}
2224
2225
2226void cTaskLib::Load_MatchProdStr(const cString& name, const cString& argstr, cEnvReqs& envreqs, Feedback& feedback)

Callers 1

PrintStringMatchDataMethod · 0.45

Calls 1

cStringClass · 0.70

Tested by

no test coverage detected