libzypp 17.35.19
|
Namespaces | |
namespace | 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 | |
using | DefaultGapedListLayout = detail::ListLayoutInit<true, true, true, 0U> |
one element per line, no indent, gaped | |
using | IndentedListLayout = detail::ListLayoutInit<true, true, false, 2U> |
one element per line, indented | |
using | IndentedGapedListLayout = detail::ListLayoutInit<true, true, true, 2U> |
one element per line, indented, gaped | |
using | CompressedListLayout = detail::ListLayoutInit<false, true, false, 2U> |
multiple elements per line, indented | |
using | DefaultTableLayout = TableLayout |
Simple Table. | |
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. | |
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. | |
Variables | |
static constexpr unsigned | termwidthUnlimited = 0u |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |