|
EpcTools
An event based multi-threaded C++ development framework.
|
A helper class which pushes/pops items on the builder's object stack based on its lifetime. More...
#include <ejsonbuilder.h>
Public Member Functions | |
| StackValue (EJsonBuilder &builder, const T &value, const EString &name="") | |
| Constructs the helper class with the provided values. This pushes and pops the value object onto/off the builder's stack. More... | |
A helper class which pushes/pops items on the builder's object stack based on its lifetime.
| EJsonBuilder::StackValue< T >::StackValue | ( | EJsonBuilder & | builder, |
| const T & | value, | ||
| const EString & | name = "" |
||
| ) |
Constructs the helper class with the provided values. This pushes and pops the value object onto/off the builder's stack.
| builder | the builder to append to |
| value | the value to add |
| name | see EJsonBuilder::pop() for details |
| see | EJsonBuilder::pop() for details |
1.8.11