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

Method Add

avida-core/source/tools/tDataManager.h:52–60  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

50 }
51
52 template<class EntryType> bool Add(const cString& name, const cString& desc,
53 EntryType (TargetType::*funR)() const, void (TargetType::*funS)(EntryType) = NULL,
54 int compare = 0, const cString& null = "0", const cString& html_cell = "align=center")
55 {
56 tDataEntry<TargetType>* new_entry =
57 new tDataEntryOfType<TargetType, EntryType ()>(name, desc, funR, funS, compare, null, html_cell);
58 m_entry_dict.Set((const char*)name, new_entry);
59 return true;
60 }
61
62 bool Print(const cString& name, std::ostream& fp) const
63 {

Callers

nothing calls this directly

Calls 1

SetMethod · 0.45

Tested by

no test coverage detected