template<class T> class osg::ref_ptr

Smart pointer for handling referenced counted objects

Public Methods

[more] ref_ptr()
[more] ref_ptr(T* t)
[more] ref_ptr(const ref_ptr& rp)
[more] ~ref_ptr()
[more]ref_ptr& operator = (const ref_ptr& rp)
[more]ref_ptr& operator = (T* ptr)
[more]bool operator == (const ref_ptr& rp) const
[more]bool operator == (const T* ptr) const
[more]bool operator != (const ref_ptr& rp) const
[more]bool operator != (const T* ptr) const
[more]T& operator*() const
[more]T* operator->() const
[more]bool operator!() const
[more]bool valid() const
[more]T* get() const


Documentation

Smart pointer for handling referenced counted objects
o ref_ptr()

o ref_ptr(T* t)

o ref_ptr(const ref_ptr& rp)

o ~ref_ptr()

oref_ptr& operator = (const ref_ptr& rp)

oref_ptr& operator = (T* ptr)

obool operator == (const ref_ptr& rp) const

obool operator == (const T* ptr) const

obool operator != (const ref_ptr& rp) const

obool operator != (const T* ptr) const

oT& operator*() const

oT* operator->() const

obool operator!() const

obool valid() const

oT* get() const


This class has no child classes.

Alphabetic index HTML hierarchy of classes or Java



This page was generated with the help of DOC++.