#include <mayown_ptr.h>
Public Member Functions | |
bool | empty () const |
T const * | get () const |
bool | isOwn () const |
mayown_ptr (T *ip=nullptr) | |
mayown_ptr (T const &ip) | |
mayown_ptr (mayown_ptr &)=delete | |
mayown_ptr (mayown_ptr &&rh) | |
T const & | operator* () const |
T const * | operator-> () const |
mayown_ptr & | operator= (mayown_ptr &)=delete |
mayown_ptr & | operator= (mayown_ptr &&rh) |
T const * | raw () const |
T const * | release () |
void | reset () |
void | reset (T *ip) |
void | reset (T const &ip) |
~mayown_ptr () | |
Private Member Functions | |
void | destroy () |
void | markOwn () |
T const * | pointer () const |
Private Attributes | |
T const * | p =nullptr |
Definition at line 14 of file mayown_ptr.h.
|
inlineexplicit |
|
inlineexplicit |
Definition at line 45 of file mayown_ptr.h.
|
inline |
|
delete |
|
inline |
Definition at line 48 of file mayown_ptr.h.
|
inlineprivate |
Definition at line 40 of file mayown_ptr.h.
References mayown_ptr< T, N >::isOwn(), and mayown_ptr< T, N >::pointer().
Referenced by mayown_ptr< T, N >::operator=(), mayown_ptr< T, N >::reset(), and mayown_ptr< T, N >::~mayown_ptr().
|
inline |
Definition at line 59 of file mayown_ptr.h.
References mayown_ptr< T, N >::p.
Referenced by MultiHitGeneratorFromChi2::hitSets(), Vispa.Gui.VispaWidget.TextField::setAutosizeFont(), and Vispa.Gui.VispaWidget.TextField::setAutotruncate().
|
inline |
Definition at line 54 of file mayown_ptr.h.
References mayown_ptr< T, N >::pointer().
Referenced by Options.Options::__getitem__(), betterConfigParser.BetterConfigParser::__updateDict(), rrapi.RRApi::columns(), rrapi.RRApi::count(), rrapi.RRApi::data(), betterConfigParser.BetterConfigParser::getCompares(), betterConfigParser.BetterConfigParser::getGeneral(), betterConfigParser.BetterConfigParser::getResultingSection(), rrapi.RRApi::report(), rrapi.RRApi::reports(), rrapi.RRApi::tables(), rrapi.RRApi::tags(), rrapi.RRApi::templates(), and rrapi.RRApi::workspaces().
|
inline |
Definition at line 26 of file mayown_ptr.h.
References N, and mayown_ptr< T, N >::p.
Referenced by mayown_ptr< T, N >::destroy(), and MultiHitGeneratorFromChi2::hitSets().
|
inlineprivate |
Definition at line 18 of file mayown_ptr.h.
References N, and mayown_ptr< T, N >::p.
Referenced by mayown_ptr< T, N >::mayown_ptr(), and mayown_ptr< T, N >::reset().
|
inline |
|
inline |
|
delete |
|
inline |
Definition at line 50 of file mayown_ptr.h.
References mayown_ptr< T, N >::destroy(), and mayown_ptr< T, N >::p.
|
inlineprivate |
Definition at line 31 of file mayown_ptr.h.
References N, np, and mayown_ptr< T, N >::p.
Referenced by mayown_ptr< T, N >::destroy(), mayown_ptr< T, N >::get(), mayown_ptr< T, N >::operator*(), mayown_ptr< T, N >::operator->(), and mayown_ptr< T, N >::release().
|
inline |
Definition at line 61 of file mayown_ptr.h.
References mayown_ptr< T, N >::p.
Referenced by operator==().
|
inline |
Definition at line 55 of file mayown_ptr.h.
References np, mayown_ptr< T, N >::p, and mayown_ptr< T, N >::pointer().
Referenced by cuy.ValElement::__init__(), and MultiHitGeneratorFromChi2::hitSets().
|
inline |
Definition at line 56 of file mayown_ptr.h.
References mayown_ptr< T, N >::destroy(), and mayown_ptr< T, N >::p.
Referenced by MultiHitGeneratorFromChi2::hitSets(), and MultiHitGeneratorFromChi2::refit2Hits().
|
inline |
Definition at line 57 of file mayown_ptr.h.
References mayown_ptr< T, N >::destroy(), mayown_ptr< T, N >::markOwn(), and mayown_ptr< T, N >::p.
|
inline |
Definition at line 58 of file mayown_ptr.h.
References mayown_ptr< T, N >::destroy(), and mayown_ptr< T, N >::p.
|
private |
Definition at line 16 of file mayown_ptr.h.
Referenced by Vispa.Views.RootCanvasView.RootCanvasView::createGraph(), Vispa.Views.RootCanvasView.RootCanvasView::createLegoPlot(), mayown_ptr< T, N >::empty(), mayown_ptr< T, N >::isOwn(), mayown_ptr< T, N >::markOwn(), mayown_ptr< T, N >::operator=(), mayown_ptr< T, N >::pointer(), mayown_ptr< T, N >::raw(), mayown_ptr< T, N >::release(), and mayown_ptr< T, N >::reset().