#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 13 of file mayown_ptr.h.
|
inlineexplicit |
|
inlineexplicit |
Definition at line 44 of file mayown_ptr.h.
|
inline |
|
delete |
|
inline |
Definition at line 47 of file mayown_ptr.h.
|
inlineprivate |
Definition at line 39 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 58 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 53 of file mayown_ptr.h.
References mayown_ptr< T, N >::pointer().
Referenced by Options.Options::__getitem__(), betterConfigParser.BetterConfigParser::__updateDict(), util.rrapi.RRApi::columns(), rrapi.RRApi::columns(), util.rrapi.RRApi::count(), rrapi.RRApi::count(), rrapi.RRApi::data(), util.rrapi.RRApi::data(), betterConfigParser.BetterConfigParser::getCompares(), betterConfigParser.BetterConfigParser::getGeneral(), betterConfigParser.BetterConfigParser::getResultingSection(), rrapi.RRApi::report(), util.rrapi.RRApi::report(), rrapi.RRApi::reports(), util.rrapi.RRApi::reports(), util.rrapi.RRApi::tables(), rrapi.RRApi::tables(), rrapi.RRApi::tags(), util.rrapi.RRApi::tags(), rrapi.RRApi::templates(), util.rrapi.RRApi::templates(), util.rrapi.RRApi::workspaces(), and rrapi.RRApi::workspaces().
|
inline |
Definition at line 25 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 17 of file mayown_ptr.h.
References assert(), 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 49 of file mayown_ptr.h.
References mayown_ptr< T, N >::destroy(), and mayown_ptr< T, N >::p.
|
inlineprivate |
Definition at line 30 of file mayown_ptr.h.
References assert(), 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 60 of file mayown_ptr.h.
References mayown_ptr< T, N >::p.
Referenced by operator==().
|
inline |
Definition at line 54 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 55 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 56 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 57 of file mayown_ptr.h.
References mayown_ptr< T, N >::destroy(), and mayown_ptr< T, N >::p.
|
private |
Definition at line 15 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(), Electron.Electron::ptErr(), mayown_ptr< T, N >::raw(), mayown_ptr< T, N >::release(), and mayown_ptr< T, N >::reset().