Inviwo 0.9.12-pre
Inviwo documentation
|
#include <linenumberresolver.h>
Public Member Functions | |
void | addLine (std::string_view file, size_t line) |
const std::pair< std::string, size_t > & | resolveLine (size_t line) const |
void | clear () |
size_t | size () |
auto | begin () const |
auto | end () const |
A class for tracing where each line of code come from after a file has been pre-processed
void inviwo::LineNumberResolver::addLine | ( | std::string_view | file, |
size_t | line ) |
Append a source file and line number
const std::pair< std::string, size_t > & inviwo::LineNumberResolver::resolveLine | ( | size_t | line | ) | const |
Lookup up the source file and line for the given line.