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