|
FastJet 3.5.0
|
#include <fastjet/SharedPtr.hh>
Public Member Functions | |
| __SharedCountingPtr () | |
| default ctor | |
| template<class Y > | |
| __SharedCountingPtr (Y *ptr) | |
| ctor with initialisation | |
| ~__SharedCountingPtr () | |
| default dtor | |
| T * | get () const |
| return a pointer to the object | |
| long | use_count () const |
| return the count | |
| long | operator++ () |
| prefix increment operator | |
| long | operator-- () |
| prefix decrement operator | |
| long | operator++ (int) |
| postfix increment operator The "dummy" int argument is just a C++ trick to differentiate it from the prefix increment | |
| long | operator-- (int) |
| postfix decrement operator The "dummy" int argument is just a C++ trick to differentiate it from the prefix decrement | |
| void | set_count (const long &count) |
| force the count to be set to a specified value | |
Definition at line 522 of file SharedPtr.hh.
|
inline |
default ctor
Definition at line 525 of file SharedPtr.hh.
|
inlineexplicit |
ctor with initialisation
Definition at line 528 of file SharedPtr.hh.
|
inline |
default dtor
Definition at line 531 of file SharedPtr.hh.
|
inline |
return a pointer to the object
Definition at line 537 of file SharedPtr.hh.
|
inline |
return the count
Definition at line 540 of file SharedPtr.hh.
|
inline |
prefix increment operator
Definition at line 543 of file SharedPtr.hh.
|
inline |
prefix decrement operator
Definition at line 546 of file SharedPtr.hh.
|
inline |
postfix increment operator The "dummy" int argument is just a C++ trick to differentiate it from the prefix increment
Definition at line 551 of file SharedPtr.hh.
|
inline |
postfix decrement operator The "dummy" int argument is just a C++ trick to differentiate it from the prefix decrement
Definition at line 556 of file SharedPtr.hh.
|
inline |
force the count to be set to a specified value
| count | the value that we ned to reset to |
Definition at line 560 of file SharedPtr.hh.