__FILE__, __(PRETTY_)FUNCTION__, __LINE__
. Use SOURCECODELOCATION
macro to create.
More...
#include <SourceCodeLocation.h>
Public Member Functions | |
SourceCodeLocation () | |
SourceCodeLocation (const std::string &file_r, const std::string &func_r, const std::string &pretty_func_r, unsigned line_r) | |
operator const void *const () const | |
const std::string & | file () const |
const std::string & | func () const |
const std::string & | pretty_func () const |
unsigned | line () const |
Private Attributes | |
std::string | _file |
std::string | _func |
std::string | _pretty_func |
unsigned | _line |
Static Private Attributes | |
static const unsigned | _unknown |
Friends | |
SourceCodeLocation::_Verbose | verbose (const SourceCodeLocation &obj_r) |
std::ostream & | operator<< (std::ostream &str, const SourceCodeLocation &obj_r) |
std::ostream & | operator<< (std::ostream &str, const SourceCodeLocation::_Verbose &obj_r) |
Classes | |
struct | _Verbose |
__FILE__, __(PRETTY_)FUNCTION__, __LINE__
. Use SOURCECODELOCATION
macro to create.
|
Default ctor: unknown location. |
|
Ctor, use |
|
|
|
|
|
|
|
|
|
|
|
Stream output as "__FILE__(__PRETTY_FUNCTION__):__LINE__" via |
|
Stream output as "__FILE__(__FUNCTION__):__LINE__" |
|
Helper wrapping SourceCodeLocation into a SourceCodeLocation::_Verbose for stream output. |
|
|
|
|
|
|
|
|
|
|