Keep FILE, FUNCTION and LINE.
More...
#include <base/Exception.h>
|
| CodeLocation () |
| Ctor.
|
|
| CodeLocation (const std::string &file_r, const std::string &func_r, unsigned line_r) |
| Ctor.
|
|
std::string | asString () const |
| Location as string.
|
|
|
(Note that these are not member functions.)
|
std::ostream & | operator<< (std::ostream &str, const CodeLocation &obj) |
| Stream output.
|
|
Keep FILE, FUNCTION and LINE.
Construct it using the ZYPP_EX_CODELOCATION macro.
Definition at line 34 of file Exception.h.
◆ CodeLocation() [1/2]
zypp::exception_detail::CodeLocation::CodeLocation |
( |
| ) |
|
|
inline |
◆ CodeLocation() [2/2]
zypp::exception_detail::CodeLocation::CodeLocation |
( |
const std::string & |
file_r, |
|
|
const std::string & |
func_r, |
|
|
unsigned |
line_r |
|
) |
| |
|
inline |
◆ asString()
std::string zypp::exception_detail::CodeLocation::asString |
( |
| ) |
const |
◆ operator<< [1/2]
std::ostream & operator<< |
( |
std::ostream & |
str, |
|
|
const CodeLocation & |
obj |
|
) |
| |
|
friend |
◆ operator<<() [2/2]
std::ostream & operator<< |
( |
std::ostream & |
str, |
|
|
const CodeLocation & |
obj |
|
) |
| |
|
related |
◆ _file
std::string zypp::exception_detail::CodeLocation::_file |
|
private |
◆ _func
std::string zypp::exception_detail::CodeLocation::_func |
|
private |
◆ _line
unsigned zypp::exception_detail::CodeLocation::_line |
|
private |
The documentation for this struct was generated from the following files: