Gromacs
2025-dev-20241003-bd59e46
|
Functions | |
void | writeStringToFile (const std::string &filename, const std::string &str) |
Helper function that dumps string into the file. More... | |
void gmx::anonymous_namespace{qmmmforceprovider.cpp}::writeStringToFile | ( | const std::string & | filename, |
const std::string & | str | ||
) |
Helper function that dumps string into the file.
[in] | filename | Name of the file to write. |
[in] | str | String to write into the file. |
std::bad_alloc | if out of memory. |
FileIOError | on any I/O error. |