Robot Framework
robot.output.console.highlighting.DosHighlighter Class Reference

Public Member Functions

def __init__ (self, stream)
 
def green (self)
 
def red (self)
 
def reset (self)
 
def yellow (self)
 

Private Member Functions

def _get_colors (self)
 
def _get_std_handle (self, stream)
 
def _set_colors (self, colors)
 
def _set_foreground_colors (self, colors)
 

Private Attributes

 _background
 
 _handle
 
 _orig_colors
 

Static Private Attributes

int _BACKGROUND_MASK
 
int _FOREGROUND_GREEN
 
int _FOREGROUND_GREY
 
int _FOREGROUND_INTENSITY
 
int _FOREGROUND_RED
 
int _FOREGROUND_YELLOW
 
int _STDERR_HANDLE
 
int _STDOUT_HANDLE
 

Detailed Description

Definition at line 164 of file highlighting.py.

Constructor & Destructor Documentation

◆ __init__()

def robot.output.console.highlighting.DosHighlighter.__init__ (   self,
  stream 
)

Definition at line 198 of file highlighting.py.

Member Function Documentation

◆ _get_colors()

def robot.output.console.highlighting.DosHighlighter._get_colors (   self)
private

Definition at line 220 of file highlighting.py.

◆ _get_std_handle()

def robot.output.console.highlighting.DosHighlighter._get_std_handle (   self,
  stream 
)
private

Definition at line 215 of file highlighting.py.

◆ _set_colors()

def robot.output.console.highlighting.DosHighlighter._set_colors (   self,
  colors 
)
private

Definition at line 230 of file highlighting.py.

◆ _set_foreground_colors()

def robot.output.console.highlighting.DosHighlighter._set_foreground_colors (   self,
  colors 
)
private

Definition at line 227 of file highlighting.py.

◆ green()

def robot.output.console.highlighting.DosHighlighter.green (   self)

Definition at line 203 of file highlighting.py.

◆ red()

def robot.output.console.highlighting.DosHighlighter.red (   self)

Definition at line 206 of file highlighting.py.

◆ reset()

def robot.output.console.highlighting.DosHighlighter.reset (   self)

Definition at line 212 of file highlighting.py.

◆ yellow()

def robot.output.console.highlighting.DosHighlighter.yellow (   self)

Definition at line 209 of file highlighting.py.

Member Data Documentation

◆ _background

robot.output.console.highlighting.DosHighlighter._background
private

Definition at line 201 of file highlighting.py.

◆ _BACKGROUND_MASK

robot.output.console.highlighting.DosHighlighter._BACKGROUND_MASK
staticprivate

Definition at line 188 of file highlighting.py.

◆ _FOREGROUND_GREEN

robot.output.console.highlighting.DosHighlighter._FOREGROUND_GREEN
staticprivate

Definition at line 168 of file highlighting.py.

◆ _FOREGROUND_GREY

robot.output.console.highlighting.DosHighlighter._FOREGROUND_GREY
staticprivate

Definition at line 180 of file highlighting.py.

◆ _FOREGROUND_INTENSITY

robot.output.console.highlighting.DosHighlighter._FOREGROUND_INTENSITY
staticprivate

Definition at line 184 of file highlighting.py.

◆ _FOREGROUND_RED

robot.output.console.highlighting.DosHighlighter._FOREGROUND_RED
staticprivate

Definition at line 172 of file highlighting.py.

◆ _FOREGROUND_YELLOW

robot.output.console.highlighting.DosHighlighter._FOREGROUND_YELLOW
staticprivate

Definition at line 176 of file highlighting.py.

◆ _handle

robot.output.console.highlighting.DosHighlighter._handle
private

Definition at line 199 of file highlighting.py.

◆ _orig_colors

robot.output.console.highlighting.DosHighlighter._orig_colors
private

Definition at line 200 of file highlighting.py.

◆ _STDERR_HANDLE

robot.output.console.highlighting.DosHighlighter._STDERR_HANDLE
staticprivate

Definition at line 196 of file highlighting.py.

◆ _STDOUT_HANDLE

robot.output.console.highlighting.DosHighlighter._STDOUT_HANDLE
staticprivate

Definition at line 192 of file highlighting.py.


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