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

Method initMappings

avida-core/source/tools/cInitFile.cc:94–99  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

92
93
94void cInitFile::initMappings(const Apto::Map<Apto::String, Apto::String>& mappings)
95{
96 for (Apto::Map<Apto::String, Apto::String>::ConstIterator it = mappings.Begin(); it.Next() != NULL;) {
97 m_mappings.Set(it.Get()->Value1(), *it.Get()->Value2());
98 }
99}
100
101
102bool cInitFile::loadFile(const cString& filename, Apto::Array<sLine*, Apto::Smart>& lines, const cString& working_dir,

Callers

nothing calls this directly

Calls 4

BeginMethod · 0.45
NextMethod · 0.45
SetMethod · 0.45
GetMethod · 0.45

Tested by

no test coverage detected