CMS 3D CMS Logo

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 56 of file JsonMonitorable.h.

Constructor & Destructor Documentation

jsoncollector::JsonMonPtr::JsonMonPtr ( )
inline

Definition at line 58 of file JsonMonitorable.h.

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

Definition at line 59 of file JsonMonitorable.h.

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

Definition at line 61 of file JsonMonitorable.h.

References ptr_.

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

Member Function Documentation

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

Definition at line 62 of file JsonMonitorable.h.

References ptr_.

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

Definition at line 60 of file JsonMonitorable.h.

References ptr_.

60 {ptr_=ptr;}
JsonMonitorable * ptr_

Member Data Documentation

JsonMonitorable* jsoncollector::JsonMonPtr::ptr_
private

Definition at line 67 of file JsonMonitorable.h.