Inviwo 0.9.12-pre
Inviwo documentation
Loading...
Searching...
No Matches
inviwo::LineNumberResolver Struct Reference

#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
 

Detailed Description

A class for tracing where each line of code come from after a file has been pre-processed

See also
ShaderObject

Member Function Documentation

◆ addLine()

void inviwo::LineNumberResolver::addLine ( std::string_view file,
size_t line )

Append a source file and line number

◆ resolveLine()

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.


The documentation for this struct was generated from the following file: