libhext: C++ Library Documentation 1.0.13-b24695d
|
Appends a given string to a string. More...
#include <AppendPipe.h>
Public Member Functions | |
AppendPipe (std::string suffix) | |
Constructs an AppendPipe. | |
std::string | transform (std::string str) const override |
Appends a given string to str. | |
![]() | |
virtual std::unique_ptr< StringPipe > | clone () const override |
Clones objects of template type Derived and returns an owning pointer to the newly allocated Base. | |
![]() | |
StringPipe () noexcept | |
StringPipe (const StringPipe &other) | |
StringPipe (StringPipe &&) noexcept=default | |
StringPipe & | operator= (const StringPipe &other) |
StringPipe & | operator= (StringPipe &&) noexcept=default |
virtual | ~StringPipe () noexcept=default |
std::string | pipe (std::string str) const |
Calls StringPipe::transform successively until the whole StringPipe chain was traversed. | |
void | append (std::unique_ptr< StringPipe > pipe) noexcept |
Append a StringPipe at the end of the chain. | |
template<typename StringPipeType , typename... Args> | |
void | emplace (Args &&... arg) |
Construct a StringPipe at the end of the chain. | |
Appends a given string to a string.
Definition at line 32 of file AppendPipe.h.
|
explicit |
Constructs an AppendPipe.
suffix | The string to append. |
|
overridevirtual |
Appends a given string to str.
Implements hext::StringPipe.