FastJet  3.0.2
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
Public Member Functions
fastjet::SharedPtr< T >::__SharedCountingPtr Class Reference

  
 More...

#include <fastjet/SharedPtr.hh>

List of all members.

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

Detailed Description

template<class T>
class fastjet::SharedPtr< T >::__SharedCountingPtr

 

Definition at line 285 of file SharedPtr.hh.


Member Function Documentation

template<class T>
void fastjet::SharedPtr< T >::__SharedCountingPtr::set_count ( const long &  count)
inline

force the count to be set to a specified value

Parameters:
countthe value that we ned to reset to

Definition at line 323 of file SharedPtr.hh.


The documentation for this class was generated from the following file: