2 #ifndef SYDEVS_STRING_BUILDER_H_
3 #define SYDEVS_STRING_BUILDER_H_
44 std::string
str()
const;
63 std::stringstream stream_;
A class for converting stream objects to string values.
Definition: string_builder.h:28
string_builder & operator=(string_builder &&)=delete
No move assignment.
string_builder(string_builder &&)=delete
No move constructor.
string_builder & operator<<(T const &value)
Inserts data into the stream.
Definition: string_builder.h:80
~string_builder()=default
Destructor.
string_builder & operator=(const string_builder &)=delete
No copy assignment.
string_builder(const string_builder &)=delete
No copy constructor.
std::string str() const
Obtains the data stored in the string_builder object as a std::string.
Definition: string_builder.h:73
string_builder()
Constructs a string_builder object.
Definition: string_builder.h:67