libcommonc++
0.7
|
A lexically scoped DataEncoder context. More...
#include <DataEncoder.h++>
Public Member Functions | |
ScopedContext (DataEncoder &encoder) | |
Construct a new ScopedContext for the given DataEncoder. More... | |
~ScopedContext () | |
Destructor. More... | |
A lexically scoped DataEncoder context.
ScopedContext pushes a new DataEncoder context in its constructor and pops it in its destructor.
|
inline |
Construct a new ScopedContext for the given DataEncoder.
Immediately pushes a new context on the encoder.
|
inline |
Destructor.
Pops the context off the encoder.