KrisLibrary
1.0.0
|
A helper for maintaining and printing context. More...
#include <ContextStack.h>
Public Member Functions | |
void | Push (const std::string &item) |
void | Pop () |
const std::string & | GetLocal () const |
operator const std::string & () const | |
A helper for maintaining and printing context.
A context frame is pushed (with a name) when it is entered, and popped when it is exited. The string cast operator returns the context string, where the name of each frame is delimited with delim (default ':').