amath
1.8.5
Simple command line calculator
|
Encapsulates the IO of a Standard C console. More...
#include <console_stdc.h>
Public Member Functions | |
StandardConsole (const char *prompt) | |
virtual | ~StandardConsole () |
virtual void | Start () |
virtual void | Exit () |
virtual void | SetPrompt (const char *string) |
virtual void | WriteString (const char *string) |
virtual bool | SetAnsiMode (bool value) |
Public Member Functions inherited from ConsoleBase | |
ConsoleBase (const char *prompt) | |
virtual | ~ConsoleBase () |
const char * | GetName () |
virtual bool | Open () |
virtual void | Close () |
virtual void | Clear () |
virtual void | ShowHelp () |
virtual void | ShowAbout () |
virtual void | ShowLicense () |
virtual void | ShowVersion () |
virtual void | ResetConsole () |
Private Member Functions | |
void | ReadLine () |
Private Attributes | |
bool | exit |
char * | line |
Static Private Attributes | |
static const unsigned int | linesize = 1024 |
Additional Inherited Members | |
Protected Member Functions inherited from ConsoleBase | |
virtual void | StartMessage () |
void | Prompt () |
const char * | GetVersionText () |
const char * | GetCompilerText () |
Protected Attributes inherited from ConsoleBase | |
char * | prompt |
bool | ansiMode |
Encapsulates the IO of a Standard C console.
Definition at line 48 of file console_stdc.h.
|
explicit |
Definition at line 37 of file console_stdc.cpp.
|
virtual |
Definition at line 43 of file console_stdc.cpp.
|
virtual |
Implements ConsoleBase.
Definition at line 78 of file console_stdc.cpp.
|
private |
Definition at line 83 of file console_stdc.cpp.
Reimplemented from ConsoleBase.
Definition at line 48 of file console_stdc.cpp.
|
virtual |
|
virtual |
Implements ConsoleBase.
Definition at line 53 of file console_stdc.cpp.
|
virtual |
Implements ConsoleBase.
Definition at line 89 of file console_stdc.cpp.
|
private |
Definition at line 61 of file console_stdc.h.
|
private |
Definition at line 62 of file console_stdc.h.
|
staticprivate |
Definition at line 63 of file console_stdc.h.