cloudy trunk
|
#include <count_ptr.h>
Public Member Functions | |
count_ptr (T *ptr=0) | |
count_ptr (const count_ptr< T > &p) | |
~count_ptr () throw () | |
count_ptr< T > & | operator= (count_ptr< T > temp) |
T & | operator* () const |
T * | operator-> () const throw () |
int | equiv (const count_ptr< T > &p) const throw () |
T * | get_ptr () const throw () |
long | count () const |
void | swap (count_ptr< T > &a) throw () |
int | compare (const count_ptr< T > &a) const |
Private Member Functions | |
void | cancel () |
Private Attributes | |
T * | m_ptr |
long * | m_count |
Definition at line 11 of file count_ptr.h.
|
inlineexplicit |
Definition at line 17 of file count_ptr.h.
References m_count, and m_ptr.
Referenced by compare(), count_ptr(), equiv(), operator=(), and swap().
|
inline |
Definition at line 20 of file count_ptr.h.
References count_ptr(), m_count, and m_ptr.
Definition at line 25 of file count_ptr.h.
References cancel().
|
inlineprivate |
Definition at line 71 of file count_ptr.h.
References m_count, and m_ptr.
Referenced by ~count_ptr().
Definition at line 62 of file count_ptr.h.
References count_ptr(), and m_ptr.
Referenced by operator<(), operator<=(), operator==(), operator>(), and operator>=().
|
inline |
Definition at line 53 of file count_ptr.h.
References m_count.
Definition at line 45 of file count_ptr.h.
References count_ptr(), and m_ptr.
|
inline |
Definition at line 49 of file count_ptr.h.
References m_ptr.
Referenced by newisotope(), and parse_species_label().
|
inline |
Definition at line 37 of file count_ptr.h.
References m_ptr.
|
inline |
Definition at line 41 of file count_ptr.h.
References m_ptr.
Definition at line 30 of file count_ptr.h.
References count_ptr(), and swap().
Definition at line 57 of file count_ptr.h.
References count_ptr(), m_count, and m_ptr.
Referenced by operator=(), and swap().
|
private |
Definition at line 14 of file count_ptr.h.
Referenced by cancel(), count(), count_ptr(), count_ptr(), and swap().
|
private |
Definition at line 13 of file count_ptr.h.
Referenced by cancel(), compare(), count_ptr(), count_ptr(), equiv(), get_ptr(), operator*(), operator->(), and swap().