50 template<
typename... Args>
51 void writeString(std::format_string<Args...> strFormat, Args&&... args);
61 std::string m_streamName;
66 bool m_isStringStream;
71template<
typename... Args>
76 std::vformat(strFormat.get(), std::make_format_args(args...)));
Write text with basic auto formatting applied.
Definition FormattedTextOutputStream.h:17
void writeNewLine()
Write newline to the stream.
Definition FormattedTextOutputStream.cpp:32
FormattedTextOutputStream(FormattedTextOutputStream &&other)=default
FormattedTextOutputStream()=default
FormattedTextOutputStream & operator=(FormattedTextOutputStream &&rhs)=default
std::string getString() const
Get the string that was written.
Definition FormattedTextOutputStream.cpp:53
void writeString(std::format_string< Args... > strFormat, Args &&... args)
Write formatted string to the stream.
Definition FormattedTextOutputStream.h:72
std::string acquireName() const override
Access to the stream's name. This method is not meant to be used in a high performance context,...
Definition FormattedTextOutputStream.cpp:75
void writeChar(char ch)
Write a single char to the stream.
Definition FormattedTextOutputStream.cpp:37
General path representation. Does not check whether the target actually exists (e....
Definition Path.h:21
Definition StdOutputStream.h:15
void writeString(std::string_view str) override
Write a string in one go.
Definition StdOutputStream.cpp:44
The root for all renderer implementations.
Definition EEngineProject.h:6