|
Simple-Log
alpha-v0.7
|
Helper class for generating patterned strings. More...
#include <StringPattern.hpp>
Public Member Functions | |
| StringPattern () noexcept=default | |
| Default Constructor. More... | |
| StringPattern (std::string patternString) | |
| Constructor. More... | |
| std::string | next () |
| Creates a new string. More... | |
| std::string_view | patternString () const noexcept |
| Getter of the used pattern string. More... | |
| void | setPatternString (std::string patternString) |
| Sets the pattern string. More... | |
Helper class for generating patterned strings.
Tokenize the pattern string and creates generators, which will then create the actual substrings on demand.
|
defaultnoexcept |
Default Constructor.
|
inlineexplicit |
Constructor.
| patternString | Pattern |
|
inline |
Creates a new string.
The returned string will be created on demand and follows the pattern string rules.
|
inlinenoexcept |
Getter of the used pattern string.
|
inline |
Sets the pattern string.
| patternString | The given pattern string |