Report exception class which contains a completely constructed message with optional line marker, hints, and context description.
More...
#include <CeresEngine/Material/ShaderCompiler/Report.hpp>
Report exception class which contains a completely constructed message with optional line marker, hints, and context description.
◆ Report() [1/3]
| CeresEngine::ShaderCompiler::Report::Report |
( |
const Report & |
| ) |
|
|
default |
◆ Report() [2/3]
◆ Report() [3/3]
Remove new-line characters from end of source line
◆ getContext()
| const String & CeresEngine::ShaderCompiler::Report::getContext |
( |
| ) |
const |
|
inline |
Returns the context description string (e.g. a function name where the report occured). This may also be empty.
◆ getHints()
Returns the list of optional hints of the report.
◆ getLine()
| const String & CeresEngine::ShaderCompiler::Report::getLine |
( |
| ) |
const |
|
inline |
Returns the line string where the report occured. This line never has new-line characters at its end.
◆ getMarker()
| const String & CeresEngine::ShaderCompiler::Report::getMarker |
( |
| ) |
const |
|
inline |
Returns the line marker string to highlight the area where the report occured.
◆ getMessage()
| const String & CeresEngine::ShaderCompiler::Report::getMessage |
( |
| ) |
const |
|
inline |
Returns the message string.
◆ getType()
| ReportTypes CeresEngine::ShaderCompiler::Report::getType |
( |
| ) |
const |
|
inline |
Returns the type of this report.
◆ hasLine()
| bool CeresEngine::ShaderCompiler::Report::hasLine |
( |
| ) |
const |
|
inline |
Returns true if this report has a line with line marker.
- See also
- Line
-
Marker
◆ operator=()
◆ takeHints()
| void CeresEngine::ShaderCompiler::Report::takeHints |
( |
Vector< String > && |
hints | ) |
|
|
inline |
Moves the specified hints into this report.
◆ what()
| const char * CeresEngine::ShaderCompiler::Report::what |
( |
| ) |
const |
|
inlineoverridenoexcept |
Overrides the 'std::exception::what' function.
◆ mContext
| String CeresEngine::ShaderCompiler::Report::mContext |
|
private |
◆ mHints
◆ mLine
| String CeresEngine::ShaderCompiler::Report::mLine |
|
private |
◆ mMarker
| String CeresEngine::ShaderCompiler::Report::mMarker |
|
private |
◆ mMessage
| String CeresEngine::ShaderCompiler::Report::mMessage |
|
private |
◆ mType
The documentation for this class was generated from the following file:
- /Users/Rogiel/Developer/CeresEngine/Engine/Sources/CeresEngine/Material/ShaderCompiler/Report.hpp