|
ETISS 0.11.2
ExtendableTranslatingInstructionSetSimulator(version0.11.2)
|
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 194 of file Misc.h.
References file_, line_, and etiss::toString().

| const std::string etiss::SourceCodeLocation::file_ |
Definition at line 198 of file Misc.h.
Referenced by toString().
| const size_t etiss::SourceCodeLocation::line_ |
Definition at line 199 of file Misc.h.
Referenced by toString().