36 #pragma warning(disable: 4996)
39 #include "../api_core.h"
40 #include "string_format.h"
41 #include "string_help.h"
61 static void write(
const std::string &text);
69 static void write(
const std::string &format, Arg1 arg1)
76 template <
class Arg1,
class Arg2>
83 static void write(
const std::string &format, Arg1 arg1, Arg2 arg2)
91 template <
class Arg1,
class Arg2,
class Arg3>
99 static void write(
const std::string &format, Arg1 arg1, Arg2 arg2, Arg3 arg3)
108 template <
class Arg1,
class Arg2,
class Arg3,
class Arg4>
117 static void write(
const std::string &format, Arg1 arg1, Arg2 arg2, Arg3 arg3, Arg4 arg4)
127 template <
class Arg1,
class Arg2,
class Arg3,
class Arg4,
class Arg5>
137 static void write(
const std::string &format, Arg1 arg1, Arg2 arg2, Arg3 arg3, Arg4 arg4, Arg5 arg5)
148 template <
class Arg1,
class Arg2,
class Arg3,
class Arg4,
class Arg5,
class Arg6>
159 static void write(
const std::string &format, Arg1 arg1, Arg2 arg2, Arg3 arg3, Arg4 arg4, Arg5 arg5, Arg6 arg6)
171 template <
class Arg1,
class Arg2,
class Arg3,
class Arg4,
class Arg5,
class Arg6,
class Arg7>
183 static void write(
const std::string &format, Arg1 arg1, Arg2 arg2, Arg3 arg3, Arg4 arg4, Arg5 arg5, Arg6 arg6, Arg7 arg7)
207 template <
class Arg1>
220 template <
class Arg1,
class Arg2>
227 static void write_line(
const std::string &format, Arg1 arg1, Arg2 arg2)
235 template <
class Arg1,
class Arg2,
class Arg3>
243 static void write_line(
const std::string &format, Arg1 arg1, Arg2 arg2, Arg3 arg3)
252 template <
class Arg1,
class Arg2,
class Arg3,
class Arg4>
261 static void write_line(
const std::string &format, Arg1 arg1, Arg2 arg2, Arg3 arg3, Arg4 arg4)
271 template <
class Arg1,
class Arg2,
class Arg3,
class Arg4,
class Arg5>
281 static void write_line(
const std::string &format, Arg1 arg1, Arg2 arg2, Arg3 arg3, Arg4 arg4, Arg5 arg5)
292 template <
class Arg1,
class Arg2,
class Arg3,
class Arg4,
class Arg5,
class Arg6>
303 static void write_line(
const std::string &format, Arg1 arg1, Arg2 arg2, Arg3 arg3, Arg4 arg4, Arg5 arg5, Arg6 arg6)
315 template <
class Arg1,
class Arg2,
class Arg3,
class Arg4,
class Arg5,
class Arg6,
class Arg7>
327 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:137
static void write_line(const std::string &format, Arg1 arg1, Arg2 arg2)
Write line.
Definition: console.h:227
static void write_line(const std::string &format, Arg1 arg1)
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, Arg7 arg7)
Write.
Definition: console.h:183
static void write(const std::string &format, Arg1 arg1, Arg2 arg2, Arg3 arg3, Arg4 arg4)
Write.
Definition: console.h:117
void set_arg(int index, const std::string &text)
Set arg.
static void write_line(const std::string &format, Arg1 arg1, Arg2 arg2, Arg3 arg3, Arg4 arg4, Arg5 arg5)
Write line.
Definition: console.h:281
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:303
static void write(const std::string &format, Arg1 arg1, Arg2 arg2, Arg3 arg3)
Write.
Definition: console.h:99
static void write_line(const std::string &format, Arg1 arg1, Arg2 arg2, Arg3 arg3)
Write line.
Definition: console.h:243
static void write_line(const std::string &text)
Writes text to the console window and then advances to a new line.
Definition: console.h:197
static void write(const std::string &format, Arg1 arg1, Arg2 arg2, Arg3 arg3, Arg4 arg4, Arg5 arg5, Arg6 arg6)
Write.
Definition: console.h:159
static void wait_for_key()
Block until a key is pressed in the console window.
static void write(const std::string &format, Arg1 arg1, Arg2 arg2)
Write.
Definition: console.h:83
Console access helper class.
Definition: console.h:54
static void write(const std::string &text)
Writes text to the console window.
static void write_line(const std::string &format, Arg1 arg1, Arg2 arg2, Arg3 arg3, Arg4 arg4)
Write line.
Definition: console.h:261
static void write(const std::string &format, Arg1 arg1)
Write.
Definition: console.h:69
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:327
const std::string & get_result() const