Main Page   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members   File Members  

PP_UseCount Class Reference

#include <ParmParse.H>

List of all members.

Public Methods

 PP_UseCount ()
 : Construct a PP_UseCount initialized to one.

 PP_UseCount (const PP_UseCount &rhs)
 : The copy constructor -- bumps reference count.

PP_UseCount & operator= (const PP_UseCount &rhs)
 ~PP_UseCount ()
 : The destructor -- decrements the reference count.

bool unique () const
 : The PP_UseCount is unique if the reference count == 1.

int linkCount () const
 : Returns the reference count.


Constructor & Destructor Documentation

PP_UseCount::PP_UseCount   [inline]
 

: Construct a PP_UseCount initialized to one.

PP_UseCount::PP_UseCount const PP_UseCount &    rhs [inline]
 

: The copy constructor -- bumps reference count.

PP_UseCount::~PP_UseCount   [inline]
 

: The destructor -- decrements the reference count.


Member Function Documentation

int PP_UseCount::linkCount   const [inline]
 

: Returns the reference count.

PP_UseCount & PP_UseCount::operator= const PP_UseCount &    rhs [inline]
 

: The assignment operator. Increments the reference count on rhs, decrements the reference count on this, and then makes this and rhs point to the same reference count.

bool PP_UseCount::unique   const [inline]
 

: The PP_UseCount is unique if the reference count == 1.


The documentation for this class was generated from the following file:
Generated on Wed Jan 19 17:56:34 2005 for Chombo&INSwithParticles by doxygen1.2.16