#include <gnuplot-iostream.h>
Public Member Functions | |
template<class T > | |
std::string | binfmt (const std::vector< T > &arr) |
template<class T > | |
std::string | binfmt (const std::vector< std::vector< T > > &arr) |
GnuplotWriter (std::ostream *_stream, bool _send_e=true) | |
template<class T > | |
void | send (T arr) |
template<class T > | |
void | send (const std::vector< std::vector< T > > &vectors) |
template<class T > | |
void | sendBinary (const std::vector< T > &arr) |
template<class T > | |
void | sendBinary (const std::vector< std::vector< T > > &vectors) |
template<class T > | |
void | sendIter (T p, T last) |
template<class T , class U > | |
void | sendIterPair (T x, T x_last, U y, U y_last) |
Private Member Functions | |
std::string | formatCode (float *) |
std::string | formatCode (double *) |
std::string | formatCode (int8_t *) |
std::string | formatCode (uint8_t *) |
std::string | formatCode (int16_t *) |
std::string | formatCode (uint16_t *) |
std::string | formatCode (int32_t *) |
std::string | formatCode (uint32_t *) |
std::string | formatCode (int64_t *) |
std::string | formatCode (uint64_t *) |
template<class T > | |
void | sendEntry (T v) |
template<class T , class U > | |
void | sendEntry (std::pair< T, U > v) |
template<class T , class U > | |
void | sendEntry (T t, U u) |
Private Attributes | |
bool | send_e |
std::ostream * | stream |
Definition at line 228 of file gnuplot-iostream.h.
GnuplotWriter::GnuplotWriter | ( | std::ostream * | _stream, |
bool | _send_e = true |
||
) | [inline, explicit] |
Definition at line 230 of file gnuplot-iostream.h.
std::string GnuplotWriter::binfmt | ( | const std::vector< T > & | arr | ) | [inline] |
Definition at line 306 of file gnuplot-iostream.h.
std::string GnuplotWriter::binfmt | ( | const std::vector< std::vector< T > > & | arr | ) | [inline] |
Definition at line 335 of file gnuplot-iostream.h.
std::string GnuplotWriter::formatCode | ( | float * | ) | [inline, private] |
Definition at line 252 of file gnuplot-iostream.h.
std::string GnuplotWriter::formatCode | ( | double * | ) | [inline, private] |
Definition at line 253 of file gnuplot-iostream.h.
std::string GnuplotWriter::formatCode | ( | int8_t * | ) | [inline, private] |
Definition at line 254 of file gnuplot-iostream.h.
std::string GnuplotWriter::formatCode | ( | uint8_t * | ) | [inline, private] |
Definition at line 255 of file gnuplot-iostream.h.
std::string GnuplotWriter::formatCode | ( | int16_t * | ) | [inline, private] |
Definition at line 256 of file gnuplot-iostream.h.
std::string GnuplotWriter::formatCode | ( | uint16_t * | ) | [inline, private] |
Definition at line 257 of file gnuplot-iostream.h.
std::string GnuplotWriter::formatCode | ( | int32_t * | ) | [inline, private] |
Definition at line 258 of file gnuplot-iostream.h.
std::string GnuplotWriter::formatCode | ( | uint32_t * | ) | [inline, private] |
Definition at line 259 of file gnuplot-iostream.h.
std::string GnuplotWriter::formatCode | ( | int64_t * | ) | [inline, private] |
Definition at line 260 of file gnuplot-iostream.h.
std::string GnuplotWriter::formatCode | ( | uint64_t * | ) | [inline, private] |
Definition at line 261 of file gnuplot-iostream.h.
void GnuplotWriter::send | ( | T | arr | ) | [inline] |
Definition at line 296 of file gnuplot-iostream.h.
void GnuplotWriter::send | ( | const std::vector< std::vector< T > > & | vectors | ) | [inline] |
Definition at line 316 of file gnuplot-iostream.h.
void GnuplotWriter::sendBinary | ( | const std::vector< T > & | arr | ) | [inline] |
Definition at line 301 of file gnuplot-iostream.h.
void GnuplotWriter::sendBinary | ( | const std::vector< std::vector< T > > & | vectors | ) | [inline] |
Definition at line 349 of file gnuplot-iostream.h.
void GnuplotWriter::sendEntry | ( | T | v | ) | [inline, private] |
Definition at line 237 of file gnuplot-iostream.h.
void GnuplotWriter::sendEntry | ( | std::pair< T, U > | v | ) | [inline, private] |
Definition at line 242 of file gnuplot-iostream.h.
void GnuplotWriter::sendEntry | ( | T | t, |
U | u | ||
) | [inline, private] |
Definition at line 247 of file gnuplot-iostream.h.
void GnuplotWriter::sendIter | ( | T | p, |
T | last | ||
) | [inline] |
Definition at line 266 of file gnuplot-iostream.h.
void GnuplotWriter::sendIterPair | ( | T | x, |
T | x_last, | ||
U | y, | ||
U | y_last | ||
) | [inline] |
Definition at line 279 of file gnuplot-iostream.h.
bool GnuplotWriter::send_e [private] |
Definition at line 415 of file gnuplot-iostream.h.
std::ostream* GnuplotWriter::stream [private] |
Definition at line 414 of file gnuplot-iostream.h.