36 #ifndef FSTRINGSTREAM_H 37 #define FSTRINGSTREAM_H 39 #if !defined (USE_FINAL_H) && !defined (COMPILE_FINAL_CUT) 40 #error "Only <final/final.h> can be included directly." 47 #include "final/util/fstring.h" 59 using std::ios_base::openmode;
60 static constexpr openmode in_out = std::ios_base::out
82 virtual auto getClassName()
const ->
FString;
85 auto rdbuf() -> std::wstringbuf*;
89 std::wstringbuf buffer{in_out};
95 inline auto FStringStream::getClassName()
const ->
FString 96 {
return "FStringStream"; }
99 inline void FStringStream::clear()
103 inline auto FStringStream::rdbuf() -> std::wstringbuf*
107 inline auto FStringStream::str()
const ->
FString 108 {
return FString{buffer.str()}; }
119 #endif // FSTRINGSTREAM_H Definition: class_template.cpp:25
Definition: fstringstream.h:56