Rogue Wave banner
Previous fileTop of DocumentContentsIndexNext file

RWTCountingPointer
<Body,Counter=RWSafeCounter>


RWTCountingPointer<Body,Counter=RWSafeCounter> RWTPointer<Body>

Data Type and Member Function Indexes
(exclusive of constructors and destructors)

Member Functions

Package

Smart Pointer

Header File

#include <rw/pointer/RWTCountingPointer.h>

Description

Defines a reference-counted pointer that provides reference counting semantics for objects that do not directly support reference counting.

Example

Public Constructors

RWTCountingPointer(Body* bodyP=rwnil);
RWTCountingPointer(RWStaticCtor);
RWTCountingPointer(const RWTCountingPointer<Body, Counter>& second);

Public Destructor

~RWTCountingPointer(void); 

Public Member Operators

Body* 
operator->(void) const; 
Body&
operator*(void) const;
RWTCountingPointer<Body,Counter>& 
operator=(Body* bodyP);
RWTCountingPointer<Body,Counter>& 
operator=(const RWTCountingPointer<Body,Counter>& second);


Previous fileTop of DocumentContentsIndexNext file

©Copyright 2000, Rogue Wave Software, Inc.
Contact Rogue Wave about documentation or support issues.