Main Page | Modules | Namespace List | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Class Members | File Members

PP_UseCount Class Reference

#include <ParmParse.H>

List of all members.

Public Member Functions

 PP_UseCount ()
 : Construct a PP_UseCount initialized to one.
 PP_UseCount (const PP_UseCount &rhs)
 : The copy constructor -- bumps reference count.
PP_UseCountoperator= (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 Oct 5 14:02:06 2005 for Chombo&AMRSelfGravity by  doxygen 1.4.1