libzypp
17.35.14
|
Namespaces | |
detail | |
Classes | |
class | ListFormater |
Default representation of types in Lists [asListElement]. More... | |
class | ListLayout |
Basic list layout. More... | |
class | TableFormater |
Special list formater writing a Table [asTableHeader|asTableRow]. More... | |
class | TableLayout |
Basic table layout. More... | |
class | XmlFormater |
XML representation of types in container [asXmlListElement]. More... | |
class | XmlFormaterAdaptor |
Adaptor. More... | |
Typedefs | |
using | XmlListLayout = detail::ListLayoutInit< true, false, false, 0U > |
using | DefaultListLayout = detail::ListLayoutInit< true, true, false, 0U > |
one element per line, no indent More... | |
using | DefaultGapedListLayout = detail::ListLayoutInit< true, true, true, 0U > |
one element per line, no indent, gaped More... | |
using | IndentedListLayout = detail::ListLayoutInit< true, true, false, 2U > |
one element per line, indented More... | |
using | IndentedGapedListLayout = detail::ListLayoutInit< true, true, true, 2U > |
one element per line, indented, gaped More... | |
using | CompressedListLayout = detail::ListLayoutInit< false, true, false, 2U > |
multiple elements per line, indented More... | |
using | DefaultTableLayout = TableLayout |
Simple Table. More... | |
Functions | |
unsigned | defaultTermwidth () |
std::string | asXmlListElement (const std::string &val_r) |
std::string | asXmlListElement (const char *val_r) |
std::string | asListElement (const std::string &val_r) |
std::string | asListElement (const char *val_r) |
template<> | |
TableHeader | asTableHeader< void > () |
template<class TContainer , class TFormater , class TLayout = typename TFormater::NormalLayout> | |
void | writeContainer (std::ostream &str_r, const TContainer &container_r, const TFormater &formater_r, const TLayout &layout_r=TLayout()) |
Write formatted container to stream. More... | |
template<class TContainer , class TFormater > | |
void | xmlWriteContainer (std::ostream &str_r, const TContainer &container_r, const TFormater &formater_r) |
Write XML formatted container to stream. More... | |
Variables | |
static constexpr unsigned | termwidthUnlimited = 0u |
using ztui::out::XmlListLayout = typedef detail::ListLayoutInit<true, false, false, 0U> |
using ztui::out::DefaultListLayout = typedef detail::ListLayoutInit<true, true, false, 0U> |
using ztui::out::DefaultGapedListLayout = typedef detail::ListLayoutInit<true, true, true, 0U> |
using ztui::out::IndentedListLayout = typedef detail::ListLayoutInit<true, true, false, 2U> |
using ztui::out::IndentedGapedListLayout = typedef detail::ListLayoutInit<true, true, true, 2U> |
using ztui::out::CompressedListLayout = typedef detail::ListLayoutInit<false, true, false, 2U> |
using ztui::out::DefaultTableLayout = typedef TableLayout |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
void ztui::out::writeContainer | ( | std::ostream & | str_r, |
const TContainer & | container_r, | ||
const TFormater & | formater_r, | ||
const TLayout & | layout_r = TLayout() |
||
) |
void ztui::out::xmlWriteContainer | ( | std::ostream & | str_r, |
const TContainer & | container_r, | ||
const TFormater & | formater_r | ||
) |