12#ifndef ZYPP_BASE_ERRNO_H
13#define ZYPP_BASE_ERRNO_H
49 operator int()
const {
return get(); }
Errno(int errno_r)
Ctor taking an explicit errno value.
int get() const
Return the stored errno.
std::string asString() const
Return human readable error string.
Errno(bool error_r)
Ctor set to errno if error condition, else 0.
std::ostream & operator<<(std::ostream &str, const Errno &obj)
Stream output.
Errno()
Default ctor: errno.
String related utilities and Regular expression matching.
std::string form(const char *format,...) __attribute__((format(printf
Printf style construction of std::string.
Easy-to use interface to the ZYPP dependency resolver.