PLearn 0.1
Namespaces | Functions
tostring.h File Reference
#include <string>
#include <plearn/io/PStream.h>
#include <plearn/io/StringPStreamBuf.h>
Include dependency graph for tostring.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

namespace  PLearn
 

< for swap


Functions

PStream & PLearn::_tostring_static_pstream_ (bool lock, PStream::mode_t io_formatting=PStream::raw_ascii)
 Returns an internal static PStream pointing to a StringPStreamBuf This should first be called with lock=true to acquire the lock on the stream (and set the io_formatting and clear the string buffer) It should then be called with lock=false to flush the stream and release the lock and clear the outmap.
string PLearn::tostring (const double &x, PStream::mode_t io_formatting)
string PLearn::tostring (const float &x, PStream::mode_t io_formatting=PStream::raw_ascii)
template<class T >
string PLearn::tostring (const T &x, PStream::mode_t io_formatting=PStream::raw_ascii)

Detailed Description

Definition in file tostring.h.

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines