ETISS 0.8.0
Extendable Translating Instruction Set Simulator (version 0.8.0)
|
simple class that store source location information. More...
#include <Misc.h>
Public Member Functions | |
SourceCodeLocation (const std::string &file, size_t line) | |
std::string | toString () const |
Public Member Functions inherited from etiss::ToString | |
ToString () | |
virtual | ~ToString () |
Public Attributes | |
const std::string | file_ |
const size_t | line_ |
simple class that store source location information.
This class is required to pass location information to etiss::log(). Use the macro ETISS_SRCLOC to create a SourceCodeLocation object for the current location in the source code.
E.g.:
|
inline |
|
inline |
Definition at line 231 of file Misc.h.
References file_, line_, and etiss::toString().
const std::string etiss::SourceCodeLocation::file_ |
Definition at line 235 of file Misc.h.
Referenced by toString().
const size_t etiss::SourceCodeLocation::line_ |
Definition at line 236 of file Misc.h.
Referenced by toString().