#include <string>#include <ctime>#include <sstream>#include <infinity.h>


Go to the source code of this file.
Namespaces | |
| namespace | coco |
| the main namespace of the COCONUT API | |
Defines | |
| #define | double_out(d) (d) |
| #define | coconut_sscanfdouble(D, S, F,...) sscanf(S, F " %lf", ## __VA_ARGS__, D) |
Functions | |
| template<class _TH > | |
| std::string | coco::convert_to_str (const _TH &_h) |
| Convert an object of any printable class to a string. | |
| std::string | coco::i2a (int x) |
| converter int -> string | |
| std::string | coco::localdatetime () |
| converter date & time into std::string | |
| std::string | coco::datetime (const struct tm *timeptr) |
| local time as C++ string | |
| std::string | coco::e2D (double d) |
| Fortran real as C++ string. | |
Definition in file writer_utils.h.
| #define coconut_sscanfdouble | ( | D, | |||
| S, | |||||
| F, | |||||
| ... | ) | sscanf(S, F " %lf", ## __VA_ARGS__, D) |
Definition at line 86 of file writer_utils.h.
| #define double_out | ( | d | ) | (d) |
Definition at line 85 of file writer_utils.h.
1.5.8