MySQL 8.3.0
Source Code Documentation
Vt100Filter Class Reference

#include <vt100_filter.h>

Inheritance diagram for Vt100Filter:
[legend]

Public Member Functions

 Vt100Filter (std::streambuf *sbuf, bool strip_vt100=true)
 

Protected Member Functions

int_type overflow (int_type ch) override
 

Private Types

enum class  State {
  PLAIN , ESC , CSI , CSI_PARAM ,
  CSI_INTERMEDIATE , OSC , ST
}
 

Private Attributes

std::streambuf * sbuf_
 
bool strip_vt100_
 
State state_ {State::PLAIN}
 

Member Enumeration Documentation

◆ State

enum class Vt100Filter::State
strongprivate
Enumerator
PLAIN 
ESC 
CSI 
CSI_PARAM 
CSI_INTERMEDIATE 
OSC 
ST 

Constructor & Destructor Documentation

◆ Vt100Filter()

Vt100Filter::Vt100Filter ( std::streambuf *  sbuf,
bool  strip_vt100 = true 
)
inline

Member Function Documentation

◆ overflow()

Vt100Filter::int_type Vt100Filter::overflow ( int_type  ch)
overrideprotected

Member Data Documentation

◆ sbuf_

std::streambuf* Vt100Filter::sbuf_
private

◆ state_

State Vt100Filter::state_ {State::PLAIN}
private

◆ strip_vt100_

bool Vt100Filter::strip_vt100_
private

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