35#pragma warning(disable: 4996)
38#include "string_format.h"
39#include "string_help.h"
56 static void write(
const std::string &text);
63 static void write(
const std::string &format, Arg1 arg1)
75 template <
class Arg1,
class Arg2>
76 static void write(
const std::string &format, Arg1 arg1, Arg2 arg2)
90 template <
class Arg1,
class Arg2,
class Arg3>
91 static void write(
const std::string &format, Arg1 arg1, Arg2 arg2, Arg3 arg3)
107 template <
class Arg1,
class Arg2,
class Arg3,
class Arg4>
108 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>
127 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>
148 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>
171 static void write(
const std::string &format, Arg1 arg1, Arg2 arg2, Arg3 arg3, Arg4 arg4, Arg5 arg5, Arg6 arg6, Arg7 arg7)
199 template <
class Arg1>
212 template <
class Arg1,
class Arg2>
213 static void write_line(
const std::string &format, Arg1 arg1, Arg2 arg2)
227 template <
class Arg1,
class Arg2,
class Arg3>
228 static void write_line(
const std::string &format, Arg1 arg1, Arg2 arg2, Arg3 arg3)
244 template <
class Arg1,
class Arg2,
class Arg3,
class Arg4>
245 static void write_line(
const std::string &format, Arg1 arg1, Arg2 arg2, Arg3 arg3, Arg4 arg4)
263 template <
class Arg1,
class Arg2,
class Arg3,
class Arg4,
class Arg5>
264 static void write_line(
const std::string &format, Arg1 arg1, Arg2 arg2, Arg3 arg3, Arg4 arg4, Arg5 arg5)
284 template <
class Arg1,
class Arg2,
class Arg3,
class Arg4,
class Arg5,
class Arg6>
285 static void write_line(
const std::string &format, Arg1 arg1, Arg2 arg2, Arg3 arg3, Arg4 arg4, Arg5 arg5, Arg6 arg6)
307 template <
class Arg1,
class Arg2,
class Arg3,
class Arg4,
class Arg5,
class Arg6,
class Arg7>
308 static void write_line(
const std::string &format, Arg1 arg1, Arg2 arg2, Arg3 arg3, Arg4 arg4, Arg5 arg5, Arg6 arg6, Arg7 arg7)
Console access helper class.
Definition: console.h:53
static void write_line(const std::string &text)
Writes text to the console window and then advances to a new line.
Definition: console.h:185
static void write(const std::string &text)
Writes text to the console window.
static void write(const std::string &format, Arg1 arg1, Arg2 arg2, Arg3 arg3, Arg4 arg4)
Write.
Definition: console.h:108
static void write(const std::string &format, Arg1 arg1)
Write.
Definition: console.h:63
static void write(const std::string &format, Arg1 arg1, Arg2 arg2)
Write.
Definition: console.h:76
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:171
static void write_line(const std::string &format, Arg1 arg1, Arg2 arg2, Arg3 arg3)
Write line.
Definition: console.h:228
static void write(const std::string &format, Arg1 arg1, Arg2 arg2, Arg3 arg3)
Write.
Definition: console.h:91
static void wait_for_key()
Block until a key is pressed in the console window.
static void write_line(const std::string &format, Arg1 arg1, Arg2 arg2, Arg3 arg3, Arg4 arg4)
Write line.
Definition: console.h:245
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:308
static void write_line(const std::string &format, Arg1 arg1, Arg2 arg2)
Write line.
Definition: console.h:213
static void write(const std::string &format, Arg1 arg1, Arg2 arg2, Arg3 arg3, Arg4 arg4, Arg5 arg5, Arg6 arg6)
Write.
Definition: console.h:148
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:285
static void write_line(const std::string &format, Arg1 arg1, Arg2 arg2, Arg3 arg3, Arg4 arg4, Arg5 arg5)
Write line.
Definition: console.h:264
static void write(const std::string &format, Arg1 arg1, Arg2 arg2, Arg3 arg3, Arg4 arg4, Arg5 arg5)
Write.
Definition: console.h:127
static void write_line(const std::string &format, Arg1 arg1)
Write line.
Definition: console.h:200