#include <cstdio>
#include <cstdarg>
#include <iostream>
#include "zypp/base/String.h"
Go to the source code of this file.
Namespaces | |
namespace | zypp |
namespace | zypp::str |
Case conversion. | |
std::string | zypp::str::toLower (const std::string &s) |
Return lowercase version of s. | |
std::string | zypp::str::toUpper (const std::string &s) |
Return uppercase version of s. | |
Trimming whitepace. | |
| |
std::string | zypp::str::trim (const std::string &s, const Trim trim_r) |
Functions | |
std::string | zypp::str::form (const char *format,...) __attribute__((format(printf |
Printf style construction of std::string. | |
std::string | zypp::str::strerror (int errno_r) |
Return string describing the error_r code. | |
std::string | zypp::str::stripFirstWord (std::string &line, const bool ltrim_first) |
static std::string | zypp::str::_getline (std::istream &str, const Trim trim_r) |
std::string | zypp::str::getline (std::istream &str, const Trim trim_r) |
std::string | zypp::str::getline (std::istream &str, bool trim) |
Definition in file String.cc.