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

Method StringValue

avida-core/source/data/Package.cc:49–66  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

47
48
49Apto::String Avida::Data::ArrayPackage::StringValue() const
50{
51 Apto::String rtn;
52
53 if (!m_entries.GetSize()) return rtn;
54
55 rtn += "'";
56 rtn += m_entries[0]->StringValue();
57 rtn += "'";
58
59 for (int i = 1; i < m_entries.GetSize(); i++) {
60 rtn += ",'";
61 rtn += m_entries[i]->StringValue();
62 rtn += "'";
63 }
64
65 return rtn;
66}
67
68
69bool Avida::Data::ArrayPackage::IsAggregate() const { return true; }

Callers 15

ProcessMethod · 0.45
ProcessMethod · 0.45
ProcessMethod · 0.45
ProcessMethod · 0.45
ProcessMethod · 0.45
ProcessMethod · 0.45
MakeHistogramMethod · 0.45
ProcessMethod · 0.45
ProcessMethod · 0.45
ProcessMethod · 0.45
ProcessMethod · 0.45
ProcessMethod · 0.45

Calls 1

GetSizeMethod · 0.45

Tested by 3

TestPairsMethod · 0.36
TestAllPairsMethod · 0.36
GenomeTestMetricsMethod · 0.36