Public Member Functions | Private Member Functions | Private Attributes
GnuplotWriter Class Reference

#include <gnuplot-iostream.h>

List of all members.

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

Detailed Description

Definition at line 228 of file gnuplot-iostream.h.


Constructor & Destructor Documentation

GnuplotWriter::GnuplotWriter ( std::ostream *  _stream,
bool  _send_e = true 
) [inline, explicit]

Definition at line 230 of file gnuplot-iostream.h.


Member Function Documentation

template<class T >
std::string GnuplotWriter::binfmt ( const std::vector< T > &  arr) [inline]

Definition at line 306 of file gnuplot-iostream.h.

template<class T >
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.

template<class T >
void GnuplotWriter::send ( arr) [inline]

Definition at line 296 of file gnuplot-iostream.h.

template<class T >
void GnuplotWriter::send ( const std::vector< std::vector< T > > &  vectors) [inline]

Definition at line 316 of file gnuplot-iostream.h.

template<class T >
void GnuplotWriter::sendBinary ( const std::vector< T > &  arr) [inline]

Definition at line 301 of file gnuplot-iostream.h.

template<class T >
void GnuplotWriter::sendBinary ( const std::vector< std::vector< T > > &  vectors) [inline]

Definition at line 349 of file gnuplot-iostream.h.

template<class T >
void GnuplotWriter::sendEntry ( v) [inline, private]

Definition at line 237 of file gnuplot-iostream.h.

template<class T , class U >
void GnuplotWriter::sendEntry ( std::pair< T, U >  v) [inline, private]

Definition at line 242 of file gnuplot-iostream.h.

template<class T , class U >
void GnuplotWriter::sendEntry ( t,
u 
) [inline, private]

Definition at line 247 of file gnuplot-iostream.h.

template<class T >
void GnuplotWriter::sendIter ( p,
last 
) [inline]

Definition at line 266 of file gnuplot-iostream.h.

template<class T , class U >
void GnuplotWriter::sendIterPair ( x,
x_last,
y,
y_last 
) [inline]

Definition at line 279 of file gnuplot-iostream.h.


Member Data Documentation

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.


The documentation for this class was generated from the following file:


sr_self_test
Author(s): Ugo Cupcic
autogenerated on Mon Oct 6 2014 07:52:52