Console access helper class. More...
#include <console.h>
Static Public Member Functions | |
Operations | |
| static void | write (const CL_StringRef &text) |
| Writes text to the console window. | |
| template<class Arg1 > | |
| static void | write (const CL_StringRef &format, Arg1 arg1) |
| Write. | |
| template<class Arg1 , class Arg2 > | |
| static void | write (const CL_StringRef &format, Arg1 arg1, Arg2 arg2) |
| Write. | |
| template<class Arg1 , class Arg2 , class Arg3 > | |
| static void | write (const CL_StringRef &format, Arg1 arg1, Arg2 arg2, Arg3 arg3) |
| Write. | |
| template<class Arg1 , class Arg2 , class Arg3 , class Arg4 > | |
| static void | write (const CL_StringRef &format, Arg1 arg1, Arg2 arg2, Arg3 arg3, Arg4 arg4) |
| Write. | |
| template<class Arg1 , class Arg2 , class Arg3 , class Arg4 , class Arg5 > | |
| static void | write (const CL_StringRef &format, Arg1 arg1, Arg2 arg2, Arg3 arg3, Arg4 arg4, Arg5 arg5) |
| Write. | |
| template<class Arg1 , class Arg2 , class Arg3 , class Arg4 , class Arg5 , class Arg6 > | |
| static void | write (const CL_StringRef &format, Arg1 arg1, Arg2 arg2, Arg3 arg3, Arg4 arg4, Arg5 arg5, Arg6 arg6) |
| Write. | |
| template<class Arg1 , class Arg2 , class Arg3 , class Arg4 , class Arg5 , class Arg6 , class Arg7 > | |
| static void | write (const CL_StringRef &format, Arg1 arg1, Arg2 arg2, Arg3 arg3, Arg4 arg4, Arg5 arg5, Arg6 arg6, Arg7 arg7) |
| Write. | |
| static void | write_line (const CL_StringRef &text) |
| Writes text to the console window and then advances to a new line. | |
| template<class Arg1 > | |
| static void | write_line (const CL_StringRef &format, Arg1 arg1) |
| Write line. | |
| template<class Arg1 , class Arg2 > | |
| static void | write_line (const CL_StringRef &format, Arg1 arg1, Arg2 arg2) |
| Write line. | |
| template<class Arg1 , class Arg2 , class Arg3 > | |
| static void | write_line (const CL_StringRef &format, Arg1 arg1, Arg2 arg2, Arg3 arg3) |
| Write line. | |
| template<class Arg1 , class Arg2 , class Arg3 , class Arg4 > | |
| static void | write_line (const CL_StringRef &format, Arg1 arg1, Arg2 arg2, Arg3 arg3, Arg4 arg4) |
| Write line. | |
| template<class Arg1 , class Arg2 , class Arg3 , class Arg4 , class Arg5 > | |
| static void | write_line (const CL_StringRef &format, Arg1 arg1, Arg2 arg2, Arg3 arg3, Arg4 arg4, Arg5 arg5) |
| Write line. | |
| template<class Arg1 , class Arg2 , class Arg3 , class Arg4 , class Arg5 , class Arg6 > | |
| static void | write_line (const CL_StringRef &format, Arg1 arg1, Arg2 arg2, Arg3 arg3, Arg4 arg4, Arg5 arg5, Arg6 arg6) |
| Write line. | |
| template<class Arg1 , class Arg2 , class Arg3 , class Arg4 , class Arg5 , class Arg6 , class Arg7 > | |
| static void | write_line (const CL_StringRef &format, Arg1 arg1, Arg2 arg2, Arg3 arg3, Arg4 arg4, Arg5 arg5, Arg6 arg6, Arg7 arg7) |
| Write line. | |
| static void | wait_for_key () |
| Block until a key is pressed in the console window. | |
Console access helper class.
| static void CL_Console::wait_for_key | ( | ) | [static] |
Block until a key is pressed in the console window.
This function does not do anything on Linux.
| static void CL_Console::write | ( | const CL_StringRef & | format, | |
| Arg1 | arg1, | |||
| Arg2 | arg2, | |||
| Arg3 | arg3, | |||
| Arg4 | arg4, | |||
| Arg5 | arg5, | |||
| Arg6 | arg6, | |||
| Arg7 | arg7 | |||
| ) | [inline, static] |
Write.
| format | = String Ref | |
| arg1 | = Arg1 | |
| arg2 | = Arg2 | |
| arg3 | = Arg3 | |
| arg4 | = Arg4 | |
| arg5 | = Arg5 | |
| arg6 | = Arg6 | |
| arg7 | = Arg7 |
| static void CL_Console::write | ( | const CL_StringRef & | text | ) | [static] |
Writes text to the console window.
Referenced by write().
| static void CL_Console::write | ( | const CL_StringRef & | format, | |
| Arg1 | arg1 | |||
| ) | [inline, static] |
Write.
| format | = String Ref | |
| arg1 | = Arg1 |
| static void CL_Console::write | ( | const CL_StringRef & | format, | |
| Arg1 | arg1, | |||
| Arg2 | arg2, | |||
| Arg3 | arg3 | |||
| ) | [inline, static] |
Write.
| format | = String Ref | |
| arg1 | = Arg1 | |
| arg2 | = Arg2 | |
| arg3 | = Arg3 |
| static void CL_Console::write | ( | const CL_StringRef & | format, | |
| Arg1 | arg1, | |||
| Arg2 | arg2, | |||
| Arg3 | arg3, | |||
| Arg4 | arg4 | |||
| ) | [inline, static] |
Write.
| format | = String Ref | |
| arg1 | = Arg1 | |
| arg2 | = Arg2 | |
| arg3 | = Arg3 | |
| arg4 | = Arg4 |
References CL_StringFormat::get_result(), CL_StringFormat::set_arg(), and write().
| static void CL_Console::write | ( | const CL_StringRef & | format, | |
| Arg1 | arg1, | |||
| Arg2 | arg2 | |||
| ) | [inline, static] |
Write.
| format | = String Ref | |
| arg1 | = Arg1 | |
| arg2 | = Arg2 |
| static void CL_Console::write | ( | const CL_StringRef & | format, | |
| Arg1 | arg1, | |||
| Arg2 | arg2, | |||
| Arg3 | arg3, | |||
| Arg4 | arg4, | |||
| Arg5 | arg5 | |||
| ) | [inline, static] |
Write.
| format | = String Ref | |
| arg1 | = Arg1 | |
| arg2 | = Arg2 | |
| arg3 | = Arg3 | |
| arg4 | = Arg4 | |
| arg5 | = Arg5 |
References CL_StringFormat::get_result(), CL_StringFormat::set_arg(), and write().
| static void CL_Console::write | ( | const CL_StringRef & | format, | |
| Arg1 | arg1, | |||
| Arg2 | arg2, | |||
| Arg3 | arg3, | |||
| Arg4 | arg4, | |||
| Arg5 | arg5, | |||
| Arg6 | arg6 | |||
| ) | [inline, static] |
Write.
| format | = String Ref | |
| arg1 | = Arg1 | |
| arg2 | = Arg2 | |
| arg3 | = Arg3 | |
| arg4 | = Arg4 | |
| arg5 | = Arg5 | |
| arg6 | = Arg6 |
References CL_StringFormat::get_result(), CL_StringFormat::set_arg(), and write().
| static void CL_Console::write_line | ( | const CL_StringRef & | text | ) | [inline, static] |
Writes text to the console window and then advances to a new line.
Referenced by write_line().
| static void CL_Console::write_line | ( | const CL_StringRef & | format, | |
| Arg1 | arg1, | |||
| Arg2 | arg2, | |||
| Arg3 | arg3, | |||
| Arg4 | arg4, | |||
| Arg5 | arg5, | |||
| Arg6 | arg6, | |||
| Arg7 | arg7 | |||
| ) | [inline, static] |
Write line.
| format | = String Ref | |
| arg1 | = Arg1 | |
| arg2 | = Arg2 | |
| arg3 | = Arg3 | |
| arg4 | = Arg4 | |
| arg5 | = Arg5 | |
| arg6 | = Arg6 | |
| arg7 | = Arg7 |
| static void CL_Console::write_line | ( | const CL_StringRef & | format, | |
| Arg1 | arg1, | |||
| Arg2 | arg2 | |||
| ) | [inline, static] |
Write line.
| format | = String Ref | |
| arg1 | = Arg1 | |
| arg2 | = Arg2 |
| static void CL_Console::write_line | ( | const CL_StringRef & | format, | |
| Arg1 | arg1, | |||
| Arg2 | arg2, | |||
| Arg3 | arg3 | |||
| ) | [inline, static] |
Write line.
| format | = String Ref | |
| arg1 | = Arg1 | |
| arg2 | = Arg2 | |
| arg3 | = Arg3 |
| static void CL_Console::write_line | ( | const CL_StringRef & | format, | |
| Arg1 | arg1, | |||
| Arg2 | arg2, | |||
| Arg3 | arg3, | |||
| Arg4 | arg4, | |||
| Arg5 | arg5 | |||
| ) | [inline, static] |
Write line.
| format | = String Ref | |
| arg1 | = Arg1 | |
| arg2 | = Arg2 | |
| arg3 | = Arg3 | |
| arg4 | = Arg4 | |
| arg5 | = Arg5 |
References CL_StringFormat::get_result(), CL_StringFormat::set_arg(), and write_line().
| static void CL_Console::write_line | ( | const CL_StringRef & | format, | |
| Arg1 | arg1, | |||
| Arg2 | arg2, | |||
| Arg3 | arg3, | |||
| Arg4 | arg4, | |||
| Arg5 | arg5, | |||
| Arg6 | arg6 | |||
| ) | [inline, static] |
Write line.
| format | = String Ref | |
| arg1 | = Arg1 | |
| arg2 | = Arg2 | |
| arg3 | = Arg3 | |
| arg4 | = Arg4 | |
| arg5 | = Arg5 | |
| arg6 | = Arg6 |
References CL_StringFormat::get_result(), CL_StringFormat::set_arg(), and write_line().
| static void CL_Console::write_line | ( | const CL_StringRef & | format, | |
| Arg1 | arg1 | |||
| ) | [inline, static] |
Write line.
| format | = String Ref | |
| arg1 | = Arg1 |
| static void CL_Console::write_line | ( | const CL_StringRef & | format, | |
| Arg1 | arg1, | |||
| Arg2 | arg2, | |||
| Arg3 | arg3, | |||
| Arg4 | arg4 | |||
| ) | [inline, static] |
Write line.
| format | = String Ref | |
| arg1 | = Arg1 | |
| arg2 | = Arg2 | |
| arg3 | = Arg3 | |
| arg4 | = Arg4 |
References CL_StringFormat::get_result(), CL_StringFormat::set_arg(), and write_line().
1.7.1