FastJet
3.0.2
|
#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 285 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 323 of file SharedPtr.hh.