Wire Sysio Wire Sysion 1.0.0
Loading...
Searching...
No Matches
internal::DecodedStream< SourceStream, Encoding > Class Template Reference

#include <regex.h>

Public Member Functions

 DecodedStream (SourceStream &ss)
 
unsigned Peek ()
 
unsigned Take ()
 

Detailed Description

template<typename SourceStream, typename Encoding>
class internal::DecodedStream< SourceStream, Encoding >

Definition at line 51 of file regex.h.

Constructor & Destructor Documentation

◆ DecodedStream()

template<typename SourceStream , typename Encoding >
internal::DecodedStream< SourceStream, Encoding >::DecodedStream ( SourceStream & ss)
inline

Definition at line 53 of file regex.h.

53: ss_(ss), codepoint_() { Decode(); }

Member Function Documentation

◆ Peek()

template<typename SourceStream , typename Encoding >
unsigned internal::DecodedStream< SourceStream, Encoding >::Peek ( )
inline

Definition at line 54 of file regex.h.

54{ return codepoint_; }

◆ Take()

template<typename SourceStream , typename Encoding >
unsigned internal::DecodedStream< SourceStream, Encoding >::Take ( )
inline

Definition at line 55 of file regex.h.

55 {
56 unsigned c = codepoint_;
57 if (c) // No further decoding when '\0'
58 Decode();
59 return c;
60 }

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