CppCMS
|
Fast output stream object. More...
#include <cppcms/steal_buf.h>
Public Member Functions | |
stackstream () | |
char * | begin () |
char * | end () |
char * | c_str () |
std::string | str () |
Fast output stream object.
This is a special ostream that uses stack in order to receive the data and faster then std::stringstream for small chunks, also it is not limited for any particular size.
cppcms::util::stackstream< Size >::stackstream | ( | ) | [inline] |
Create a new stackstream
char* cppcms::util::stackstream< Size >::begin | ( | ) | [inline] |
Get the pointer to the first character in the range
References cppcms::util::stackbuf< OnStackSize >::begin().
char* cppcms::util::stackstream< Size >::c_str | ( | ) | [inline] |
Get a NUL terminated recorded string
References cppcms::util::stackbuf< OnStackSize >::c_str().
char* cppcms::util::stackstream< Size >::end | ( | ) | [inline] |
Get the pointer to the one past last character in the range
References cppcms::util::stackbuf< OnStackSize >::end().
std::string cppcms::util::stackstream< Size >::str | ( | ) | [inline] |
Get a recorded string
References cppcms::util::stackbuf< OnStackSize >::str().