RetroArch
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

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

Public Attributes

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

Detailed Description

template<typename 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>
GenericStringStream< Encoding >::GenericStringStream ( const Ch src)
inline

Member Function Documentation

◆ Flush()

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

◆ Peek()

template<typename Encoding>
Ch GenericStringStream< Encoding >::Peek ( ) const
inline
Here is the caller graph for this function:

◆ Put()

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

◆ PutBegin()

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

◆ PutEnd()

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

◆ Take()

template<typename Encoding>
Ch GenericStringStream< Encoding >::Take ( )
inline
Here is the caller graph for this function:

◆ Tell()

template<typename Encoding>
size_t GenericStringStream< Encoding >::Tell ( ) const
inline
Here is the caller graph for this function:

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: