KrisLibrary  1.0.0
Public Member Functions | List of all members
ContextStack Class Reference

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
 

Detailed Description

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 ':').


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