library of assembled shared sources |
http://lass.cocamware.com |
#include <scoped_ptr.h>
Data Structures | |
struct | Rebind |
Public Types | |
typedef T | TPointee |
typedef StoragePolicy< T, NonCopyable > | TStoragePolicy |
typedef TStoragePolicy::TStorage | TStorage |
typedef TStoragePolicy::TPointer | TPointer |
typedef TStoragePolicy::TReference | TReference |
Public Member Functions | |
ScopedPtr () | |
ScopedPtr (TPointer p) | |
template<typename U > | |
ScopedPtr (std::auto_ptr< U > &p) | |
~ScopedPtr () | |
void | reset (TPointer p=0) |
template<typename U > | |
void | reset (std::auto_ptr< U > &p) |
void | swap (ScopedPtr &other) |
TPointer | get () const |
TPointer | operator-> () const |
TReference | operator* () const |
TReference | operator[] (size_t i) const |
const bool | isEmpty () const |
const bool | operator! () const |
operator num::SafeBool () const | |
const TStorage & | storage () const |
returns reference to storage pointer | |
TStorage & | storage () |
returns reference to storage pointer |
Definition at line 61 of file scoped_ptr.h.
typedef T lass::util::ScopedPtr< T, StoragePolicy >::TPointee |
Definition at line 65 of file scoped_ptr.h.
typedef StoragePolicy<T, NonCopyable> lass::util::ScopedPtr< T, StoragePolicy >::TStoragePolicy |
Definition at line 66 of file scoped_ptr.h.
typedef TStoragePolicy::TStorage lass::util::ScopedPtr< T, StoragePolicy >::TStorage |
Definition at line 67 of file scoped_ptr.h.
typedef TStoragePolicy::TPointer lass::util::ScopedPtr< T, StoragePolicy >::TPointer |
Definition at line 68 of file scoped_ptr.h.
typedef TStoragePolicy::TReference lass::util::ScopedPtr< T, StoragePolicy >::TReference |
Definition at line 69 of file scoped_ptr.h.
lass::util::ScopedPtr< T, StoragePolicy >::ScopedPtr | ( | ) | [inline] |
Definition at line 76 of file scoped_ptr.h.
lass::util::ScopedPtr< T, StoragePolicy >::ScopedPtr | ( | TPointer | p | ) | [inline, explicit] |
Definition at line 80 of file scoped_ptr.h.
lass::util::ScopedPtr< T, StoragePolicy >::ScopedPtr | ( | std::auto_ptr< U > & | p | ) | [inline] |
Definition at line 84 of file scoped_ptr.h.
lass::util::ScopedPtr< T, StoragePolicy >::~ScopedPtr | ( | ) | [inline] |
Definition at line 90 of file scoped_ptr.h.
void lass::util::ScopedPtr< T, StoragePolicy >::reset | ( | TPointer | p = 0 |
) | [inline] |
Definition at line 95 of file scoped_ptr.h.
void lass::util::ScopedPtr< T, StoragePolicy >::reset | ( | std::auto_ptr< U > & | p | ) | [inline] |
Definition at line 100 of file scoped_ptr.h.
void lass::util::ScopedPtr< T, StoragePolicy >::swap | ( | ScopedPtr< T, StoragePolicy > & | other | ) | [inline] |
Definition at line 105 of file scoped_ptr.h.
Referenced by lass::util::ScopedPtr< lass::util::Thread >::reset(), and lass::util::ScopedPtr< lass::util::Thread >::swap().
TPointer lass::util::ScopedPtr< T, StoragePolicy >::get | ( | ) | const [inline] |
Definition at line 110 of file scoped_ptr.h.
TPointer lass::util::ScopedPtr< T, StoragePolicy >::operator-> | ( | ) | const [inline] |
Definition at line 114 of file scoped_ptr.h.
TReference lass::util::ScopedPtr< T, StoragePolicy >::operator* | ( | ) | const [inline] |
Definition at line 119 of file scoped_ptr.h.
TReference lass::util::ScopedPtr< T, StoragePolicy >::operator[] | ( | size_t | i | ) | const [inline] |
Definition at line 124 of file scoped_ptr.h.
const bool lass::util::ScopedPtr< T, StoragePolicy >::isEmpty | ( | ) | const [inline] |
Definition at line 130 of file scoped_ptr.h.
Referenced by lass::util::ScopedPtr< lass::util::Thread >::operator!().
const bool lass::util::ScopedPtr< T, StoragePolicy >::operator! | ( | ) | const [inline] |
Definition at line 134 of file scoped_ptr.h.
lass::util::ScopedPtr< T, StoragePolicy >::operator num::SafeBool | ( | ) | const [inline] |
Definition at line 138 of file scoped_ptr.h.
const TStorage& lass::util::ScopedPtr< T, StoragePolicy >::storage | ( | ) | const [inline] |
TStorage& lass::util::ScopedPtr< T, StoragePolicy >::storage | ( | ) | [inline] |
Generated on Mon Nov 10 14:22:17 2008 for Library of Assembled Shared Sources by 1.5.7.1 |