Google APIs Client Library for C++
|
Helper class for constructing new top-level JsonCppData instances. More...
#include "client/data/jsoncpp_data.h"
Public Member Functions | |
JsonCppCapsule () | |
Default constructor. | |
virtual | ~JsonCppCapsule () |
Standard destructor. |
Helper class for constructing new top-level JsonCppData instances.
The base JsonCppData class requires storage managed externally. When creating new top-level instances you do not necessarily have a Json::Value instance already nor do you want to worry about managing one.
This capsule creates a specialization of any standard class derived from JsonCppData that provides its own storage for a default constructor.It is only inteded for actually instantiating new instances. When passing them around, the BASE class should be used in the interfaces.
JsonCppCapsule | ( | ) | [inline] |
Default constructor.
virtual ~JsonCppCapsule | ( | ) | [inline, virtual] |
Standard destructor.