#include <Exception.h>
Public Member Functions | |
CodeLocation () | |
Ctor. | |
CodeLocation (const std::string &file_r, const std::string &func_r, unsigned line_r) | |
Ctor. | |
std::string | asString () const |
Location as string. | |
Private Attributes | |
std::string | _file |
std::string | _func |
unsigned | _line |
Friends | |
std::ostream & | operator<< (std::ostream &str, const CodeLocation &obj) |
Construct it using the ZYPP_EX_CODELOCATION macro.
Definition at line 29 of file Exception.h.
|
Ctor.
Definition at line 34 of file Exception.h. |
|
Ctor.
Definition at line 39 of file Exception.h. |
|
Location as string.
Definition at line 29 of file Exception.cc. References _file, _func, _line, and zypp::str::form(). Referenced by zypp::exception_detail::operator<<(). |
|
Stream output Definition at line 37 of file Exception.cc. |
|
Definition at line 49 of file Exception.h. Referenced by asString(). |
|
Definition at line 50 of file Exception.h. Referenced by asString(). |
|
Definition at line 51 of file Exception.h. Referenced by asString(). |