flopc::Handle< T > Class Template Reference
[Internal (private) interface.]

Utility for doing reference counted pointers. More...

#include <MP_utilities.hpp>

Inheritance diagram for flopc::Handle< T >:
Inheritance graph
[legend]
Collaboration diagram for flopc::Handle< T >:
Collaboration graph
[legend]

List of all members.

Public Member Functions

const T & operator-> () const
 Handle (const T &r)
 Handle (const Handle &h)
const Handleoperator= (const Handle &h)
bool isDefined ()
 ~Handle ()

Protected Member Functions

void increment ()
void decrement ()

Private Member Functions

 Handle ()

Private Attributes

root

Detailed Description

template<class T>
class flopc::Handle< T >

Utility for doing reference counted pointers.

Definition at line 108 of file MP_utilities.hpp.


Constructor & Destructor Documentation

template<class T>
flopc::Handle< T >::Handle ( const T &  r  )  [inline]

Definition at line 113 of file MP_utilities.hpp.

template<class T>
flopc::Handle< T >::Handle ( const Handle< T > &  h  )  [inline]

Definition at line 116 of file MP_utilities.hpp.

template<class T>
flopc::Handle< T >::~Handle (  )  [inline]

Definition at line 130 of file MP_utilities.hpp.

template<class T>
flopc::Handle< T >::Handle (  )  [inline, private]

Definition at line 152 of file MP_utilities.hpp.


Member Function Documentation

template<class T>
const T& flopc::Handle< T >::operator-> (  )  const [inline]

Definition at line 110 of file MP_utilities.hpp.

template<class T>
const Handle& flopc::Handle< T >::operator= ( const Handle< T > &  h  )  [inline]

Definition at line 119 of file MP_utilities.hpp.

template<class T>
bool flopc::Handle< T >::isDefined (  )  [inline]

Definition at line 127 of file MP_utilities.hpp.

template<class T>
void flopc::Handle< T >::increment (  )  [inline, protected]

Definition at line 134 of file MP_utilities.hpp.

template<class T>
void flopc::Handle< T >::decrement (  )  [inline, protected]

if(root->count != 0) {

}

Definition at line 139 of file MP_utilities.hpp.


Member Data Documentation

template<class T>
T flopc::Handle< T >::root [private]

Definition at line 153 of file MP_utilities.hpp.


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

Generated on 15 Mar 2015 for Coin-All by  doxygen 1.6.1