Template Function importConfigFromString

Function Documentation

template<class T>
static PyObject *importConfigFromString(PyTemplate<T> *self, PyObject *args)

Imports the config parameters from a string. The string should be equivalent to a file written by ConfigFileParser in Python.

Template Parameters
  • T: the simulation type
Parameters
  • self: the Python self object
  • args: arguments to parse