| Apache log4cxx
    Version 0.11.0
    | 
This class represents the location of a logging statement. More...
| Public Member Functions | |
| LocationInfo (const char *const fileName, const char *const functionName, int lineNumber) | |
| Constructor.  More... | |
| LocationInfo () | |
| Default constructor.  More... | |
| LocationInfo (const LocationInfo &src) | |
| Copy constructor.  More... | |
| LocationInfo & | operator= (const LocationInfo &src) | 
| Assignment operator.  More... | |
| void | clear () | 
| Resets location info to default state.  More... | |
| const std::string | getClassName () const | 
| Return the class name of the call site.  More... | |
| const char * | getFileName () const | 
| Return the file name of the caller.  More... | |
| int | getLineNumber () const | 
| Returns the line number of the caller.  More... | |
| const std::string | getMethodName () const | 
| Returns the method name of the caller.  More... | |
| 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 NAis returned.  More... | |
| static const char *const | NA_METHOD | 
This class represents the location of a logging statement.
| LocationInfo | ( | const char *const | fileName, | 
| const char *const | functionName, | ||
| int | lineNumber | ||
| ) | 
Constructor.
| LocationInfo | ( | ) | 
Default constructor.
| LocationInfo | ( | const LocationInfo & | src | ) | 
Copy constructor.
| src | source location | 
| 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.
| 
 | static | 
| const std::string getMethodName | ( | ) | const | 
Returns the method name of the caller.
| LocationInfo& operator= | ( | const LocationInfo & | src | ) | 
Assignment operator.
| src | source location | 
| void write | ( | log4cxx::helpers::ObjectOutputStream & | os, | 
| log4cxx::helpers::Pool & | p | ||
| ) | const | 
| 
 | static | 
When location information is not available the constant NA is returned. 
Current value of this string constant is ?.
| 
 | static |