36 #pragma warning(disable: 4996)
39 #include "string_format.h"
40 #include "string_help.h"
75 template <
class Arg1,
class Arg2>
90 template <
class Arg1,
class Arg2,
class Arg3>
107 template <
class Arg1,
class Arg2,
class Arg3,
class 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>
234 template <
class Arg1,
class Arg2,
class Arg3>
251 template <
class Arg1,
class Arg2,
class Arg3,
class Arg4>
270 template <
class Arg1,
class Arg2,
class Arg3,
class Arg4,
class Arg5>
291 template <
class Arg1,
class Arg2,
class Arg3,
class Arg4,
class Arg5,
class 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, Arg5 arg5, Arg6 arg6, Arg7 arg7)
Write.
Definition: console.h:182
static void write(const std::string &format, Arg1 arg1, Arg2 arg2, Arg3 arg3, Arg4 arg4)
Write.
Definition: console.h:116
void set_arg(int index, const std::string &text)
Sets an argument (string version)
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 &format, Arg1 arg1, Arg2 arg2, Arg3 arg3, Arg4 arg4, Arg5 arg5, Arg6 arg6)
Write line.
Definition: console.h:302
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)
Write line.
Definition: console.h:242
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 &format, Arg1 arg1, Arg2 arg2)
Write.
Definition: console.h:82
Console access helper class.
Definition: console.h:53
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:260
static void write(const std::string &format, Arg1 arg1)
Write.
Definition: console.h:68
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
const std::string & get_result() const
Retrieves the formatted string with all argument replacements.