Public Member Functions | |
| LocationInfo (const char *const fileName, const char *const functionName, int lineNumber) | |
| Constructor. | |
| LocationInfo () | |
| Default constructor. | |
| LocationInfo (const LocationInfo &src) | |
| Copy constructor. | |
| LocationInfo & | operator= (const LocationInfo &src) |
| Assignment operator. | |
| void | clear () |
| Resets location info to default state. | |
| const std::string | getClassName () const |
| Return the class name of the call site. | |
| const char * | getFileName () const |
| Return the file name of the caller. | |
| int | getLineNumber () const |
| Returns the line number of the caller. | |
| const std::string | getMethodName () const |
| Returns the method name of the caller. | |
| void | write (log4cxx::helpers::ObjectOutputStream &os, log4cxx::helpers::Pool &p) const |
Static Public Member Functions | |
| static const LocationInfo & | getLocationUnavailable () |
Static Public Attributes | |
| static const char *const | NA |
When location information is not available the constant NA is returned. | |
| static const char *const | NA_METHOD |
|
||||||||||||||||
|
Constructor.
|
|
|
Default constructor.
|
|
|
Copy constructor.
|
|
|
Resets location info to default state.
|
|
|
Return the class name of the call site.
|
|
|
Return the file name of the caller.
|
|
|
Returns the line number of the caller.
|
|
|
|
|
|
Returns the method name of the caller.
|
|
|
Assignment operator.
|
|
||||||||||||
|
|
|
|
When location information is not available the constant Current value of this string constant is ?. |
|
|
|