#include <o_f_stream.h>
typedef std::string::size_type sizetype
OFStream ()
~OFStream ()
template<typename T > OFStream & scientific (const sizetype w, const T r)
template<> OFStream & scientific (const sizetype w, const Complex r)
This class provides a compatibility class for broken features in the std::ofstream of the older GCC versions. Other compilers do not see this class.
Definition at line 110 of file o_f_stream.h.
Definition at line 122 of file o_f_stream.h.
Definition at line 117 of file o_f_stream.h.
{};
Definition at line 122 of file o_f_stream.h.
{};
Definition at line 37 of file o_f_stream.C.
{
libmesh_assert (w < 30);
char buf[30];
char format[8];
// form the format for r
sprintf (format, '%%%de', w);
// form string as desired
sprintf (buf, format, r);
*this << buf;
return *this;
}
Definition at line 57 of file o_f_stream.C.
{
libmesh_assert (w < 30);
char buf[60];
char format[16];
// form the format for r
sprintf (format, '%%%de %%%de', w, w);
// form string as desired
sprintf (buf, format, r.real(), r.imag());
*this << buf;
return *this;
}
Generated automatically by Doxygen for libMesh from the source code.