|
HikoGUI
A low latency retained GUI
|
#include <hikogui/indent.hpp>
Public Member Functions | |
| constexpr | indent (indent const &other) noexcept=default |
| constexpr | indent (indent &&other) noexcept=default |
| constexpr indent & | operator= (indent const &other) noexcept=default |
| constexpr indent & | operator= (indent &&other) noexcept=default |
| constexpr | indent (int spaces, char space=' ') noexcept |
| Constructor This constructor will start indentation at depth 0. | |
| operator std::string () const noexcept | |
| String conversion operator. | |
| constexpr indent & | operator+= (int rhs) noexcept |
| Increase the depth of this indentation. | |
| constexpr indent & | operator++ () noexcept |
| Increment the depth of this indentation. | |
Friends | |
| constexpr friend indent | operator+ (indent lhs, int rhs) noexcept |
| Get an indentation at increased depth. | |
Indentation for writing out text files.
This type is used to pass indentation information recursivly to add indentation to text files, like for example json.
Constructor This constructor will start indentation at depth 0.
| spaces | Number of spaces per indentation. |
| space | Character used for indentation. |
|
inlinenoexcept |
String conversion operator.
Increment the depth of this indentation.
Increase the depth of this indentation.
Get an indentation at increased depth.