36 #pragma warning(disable: 4996)
39 #include "string_format.h"
40 #include "string_help.h"
60 static void write(
const std::string &text);
68 static void write(
const std::string &format, Arg1 arg1)
75 template <
class Arg1,
class Arg2>
82 static void write(
const std::string &format, Arg1 arg1, Arg2 arg2)
90 template <
class Arg1,
class Arg2,
class Arg3>
98 static void write(
const std::string &format, Arg1 arg1, Arg2 arg2, Arg3 arg3)
107 template <
class Arg1,
class Arg2,
class Arg3,
class Arg4>
116 static void write(
const std::string &format, Arg1 arg1, Arg2 arg2, Arg3 arg3, Arg4 arg4)
126 template <
class Arg1,
class Arg2,
class Arg3,
class Arg4,
class Arg5>
136 static void write(
const std::string &format, Arg1 arg1, Arg2 arg2, Arg3 arg3, Arg4 arg4, Arg5 arg5)
147 template <
class Arg1,
class Arg2,
class Arg3,
class Arg4,
class Arg5,
class Arg6>
158 static void write(
const std::string &format, Arg1 arg1, Arg2 arg2, Arg3 arg3, Arg4 arg4, Arg5 arg5, Arg6 arg6)
170 template <
class Arg1,
class Arg2,
class Arg3,
class Arg4,
class Arg5,
class Arg6,
class Arg7>
182 static void write(
const std::string &format, Arg1 arg1, Arg2 arg2, Arg3 arg3, Arg4 arg4, Arg5 arg5, Arg6 arg6, Arg7 arg7)
206 template <
class Arg1>
219 template <
class Arg1,
class Arg2>
226 static void write_line(
const std::string &format, Arg1 arg1, Arg2 arg2)
234 template <
class Arg1,
class Arg2,
class Arg3>
242 static void write_line(
const std::string &format, Arg1 arg1, Arg2 arg2, Arg3 arg3)
251 template <
class Arg1,
class Arg2,
class Arg3,
class Arg4>
260 static void write_line(
const std::string &format, Arg1 arg1, Arg2 arg2, Arg3 arg3, Arg4 arg4)
270 template <
class Arg1,
class Arg2,
class Arg3,
class Arg4,
class Arg5>
280 static void write_line(
const std::string &format, Arg1 arg1, Arg2 arg2, Arg3 arg3, Arg4 arg4, Arg5 arg5)
291 template <
class Arg1,
class Arg2,
class Arg3,
class Arg4,
class Arg5,
class Arg6>
302 static void write_line(
const std::string &format, Arg1 arg1, Arg2 arg2, Arg3 arg3, Arg4 arg4, Arg5 arg5, Arg6 arg6)
314 template <
class Arg1,
class Arg2,
class Arg3,
class Arg4,
class Arg5,
class Arg6,
class Arg7>
326 static void write_line(
const std::string &format, Arg1 arg1, Arg2 arg2, Arg3 arg3, Arg4 arg4, Arg5 arg5, Arg6 arg6, Arg7 arg7)
static void write(const std::string &format, Arg1 arg1, Arg2 arg2, Arg3 arg3, Arg4 arg4, Arg5 arg5)
Write.
Definition: console.h:136
static void write_line(const std::string &format, Arg1 arg1, Arg2 arg2)
Write line.
Definition: console.h:226
static void write_line(const std::string &format, Arg1 arg1)
Write line.
Definition: console.h:212
static void write(const std::string &format, Arg1 arg1, Arg2 arg2, Arg3 arg3, Arg4 arg4)
Write.
Definition: console.h:116
static void write(const std::string &format, Arg1 arg1, Arg2 arg2, Arg3 arg3, Arg4 arg4, Arg5 arg5, Arg6 arg6, Arg7 arg7)
Write.
Definition: console.h:182
static void write_line(const std::string &format, Arg1 arg1, Arg2 arg2, Arg3 arg3, Arg4 arg4, Arg5 arg5, Arg6 arg6)
Write line.
Definition: console.h:302
static void write_line(const std::string &format, Arg1 arg1, Arg2 arg2, Arg3 arg3)
Write line.
Definition: console.h:242
static void write(const std::string &format, Arg1 arg1, Arg2 arg2, Arg3 arg3)
Write.
Definition: console.h:98
static void write_line(const std::string &format, Arg1 arg1, Arg2 arg2, Arg3 arg3, Arg4 arg4, Arg5 arg5)
Write line.
Definition: console.h:280
static void write_line(const std::string &text)
Writes text to the console window and then advances to a new line.
Definition: console.h:196
static void write(const std::string &format, Arg1 arg1, Arg2 arg2, Arg3 arg3, Arg4 arg4, Arg5 arg5, Arg6 arg6)
Write.
Definition: console.h:158
static void wait_for_key()
Block until a key is pressed in the console window.
static void write(const std::string &text)
Writes text to the console window.
Console access helper class.
Definition: console.h:54
static void write_line(const std::string &format, Arg1 arg1, Arg2 arg2, Arg3 arg3, Arg4 arg4)
Write line.
Definition: console.h:260
static void write(const std::string &format, Arg1 arg1, Arg2 arg2)
Write.
Definition: console.h:82
static void write_line(const std::string &format, Arg1 arg1, Arg2 arg2, Arg3 arg3, Arg4 arg4, Arg5 arg5, Arg6 arg6, Arg7 arg7)
Write line.
Definition: console.h:326
static void write(const std::string &format, Arg1 arg1)
Write.
Definition: console.h:68