bes Updated for version 3.21.1
The Backend Server (BES) is the lower two tiers of the Hyrax data server
CursorStreamWrapper< InputStream, Encoding > Class Template Reference

Cursor stream wrapper for counting line and column number if error exists. More...

#include <cursorstreamwrapper.h>

Inheritance diagram for CursorStreamWrapper< InputStream, Encoding >:
Inheritance graph
Collaboration diagram for CursorStreamWrapper< InputStream, Encoding >:
Collaboration graph

Public Types

typedef Encoding::Ch Ch
 

Public Member Functions

 CursorStreamWrapper (InputStream &is)
 
void Flush ()
 
size_t GetColumn () const
 Get the error column number, if error exists.
 
size_t GetLine () const
 Get the error line number, if error exists.
 
UTFType GetType () const
 
bool HasBOM () const
 
Ch Peek () const
 
const Ch * Peek4 () const
 
void Put (Ch ch)
 
Ch * PutBegin ()
 
size_t PutEnd (Ch *ch)
 
Ch Take ()
 
size_t Tell ()
 

Protected Attributes

InputStream & is_
 

Detailed Description

template<typename InputStream, typename Encoding = UTF8<>>
class CursorStreamWrapper< InputStream, Encoding >

Cursor stream wrapper for counting line and column number if error exists.

Template Parameters
InputStreamAny stream that implements Stream Concept

Definition at line 39 of file cursorstreamwrapper.h.

Member Typedef Documentation

◆ Ch

template<typename InputStream, typename Encoding = UTF8<>>
typedef Encoding::Ch CursorStreamWrapper< InputStream, Encoding >::Ch

Definition at line 41 of file cursorstreamwrapper.h.

Constructor & Destructor Documentation

◆ CursorStreamWrapper()

template<typename InputStream, typename Encoding = UTF8<>>
CursorStreamWrapper< InputStream, Encoding >::CursorStreamWrapper ( InputStream & is)
inline

Definition at line 43 of file cursorstreamwrapper.h.

Member Function Documentation

◆ Flush()

void GenericStreamWrapper< InputStream, UTF8<> >::Flush ( )
inlineinherited

Definition at line 129 of file stream.h.

◆ GetColumn()

template<typename InputStream, typename Encoding = UTF8<>>
size_t CursorStreamWrapper< InputStream, Encoding >::GetColumn ( ) const
inline

Get the error column number, if error exists.

Definition at line 61 of file cursorstreamwrapper.h.

◆ GetLine()

template<typename InputStream, typename Encoding = UTF8<>>
size_t CursorStreamWrapper< InputStream, Encoding >::GetLine ( ) const
inline

Get the error line number, if error exists.

Definition at line 59 of file cursorstreamwrapper.h.

◆ GetType()

UTFType GenericStreamWrapper< InputStream, UTF8<> >::GetType ( ) const
inlineinherited

Definition at line 136 of file stream.h.

◆ HasBOM()

bool GenericStreamWrapper< InputStream, UTF8<> >::HasBOM ( ) const
inlineinherited

Definition at line 137 of file stream.h.

◆ Peek()

Ch GenericStreamWrapper< InputStream, UTF8<> >::Peek ( ) const
inlineinherited

Definition at line 124 of file stream.h.

◆ Peek4()

const Ch * GenericStreamWrapper< InputStream, UTF8<> >::Peek4 ( ) const
inlineinherited

Definition at line 133 of file stream.h.

◆ Put()

void GenericStreamWrapper< InputStream, UTF8<> >::Put ( Ch ch)
inlineinherited

Definition at line 128 of file stream.h.

◆ PutBegin()

Ch * GenericStreamWrapper< InputStream, UTF8<> >::PutBegin ( )
inlineinherited

Definition at line 127 of file stream.h.

◆ PutEnd()

size_t GenericStreamWrapper< InputStream, UTF8<> >::PutEnd ( Ch * ch)
inlineinherited

Definition at line 130 of file stream.h.

◆ Take()

template<typename InputStream, typename Encoding = UTF8<>>
Ch CursorStreamWrapper< InputStream, Encoding >::Take ( )
inline

Definition at line 47 of file cursorstreamwrapper.h.

◆ Tell()

size_t GenericStreamWrapper< InputStream, UTF8<> >::Tell ( )
inlineinherited

Definition at line 126 of file stream.h.

Member Data Documentation

◆ is_

InputStream& GenericStreamWrapper< InputStream, UTF8<> >::is_
protectedinherited

Definition at line 140 of file stream.h.


The documentation for this class was generated from the following file: