test
CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
List of all members | Public Member Functions | Private Attributes
jsoncollector::JsonMonPtr Class Reference

#include <JsonMonitorable.h>

Public Member Functions

JsonMonitorableget ()
 
 JsonMonPtr ()
 
 JsonMonPtr (JsonMonitorable *ptr)
 
JsonMonitorableoperator-> ()
 
void operator= (JsonMonitorable *ptr)
 
 ~JsonMonPtr ()
 

Private Attributes

JsonMonitorableptr_
 

Detailed Description

Definition at line 55 of file JsonMonitorable.h.

Constructor & Destructor Documentation

jsoncollector::JsonMonPtr::JsonMonPtr ( )
inline

Definition at line 57 of file JsonMonitorable.h.

57 :ptr_(nullptr){}
JsonMonitorable * ptr_
jsoncollector::JsonMonPtr::JsonMonPtr ( JsonMonitorable ptr)
inline

Definition at line 58 of file JsonMonitorable.h.

58 :ptr_(ptr){}
JsonMonitorable * ptr_
jsoncollector::JsonMonPtr::~JsonMonPtr ( )
inline

Definition at line 60 of file JsonMonitorable.h.

References ptr_.

60 {if (ptr_) delete ptr_;ptr_=nullptr;}
JsonMonitorable * ptr_

Member Function Documentation

JsonMonitorable* jsoncollector::JsonMonPtr::get ( void  )
inline
JsonMonitorable* jsoncollector::JsonMonPtr::operator-> ( )
inline

Definition at line 61 of file JsonMonitorable.h.

References ptr_.

61 {return ptr_;}
JsonMonitorable * ptr_
void jsoncollector::JsonMonPtr::operator= ( JsonMonitorable ptr)
inline

Definition at line 59 of file JsonMonitorable.h.

References ptr_.

59 {ptr_=ptr;}
JsonMonitorable * ptr_

Member Data Documentation

JsonMonitorable* jsoncollector::JsonMonPtr::ptr_
private

Definition at line 66 of file JsonMonitorable.h.

Referenced by get(), operator->(), operator=(), and ~JsonMonPtr().