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

Method MakeString

avida-core/source/tools/cFlexVar.h:289–289  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

287 char MakeChar() { char val = AsChar(); delete m_var; m_var = new cFlexVar_Char(val); return val; }
288 double MakeDouble() { double val = AsDouble(); delete m_var; m_var = new cFlexVar_Double(val); return val; }
289 cString MakeString() { cString val = AsString(); delete m_var; m_var = new cFlexVar_String(val); return val; }
290
291 // Setup assignment operators...
292 cFlexVar & operator=(const cFlexVar & in_var) {

Callers

nothing calls this directly

Calls 1

AsStringFunction · 0.85

Tested by

no test coverage detected