AnsiEngine Class

Definition

Line 26 of System.Base/Ansi.cm

Constructors & Destructor

static AnsiEngine()
private nothrow AnsiEngine(int handle_)

Member Functions

public inline nothrow Constant DefaultTextColor() const
public inline nothrow Constant DefautBackColor() const
private void Emit(char c, const ColorCharOutputMethod& writeOutputChar)
public static AnsiEngine& Error()
public static AnsiEngine& Out()
public void Process(const String<char>& text, const ColorCharOutputMethod& writeOutputChar)
private void Put(char c, const ColorCharOutputMethod& writeOutputChar)
private nothrow void ResetAttributes()
private nothrow void SetAttributes()
public nothrow void SetDefaultBackColor(Constant color)
public nothrow void SetDefaultTextColor(Constant color)

Member Variables

private Constant backColor
private Constant currentBackColor
private Constant currentTextColor
private Constant defaultBackColor
private Constant defaultTextColor
private static UniquePtr<AnsiEngine> error
private int handle
private static UniquePtr<AnsiEngine> out
private int state
private Constant textColor
private UnicodeEngine unicodeEngine

Constructor& Destructor Details

AnsiEngine Static Constructor

static AnsiEngine()

Definition
Line 28 of System.Base/Ansi.cm


AnsiEngine Constructor

private nothrow AnsiEngine(int handle_)

Definition
Line 64 of System.Base/Ansi.cm


Member Function Details

DefaultTextColor Member Function

public inline nothrow Constant DefaultTextColor()

Definition
Line 48 of System.Base/Ansi.cm


DefautBackColor Member Function

public inline nothrow Constant DefautBackColor()

Definition
Line 52 of System.Base/Ansi.cm


Emit Member Function

private void Emit(char c, const ColorCharOutputMethod& writeOutputChar)

Definition
Line 772 of System.Base/Ansi.cm


Error Static Member Function

public static AnsiEngine& Error()

Definition
Line 37 of System.Base/Ansi.cm


Out Static Member Function

public static AnsiEngine& Out()

Definition
Line 33 of System.Base/Ansi.cm


Process Member Function

public void Process(const String<char>& text, const ColorCharOutputMethod& writeOutputChar)

Definition
Line 41 of System.Base/Ansi.cm


Put Member Function

private void Put(char c, const ColorCharOutputMethod& writeOutputChar)

Definition
Line 70 of System.Base/Ansi.cm


ResetAttributes Member Function

private nothrow void ResetAttributes()

Definition
Line 785 of System.Base/Ansi.cm


SetAttributes Member Function

private nothrow void SetAttributes()

Definition
Line 780 of System.Base/Ansi.cm


SetDefaultBackColor Member Function

public nothrow void SetDefaultBackColor(Constant color)

Definition
Line 60 of System.Base/Ansi.cm


SetDefaultTextColor Member Function

public nothrow void SetDefaultTextColor(Constant color)

Definition
Line 56 of System.Base/Ansi.cm