shared_pointer_impl Class Template Reference

#include <pointer.hpp>

Inheritance diagram for shared_pointer_impl:

Inheritance graph
[legend]
Collaboration diagram for shared_pointer_impl:

Collaboration graph
[legend]

List of all members.


Detailed Description

template<typename T, bool ARRAY_PTR = false>
class gsgl::data::shared_pointer_impl< T, ARRAY_PTR >

Definition at line 172 of file pointer.hpp.


Public Member Functions

void attach ()
bool detach ()
 Returns true if the object deleted itself.
const int & get_ref_count () const
 shared_pointer_impl (T *data)
virtual ~shared_pointer_impl ()

Private Attributes

T * data

Constructor & Destructor Documentation

shared_pointer_impl ( T *  data  )  [inline]

Definition at line 345 of file pointer.hpp.

~shared_pointer_impl (  )  [inline, virtual]

Definition at line 351 of file pointer.hpp.

References shared_pointer_impl::data.


Member Function Documentation

void attach (  )  [inherited]

bool detach (  )  [inherited]

Returns true if the object deleted itself.

Definition at line 59 of file shared.cpp.

References shared_object::ref_count.

Referenced by string::make_null(), string::unshare(), font::~font(), and texture::~texture().

const int& get_ref_count (  )  const [inline, inherited]

Definition at line 57 of file shared.hpp.

Referenced by string::unshare().


Member Data Documentation

T* data [private]

Definition at line 175 of file pointer.hpp.

Referenced by shared_pointer_impl::~shared_pointer_impl().


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

Generated on Sat Mar 1 13:50:06 2008 for Periapsis Project by  doxygen 1.5.5