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 60 of file fwd.h.

Member Typedef Documentation

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

Definition at line 161 of file stream.h.

Constructor & Destructor Documentation

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

Definition at line 163 of file stream.h.

Member Function Documentation

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

Definition at line 174 of file stream.h.

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

Definition at line 165 of file stream.h.

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

Definition at line 173 of file stream.h.

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

Definition at line 169 of file stream.h.

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

Definition at line 175 of file stream.h.

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

Definition at line 166 of file stream.h.

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

Definition at line 167 of file stream.h.

Member Data Documentation

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

Original head of the string.

Definition at line 181 of file stream.h.

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

Current read position.

Definition at line 180 of file stream.h.


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


livox_ros_driver
Author(s): Livox Dev Team
autogenerated on Mon Mar 15 2021 02:40:46