Indentation handler base class.
Definition CodeWriter.hpp:23
void decrementIndent()
Decrements the indentation.
void incrementIndent()
Increments the indentation.
void setIndent(const String &indent)
Sets the next indentation string. By default two spaces.
const String & getFullIndent() const
Returns the current full indentation string.
Log base class.
Definition Log.hpp:19
IndentHandler mIndentHandler
Definition Log.hpp:42
void incIndent()
Increments the indentation.
Definition Log.hpp:30
void setIndent(const String &indent)
Sets the next indentation string. By default two spaces.
Definition Log.hpp:27
virtual void submitReport(const Report &report)=0
Submits the specified report.
void decIndent()
Decrements the indentation.
Definition Log.hpp:33
const String & fullIndent() const
Returns the current full indentation string.
Definition Log.hpp:39
Report exception class which contains a completely constructed message with optional line marker,...
Definition Report.hpp:31
Standard output log (uses std::cout to submit a report).
Definition Log.hpp:46
void submitReport(const Report &report) override
Implements the base class interface.
void printAll(bool verbose=true)
Prints all submitted reports to the standard output.
OpaqueData * mData
Definition Log.hpp:60
constexpr size_t hash(const T &v)
Generates a hash for the provided type.
Definition Hash.hpp:25