#include <text_utils.hpp>
|
| template<typename... Args> |
| void | add (Args &&...args) |
| | Append values to the accumulator.
|
| |
| void | clear () |
| | Clear the accumulator.
|
| |
| std::string | str () const |
| | Get the accumulated string.
|
| |
| size_t | size () const |
| | Get the size of the accumulated string.
|
| |
◆ add()
template<typename... Args>
| void text_utils::StringAccumulator::add |
( |
Args &&... | args | ) |
|
|
inline |
Append values to the accumulator.
Streams all arguments into the internal string buffer.
- Template Parameters
-
| Args | Any streamable types. |
- Parameters
-
◆ clear()
| void text_utils::StringAccumulator::clear |
( |
| ) |
|
|
inline |
◆ size()
| size_t text_utils::StringAccumulator::size |
( |
| ) |
const |
|
inline |
Get the size of the accumulated string.
◆ str()
| std::string text_utils::StringAccumulator::str |
( |
| ) |
const |
|
inline |
Get the accumulated string.
The documentation for this class was generated from the following file: