libzypp  17.32.4
ztui::text Namespace Reference

Functions

ColorString tagNote ()
 
ColorString tagWarning ()
 
ColorString tagError ()
 
const char * qContinue ()
 
template<class Tltext , class Trtext >
std::string join (const Tltext &ltext, const Trtext &rtext, const char *sep=" ")
 Simple join of two string types. More...
 
bool endsOnWS (const std::string &str_r)
 Whether the str_r ends with a WS. More...
 
const char * optBlankAfter (const std::string &str_r)
 

Function Documentation

◆ tagNote()

ColorString ztui::text::tagNote ( )
inline

Definition at line 51 of file Out.h.

◆ tagWarning()

ColorString ztui::text::tagWarning ( )
inline

Definition at line 53 of file Out.h.

◆ tagError()

ColorString ztui::text::tagError ( )
inline

Definition at line 55 of file Out.h.

◆ qContinue()

const char* ztui::text::qContinue ( )
inline

Definition at line 57 of file Out.h.

◆ join()

template<class Tltext , class Trtext >
std::string ztui::text::join ( const Tltext &  ltext,
const Trtext &  rtext,
const char *  sep = " " 
)
inline

Simple join of two string types.

Definition at line 62 of file Out.h.

◆ endsOnWS()

bool ztui::text::endsOnWS ( const std::string &  str_r)
inline

Whether the str_r ends with a WS.

Definition at line 66 of file Out.h.

◆ optBlankAfter()

const char* ztui::text::optBlankAfter ( const std::string &  str_r)
inline

Definition at line 74 of file Out.h.