lean cpp library
A lean C++ library providing efficient utility classes for high-performance C++ applications.
Public Member Functions | Protected Member Functions
lean::strings::basic_charbuf< Elem, Traits > Class Template Reference

Character stream buffer class that is required to allow for allocation-free usage of STL streaming facilities. More...

#include <charstream.h>

List of all members.

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 ()

Detailed Description

template<class Elem, class Traits = std::char_traits<Elem>>
class lean::strings::basic_charbuf< Elem, Traits >

Character stream buffer class that is required to allow for allocation-free usage of STL streaming facilities.


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