#include <gromacs/utility/stringutil.h>
Function object that wraps a call to formatString() that expects a single conversion argument, for use with algorithms.
|
| StringFormatter (const char *format) |
| Constructor. More...
|
|
template<typename T > |
std::string | operator() (const T &value) const |
| Implements the formatting functionality.
|
|
gmx::StringFormatter::StringFormatter |
( |
const char * |
format | ) |
|
|
inlineexplicit |
Constructor.
- Parameters
-
[in] | format | The printf-style format string that will be applied to convert values of type T to string. Exactly one argument to the conversion specification(s) in format is supported. |
The documentation for this class was generated from the following file: