Logo Search packages:      
Sourcecode: inkscape version File versions  Download package

org::w3c::dom::Ptr< T > Class Template Reference

#include <domptr.h>

List of all members.

Detailed Description

template<class T>
class org::w3c::dom::Ptr< T >

A simple Smart Pointer class that handles Nodes and all of its descendants. This is very similar to shared_ptr, but it is customized to handle our needs.

Definition at line 67 of file domptr.h.

Public Member Functions

T * get () const
bool operator! () const
T & operator* () const
T * operator-> () const
template<class Y>
Ptroperator= (const Y *ref)
template<class Y>
Ptroperator= (Y *ref)
Ptroperator= (const Ptr &other)
template<class Y>
Ptroperator= (const Ptr< Y > &other)
 Ptr (const Ptr &other)
 Ptr (T *refArg, bool addRef=true)
template<class Y>
 Ptr (const Ptr< Y > &other)
 Ptr ()
void swap (Ptr &other)
virtual ~Ptr ()

Public Attributes

T * _ref

The documentation for this class was generated from the following file:

Generated by  Doxygen 1.6.0   Back to index