class RCPtr

The counted pointer class More...

Definition#include <data-flow/include/rc_ptrs.h>
Template formRCPtr<template class X>
List of all Methods
Annotated List
Files
Globals
Hierarchy
Index

Public Types

Public Methods

Protected Methods

Protected Members


Detailed Description

The counted pointer class

typedef X element_type

typedef X* pointer_type

typedef size_t size_type

X* ptr

[protected]

explicit  RCPtr (X* p=0) : ptr(p)

bool  isNil ()

template <class Z>  RCPtr (const RCPtr<Z> &r)

 RCPtr (const RCPtr<X> &r)

RCPtr ()

template <class Z> RCPtr&  operator= (const RCPtr<Z> &r)

RCPtr&  operator= (const RCPtr<X> &r)

template <class Z> RCPtr&  operator= (Z *r)

RCPtr&  operator= (X *r)

X&  operator* ()

[const]

X*  operator-> ()

[const]

X&  operator* ()

[const]

X*  operator-> ()

[const]

X*  get ()

[const]

bool  unique ()

[const]

X * detach ()

void  release ()

[protected]

void  acquire ()

[protected]