Public Types | Public Member Functions | Public Attributes | List of all members
GenericStringStream< Encoding > Struct Template Reference

Read-only string stream. More...

#include <fwd.h>

Public Types

typedef Encoding::Ch Ch
 

Public Member Functions

void Flush ()
 
 GenericStringStream (const Ch *src)
 
Ch Peek () const
 
void Put (Ch)
 
ChPutBegin ()
 
size_t PutEnd (Ch *)
 
Ch Take ()
 
size_t Tell () const
 

Public Attributes

const Chhead_
 Original head of the string. More...
 
const Chsrc_
 Current read position. More...
 

Detailed Description

template<typename Encoding>
struct GenericStringStream< Encoding >

Read-only string stream.

Note
implements Stream concept

Definition at line 56 of file fwd.h.

Member Typedef Documentation

template<typename Encoding>
typedef Encoding::Ch GenericStringStream< Encoding >::Ch

Definition at line 196 of file stream.h.

Constructor & Destructor Documentation

template<typename Encoding>
GenericStringStream< Encoding >::GenericStringStream ( const Ch src)
inline

Definition at line 198 of file stream.h.

Member Function Documentation

template<typename Encoding>
void GenericStringStream< Encoding >::Flush ( )
inline

Definition at line 224 of file stream.h.

template<typename Encoding>
Ch GenericStringStream< Encoding >::Peek ( ) const
inline

Definition at line 202 of file stream.h.

template<typename Encoding>
void GenericStringStream< Encoding >::Put ( Ch  )
inline

Definition at line 220 of file stream.h.

template<typename Encoding>
Ch* GenericStringStream< Encoding >::PutBegin ( )
inline

Definition at line 215 of file stream.h.

template<typename Encoding>
size_t GenericStringStream< Encoding >::PutEnd ( Ch )
inline

Definition at line 228 of file stream.h.

template<typename Encoding>
Ch GenericStringStream< Encoding >::Take ( )
inline

Definition at line 206 of file stream.h.

template<typename Encoding>
size_t GenericStringStream< Encoding >::Tell ( ) const
inline

Definition at line 210 of file stream.h.

Member Data Documentation

template<typename Encoding>
const Ch* GenericStringStream< Encoding >::head_

Original head of the string.

Definition at line 235 of file stream.h.

template<typename Encoding>
const Ch* GenericStringStream< Encoding >::src_

Current read position.

Definition at line 234 of file stream.h.


The documentation for this struct was generated from the following files:


xbot_talker
Author(s): wangxiaoyun
autogenerated on Sat Oct 10 2020 03:27:54