CeresEngine 0.2.0
A game development framework
Loading...
Searching...
No Matches
CeresEngine::ShaderCompiler::Log Class Referenceabstract

Log base class. More...

#include <CeresEngine/Material/ShaderCompiler/Log.hpp>

Inheritance diagram for CeresEngine::ShaderCompiler::Log:
CeresEngine::ShaderCompiler::StdLog

Public Member Functions

virtual ~Log ()=default
 
virtual void submitReport (const Report &report)=0
 Submits the specified report.
 
void setIndent (const String &indent)
 Sets the next indentation string. By default two spaces.
 
void incIndent ()
 Increments the indentation.
 
void decIndent ()
 Decrements the indentation.
 

Protected Member Functions

 Log ()=default
 
const StringfullIndent () const
 Returns the current full indentation string.
 

Private Attributes

IndentHandler mIndentHandler
 

Detailed Description

Log base class.

Constructor & Destructor Documentation

◆ ~Log()

virtual CeresEngine::ShaderCompiler::Log::~Log ( )
virtualdefault

◆ Log()

CeresEngine::ShaderCompiler::Log::Log ( )
protecteddefault

Member Function Documentation

◆ decIndent()

void CeresEngine::ShaderCompiler::Log::decIndent ( )
inline

Decrements the indentation.

◆ fullIndent()

const String & CeresEngine::ShaderCompiler::Log::fullIndent ( ) const
inlineprotected

Returns the current full indentation string.

◆ incIndent()

void CeresEngine::ShaderCompiler::Log::incIndent ( )
inline

Increments the indentation.

◆ setIndent()

void CeresEngine::ShaderCompiler::Log::setIndent ( const String indent)
inline

Sets the next indentation string. By default two spaces.

◆ submitReport()

virtual void CeresEngine::ShaderCompiler::Log::submitReport ( const Report report)
pure virtual

Submits the specified report.

Implemented in CeresEngine::ShaderCompiler::StdLog.

Member Data Documentation

◆ mIndentHandler

IndentHandler CeresEngine::ShaderCompiler::Log::mIndentHandler
private

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