Google APIs Client Library for C++
JsonCppCapsule< BASE > Class Template Reference

Helper class for constructing new top-level JsonCppData instances. More...

#include "client/data/jsoncpp_data.h"

List of all members.

Public Member Functions

 JsonCppCapsule ()
 Default constructor.
virtual ~JsonCppCapsule ()
 Standard destructor.

Detailed Description

template<typename BASE>
class googleapis::client::JsonCppCapsule< BASE >

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.


Constructor & Destructor Documentation

JsonCppCapsule ( ) [inline]

Default constructor.

virtual ~JsonCppCapsule ( ) [inline, virtual]

Standard destructor.


The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines