CeresEngine 0.2.0
A game development framework
Loading...
Searching...
No Matches
ConsoleManip.hpp File Reference
#include <iostream>
#include <ostream>

Go to the source code of this file.

Classes

struct  CeresEngine::ShaderCompiler::ConsoleManip::ColorFlags
 Output stream color flags enumeration. More...
 
class  CeresEngine::ShaderCompiler::ConsoleManip::ScopedColor
 Helper class for scoped color stack operations. More...
 

Namespaces

namespace  CeresEngine
 
namespace  CeresEngine::ShaderCompiler
 
namespace  CeresEngine::ShaderCompiler::ConsoleManip
 

Functions

void CeresEngine::ShaderCompiler::ConsoleManip::enable (bool enable)
 Enables or disables console manipulation. By default enabled.
 
bool CeresEngine::ShaderCompiler::ConsoleManip::isEnabled ()
 Returns true if console manipulation is enabled.
 
void CeresEngine::ShaderCompiler::ConsoleManip::pushColor (long front, std::ostream &stream=std::cout)
 Pushes the specified front color flags onto the stack.
 
void CeresEngine::ShaderCompiler::ConsoleManip::pushColor (long front, long back, std::ostream &stream=std::cout)
 Pushes the specified front and back color flags onto the stack.
 
void CeresEngine::ShaderCompiler::ConsoleManip::popColor (std::ostream &stream=std::cout)
 Pops the previous front and back color flags from the stack.