Keep FILE, FUNCTION and LINE.
More...
#include <Exception.h>
List of all members.
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.
|
Related Functions |
(Note that these are not member functions.)
|
std::ostream & | operator<< (std::ostream &str, const CodeLocation &obj) |
Detailed Description
Keep FILE, FUNCTION and LINE.
Construct it using the ZYPP_EX_CODELOCATION macro.
Definition at line 32 of file Exception.h.
Constructor & Destructor Documentation
zypp::exception_detail::CodeLocation::CodeLocation |
( |
| ) |
|
|
inline |
zypp::exception_detail::CodeLocation::CodeLocation |
( |
const std::string & |
file_r, |
|
|
const std::string & |
func_r, |
|
|
unsigned |
line_r |
|
) |
| |
|
inline |
Member Function Documentation
std::string zypp::exception_detail::CodeLocation::asString |
( |
| ) |
const |
Friends And Related Function Documentation
std::ostream& operator<< |
( |
std::ostream & |
str, |
|
|
const CodeLocation & |
obj |
|
) |
| |
|
friend |
std::ostream & operator<< |
( |
std::ostream & |
str, |
|
|
const CodeLocation & |
obj |
|
) |
| |
|
related |
Member Data Documentation
std::string zypp::exception_detail::CodeLocation::_file |
|
private |
std::string zypp::exception_detail::CodeLocation::_func |
|
private |
unsigned zypp::exception_detail::CodeLocation::_line |
|
private |
The documentation for this struct was generated from the following files: