CeresEngine 0.2.0
A game development framework
Loading...
Searching...
No Matches
CeresEngine::ShaderCompiler::StdLog Class Reference

Standard output log (uses std::cout to submit a report). More...

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

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

Public Member Functions

 StdLog ()
 
 ~StdLog () override
 
void submitReport (const Report &report) override
 Implements the base class interface.
 
void printAll (bool verbose=true)
 Prints all submitted reports to the standard output.
 
- Public Member Functions inherited from CeresEngine::ShaderCompiler::Log
virtual ~Log ()=default
 
void setIndent (const String &indent)
 Sets the next indentation string. By default two spaces.
 
void incIndent ()
 Increments the indentation.
 
void decIndent ()
 Decrements the indentation.
 

Private Attributes

OpaqueDatamData = nullptr
 

Additional Inherited Members

- Protected Member Functions inherited from CeresEngine::ShaderCompiler::Log
 Log ()=default
 
const StringfullIndent () const
 Returns the current full indentation string.
 

Detailed Description

Standard output log (uses std::cout to submit a report).

Constructor & Destructor Documentation

◆ StdLog()

CeresEngine::ShaderCompiler::StdLog::StdLog ( )

◆ ~StdLog()

CeresEngine::ShaderCompiler::StdLog::~StdLog ( )
override

Member Function Documentation

◆ printAll()

void CeresEngine::ShaderCompiler::StdLog::printAll ( bool  verbose = true)

Prints all submitted reports to the standard output.

◆ submitReport()

void CeresEngine::ShaderCompiler::StdLog::submitReport ( const Report report)
overridevirtual

Implements the base class interface.

Implements CeresEngine::ShaderCompiler::Log.

Member Data Documentation

◆ mData

OpaqueData* CeresEngine::ShaderCompiler::StdLog::mData = nullptr
private

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