GenericStringStream< Encoding > Struct Template Reference#
GenericStringStream< Encoding > Struct Template Reference
Read-only string stream. More...
#include <stream.h>
Public Types | |
| typedef Encoding::Ch | Ch |
Public Member Functions | |
| GenericStringStream (const Ch *src) | |
| Ch | Peek () const |
| Ch | Take () |
| size_t | Tell () const |
| Ch * | PutBegin () |
| void | Put (Ch) |
| void | Flush () |
| size_t | PutEnd (Ch *) |
Public Attributes | |
| const Ch * | src_ |
| Current read position. | |
| const Ch * | head_ |
| Original head of the string. | |
Detailed Description
template<typename Encoding>
struct GenericStringStream< Encoding >
struct GenericStringStream< Encoding >
Read-only string stream.
- Note
- implements Stream concept
Member Typedef Documentation
◆ Ch
template<typename Encoding>
| typedef Encoding::Ch GenericStringStream< Encoding >::Ch |
Constructor & Destructor Documentation
◆ GenericStringStream()
template<typename Encoding>
|
inline |
Member Function Documentation
◆ Flush()
template<typename Encoding>
|
inline |
◆ Peek()
template<typename Encoding>
|
inline |
◆ Put()
template<typename Encoding>
|
inline |
◆ PutBegin()
template<typename Encoding>
|
inline |
◆ PutEnd()
template<typename Encoding>
|
inline |
◆ Take()
template<typename Encoding>
|
inline |
◆ Tell()
template<typename Encoding>
|
inline |
Member Data Documentation
◆ head_
template<typename Encoding>
| const Ch* GenericStringStream< Encoding >::head_ |
Original head of the string.
◆ src_
template<typename Encoding>
| const Ch* GenericStringStream< Encoding >::src_ |
Current read position.
The documentation for this struct was generated from the following files: