#include <memstream.h>
Public Types | |
typedef Traits_t::char_type | char_type |
typedef Traits_t::int_type | int_type |
typedef Traits_t | traits_type |
Public Member Functions | |
basic_omemstream (char_type *buf, size_t size) | |
char_type * | begin () const |
bool | empty () const |
char_type * | end () const |
size_t | size () const |
Private Member Functions | |
int_type | overflow (int_type c) |
int | sync () |
std::streamsize | xsputn (char_type const *data, std::streamsize size) |
Private Attributes | |
char_type * | buffer |
char_type * | cur |
char_type * | last |
Definition at line 24 of file memstream.h.
typedef Traits_t::char_type ext::basic_omemstream< Item_t, Traits_t, Allocator_t >::char_type |
Definition at line 27 of file memstream.h.
typedef Traits_t::int_type ext::basic_omemstream< Item_t, Traits_t, Allocator_t >::int_type |
Definition at line 28 of file memstream.h.
typedef Traits_t ext::basic_omemstream< Item_t, Traits_t, Allocator_t >::traits_type |
Definition at line 29 of file memstream.h.
ext::basic_omemstream< Item_t, Traits_t, Allocator_t >::basic_omemstream | ( | char_type * | buf, |
size_t | size | ||
) | [inline] |
char_type* ext::basic_omemstream< Item_t, Traits_t, Allocator_t >::begin | ( | void | ) | const [inline] |
Definition at line 36 of file memstream.h.
References ext::basic_omemstream< Item_t, Traits_t, Allocator_t >::buffer.
{ return buffer; }
bool ext::basic_omemstream< Item_t, Traits_t, Allocator_t >::empty | ( | void | ) | const [inline] |
Definition at line 39 of file memstream.h.
References ext::basic_omemstream< Item_t, Traits_t, Allocator_t >::buffer, and ext::basic_omemstream< Item_t, Traits_t, Allocator_t >::cur.
char_type* ext::basic_omemstream< Item_t, Traits_t, Allocator_t >::end | ( | void | ) | const [inline] |
Definition at line 37 of file memstream.h.
References ext::basic_omemstream< Item_t, Traits_t, Allocator_t >::cur.
{ return cur; }
int_type ext::basic_omemstream< Item_t, Traits_t, Allocator_t >::overflow | ( | int_type | c | ) | [inline, private] |
Definition at line 49 of file memstream.h.
References trackerHits::c, matplotRender::t, and ext::basic_omemstream< Item_t, Traits_t, Allocator_t >::xsputn().
size_t ext::basic_omemstream< Item_t, Traits_t, Allocator_t >::size | ( | void | ) | const [inline] |
Definition at line 38 of file memstream.h.
References ext::basic_omemstream< Item_t, Traits_t, Allocator_t >::buffer, and ext::basic_omemstream< Item_t, Traits_t, Allocator_t >::cur.
Referenced by ext::basic_omemstream< Item_t, Traits_t, Allocator_t >::xsputn().
int ext::basic_omemstream< Item_t, Traits_t, Allocator_t >::sync | ( | ) | [inline, private] |
Definition at line 60 of file memstream.h.
{ return 0; }
std::streamsize ext::basic_omemstream< Item_t, Traits_t, Allocator_t >::xsputn | ( | char_type const * | data, |
std::streamsize | size | ||
) | [inline, private] |
Definition at line 42 of file memstream.h.
References filterCSVwithJSON::copy, ext::basic_omemstream< Item_t, Traits_t, Allocator_t >::cur, ext::basic_omemstream< Item_t, Traits_t, Allocator_t >::last, n, and ext::basic_omemstream< Item_t, Traits_t, Allocator_t >::size().
Referenced by ext::basic_omemstream< Item_t, Traits_t, Allocator_t >::overflow().
char_type* ext::basic_omemstream< Item_t, Traits_t, Allocator_t >::buffer [private] |
Definition at line 62 of file memstream.h.
Referenced by ext::basic_omemstream< Item_t, Traits_t, Allocator_t >::begin(), ext::basic_omemstream< Item_t, Traits_t, Allocator_t >::empty(), and ext::basic_omemstream< Item_t, Traits_t, Allocator_t >::size().
char_type * ext::basic_omemstream< Item_t, Traits_t, Allocator_t >::cur [private] |
Definition at line 62 of file memstream.h.
Referenced by ext::basic_omemstream< Item_t, Traits_t, Allocator_t >::empty(), ext::basic_omemstream< Item_t, Traits_t, Allocator_t >::end(), ext::basic_omemstream< Item_t, Traits_t, Allocator_t >::size(), and ext::basic_omemstream< Item_t, Traits_t, Allocator_t >::xsputn().
char_type * ext::basic_omemstream< Item_t, Traits_t, Allocator_t >::last [private] |
Definition at line 62 of file memstream.h.
Referenced by ext::basic_omemstream< Item_t, Traits_t, Allocator_t >::xsputn().