lean cpp library
A lean C++ library providing efficient utility classes for high-performance C++ applications.
|
Character stream buffer class that is required to allow for allocation-free usage of STL streaming facilities. More...
#include <charstream.h>
Public Member Functions | |
basic_charbuf (char_type *begin, char_type *end) | |
Constructs a character stream buffer from the given character range. | |
void | reset () |
Resets the character stream buffer. | |
char_type * | begin () const |
Gets the beginning of the underlying buffer. | |
char_type * | end () const |
Gets the end of the underlying buffer. | |
char_type * | write_end () const |
Gets the current write position in the underlying buffer. | |
char_type * | read_end () const |
Gets the current read position in the underlying buffer. | |
Protected Member Functions | |
virtual void __CLR_OR_THIS_CALL | _Lock () |
virtual void __CLR_OR_THIS_CALL | _Unlock () |
Character stream buffer class that is required to allow for allocation-free usage of STL streaming facilities.