38 mBuffer.setf(std::ios_base::scientific);
50 mBuffer.setf(std::ios_base::scientific);
83 if (ConfigFile.fail())
91 if (ConfigFile.fail())
111 const std::string & type,
118 if (type !=
"multiline")
122 if (type ==
"string")
124 mBuffer << *(std::string *) pout;
126 else if (type ==
"C_FLOAT64")
130 else if (type ==
"C_INT32")
134 else if (type ==
"C_INT16")
138 else if (type ==
"bool")
140 mBuffer << (*(
bool *) pout) ? 1 : 0;
142 else if (type ==
"multiline")
145 mBuffer << *(std::string *) pout << std::endl;
162 const std::string & type,
195 setVariable(
"Version",
"string", &Copasi->ProgramVersion.getVersion());
198 std::string Version(
"4.0.0");
C_INT32 setVariable(const std::string &name, const std::string &type, const void *pout)
std::ios_base::openmode mOpenMode
unsigned C_INT32 mLineNumber
std::stringstream mBuffer