|
CeresEngine 0.2.0
A game development framework
|
Indentation handler base class. More...
#include <CeresEngine/Foundation/CodeWriter.hpp>
Public Member Functions | |
| IndentHandler (const String &initialIndent=" ") | |
| virtual | ~IndentHandler () |
| void | setIndent (const String &indent) |
| Sets the next indentation string. By default two spaces. | |
| void | incrementIndent () |
| Increments the indentation. | |
| void | decrementIndent () |
| Decrements the indentation. | |
| const String & | getFullIndent () const |
| Returns the current full indentation string. | |
Private Attributes | |
| String | mIndent |
| String | mIndentFull |
| Stack< String::size_type > | mIndentStack |
Indentation handler base class.
|
virtual |
| void CeresEngine::IndentHandler::decrementIndent | ( | ) |
Decrements the indentation.
Returns the current full indentation string.
| void CeresEngine::IndentHandler::incrementIndent | ( | ) |
Increments the indentation.
Sets the next indentation string. By default two spaces.
|
private |
|
private |
|
private |