writer_utils.h File Reference

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

Include dependency graph for writer_utils.h:

This graph shows which files directly or indirectly include this file:

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.


Detailed Description

Definition in file writer_utils.h.


Define Documentation

#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)

Definition at line 85 of file writer_utils.h.


Generated on Tue Feb 9 14:47:16 2010 for COCONUT API by  doxygen 1.5.8