#include <clara.hpp>
Definition at line 74 of file clara.hpp.
◆ const_iterator
◆ Column()
Catch::clara::TextFlow::Column::Column |
( |
std::string const & | text | ) |
|
|
inlineexplicit |
Definition at line 202 of file clara.hpp.
202{ m_strings.push_back(text); }
◆ begin()
auto Catch::clara::TextFlow::Column::begin |
( |
| ) |
const -> iterator |
|
inline |
Definition at line 219 of file clara.hpp.
219{ return iterator(*this); }
◆ end()
auto Catch::clara::TextFlow::Column::end |
( |
| ) |
const -> iterator |
|
inline |
Definition at line 220 of file clara.hpp.
220{ return { *this, m_strings.size() }; }
◆ indent()
auto Catch::clara::TextFlow::Column::indent |
( |
size_t | newIndent | ) |
-> Column& |
|
inline |
Definition at line 209 of file clara.hpp.
209 {
210 m_indent = newIndent;
211 return *this;
212 }
◆ initialIndent()
auto Catch::clara::TextFlow::Column::initialIndent |
( |
size_t | newIndent | ) |
-> Column& |
|
inline |
Definition at line 213 of file clara.hpp.
213 {
214 m_initialIndent = newIndent;
215 return *this;
216 }
◆ operator+()
auto Catch::clara::TextFlow::Column::operator+ |
( |
Column const & | other | ) |
-> Columns |
|
inline |
Definition at line 361 of file clara.hpp.
361 {
362 Columns cols;
363 cols += *this;
365 return cols;
366}
◆ toString()
auto Catch::clara::TextFlow::Column::toString |
( |
| ) |
const -> std::string |
|
inline |
Definition at line 236 of file clara.hpp.
236 {
237 std::ostringstream oss;
238 oss << *this;
239 return oss.str();
240 }
◆ width() [1/2]
auto Catch::clara::TextFlow::Column::width |
( |
| ) |
const -> size_t |
|
inline |
◆ width() [2/2]
auto Catch::clara::TextFlow::Column::width |
( |
size_t | newWidth | ) |
-> Column& |
|
inline |
Definition at line 204 of file clara.hpp.
204 {
205 assert(newWidth > 0);
206 m_width = newWidth;
207 return *this;
208 }
◆ operator<<
std::ostream & operator<< |
( |
std::ostream & | os, |
|
|
Column const & | col ) |
|
friend |
Definition at line 222 of file clara.hpp.
222 {
223 bool first = true;
224 for (auto line : col) {
225 if (first)
226 first = false;
227 else
230 }
232 }
The documentation for this class was generated from the following file:
- libraries/sys-vm/external/Catch2/include/external/clara.hpp