![]() |
Flecs v4.1
A fast entity component system (ECS) for C & C++
|
Simple stringstream wrapper around ecs_strbuf_t. More...
#include <stringstream.hpp>
Public Member Functions | |
| stringstream () | |
| Default constructor. | |
| ~stringstream () | |
| Destructor. | |
| stringstream (stringstream &&str) noexcept | |
| Move constructor. | |
| stringstream & | operator= (stringstream &&str) noexcept |
| Move assignment operator. | |
| stringstream & | operator= (const stringstream &str)=delete |
| Ban implicit copies/allocations. | |
| stringstream (const stringstream &str)=delete | |
| Ban implicit copies/allocations. | |
| stringstream & | operator<< (const char *str) |
| Append a C string to the stream. | |
| flecs::string | str () |
| Get the accumulated string as an owned flecs::string. | |
Simple stringstream wrapper around ecs_strbuf_t.
Definition at line 9 of file stringstream.hpp.
|
inlineexplicit |
Default constructor.
Definition at line 11 of file stringstream.hpp.
|
inline |
|
inlinenoexcept |
Move constructor.
Definition at line 20 of file stringstream.hpp.
|
inline |
Append a C string to the stream.
Definition at line 40 of file stringstream.hpp.
|
inlinenoexcept |
Move assignment operator.
Definition at line 27 of file stringstream.hpp.
|
inline |
Get the accumulated string as an owned flecs::string.
Definition at line 46 of file stringstream.hpp.