cphot 0.1
A C++ tool for computing photometry from spectra.
GenericInsituStringStream< Encoding > Struct Template Reference

A read-write string stream. More...

#include <fwd.h>

Public Types

typedef Encoding::Ch Ch
 

Public Member Functions

 GenericInsituStringStream (Ch *src)
 
Ch Peek ()
 
Ch Take ()
 
size_t Tell ()
 
void Put (Ch c)
 
ChPutBegin ()
 
size_t PutEnd (Ch *begin)
 
void Flush ()
 
ChPush (size_t count)
 
void Pop (size_t count)
 

Public Attributes

Chsrc_
 
Chdst_
 
Chhead_
 

Detailed Description

template<typename Encoding>
struct GenericInsituStringStream< Encoding >

A read-write string stream.

This string stream is particularly designed for in-situ parsing.

Note
implements Stream concept

Definition at line 52 of file fwd.h.

Member Typedef Documentation

◆ Ch

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

Definition at line 145 of file stream.h.

Constructor & Destructor Documentation

◆ GenericInsituStringStream()

template<typename Encoding >
GenericInsituStringStream< Encoding >::GenericInsituStringStream ( Ch src)
inline

Definition at line 147 of file stream.h.

Member Function Documentation

◆ Flush()

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

Definition at line 159 of file stream.h.

◆ Peek()

template<typename Encoding >
Ch GenericInsituStringStream< Encoding >::Peek ( )
inline

Definition at line 150 of file stream.h.

◆ Pop()

template<typename Encoding >
void GenericInsituStringStream< Encoding >::Pop ( size_t  count)
inline

Definition at line 162 of file stream.h.

◆ Push()

template<typename Encoding >
Ch* GenericInsituStringStream< Encoding >::Push ( size_t  count)
inline

Definition at line 161 of file stream.h.

◆ Put()

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

Definition at line 155 of file stream.h.

◆ PutBegin()

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

Definition at line 157 of file stream.h.

◆ PutEnd()

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

Definition at line 158 of file stream.h.

◆ Take()

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

Definition at line 151 of file stream.h.

◆ Tell()

template<typename Encoding >
size_t GenericInsituStringStream< Encoding >::Tell ( )
inline

Definition at line 152 of file stream.h.

Member Data Documentation

◆ dst_

template<typename Encoding >
Ch* GenericInsituStringStream< Encoding >::dst_

Definition at line 165 of file stream.h.

◆ head_

template<typename Encoding >
Ch* GenericInsituStringStream< Encoding >::head_

Definition at line 166 of file stream.h.

◆ src_

template<typename Encoding >
Ch* GenericInsituStringStream< Encoding >::src_

Definition at line 164 of file stream.h.


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