library of assembled shared sources |
http://lass.cocamware.com |
#include <smart_ptr_policies.h>
Public Types | |
typedef ArrayStorage< T, Cascade > | TSelf |
typedef T * | TStorage |
typedef T * | TPointer |
typedef T & | TReference |
Public Member Functions | |
TStorage & | storage () |
const TStorage & | storage () const |
Protected Member Functions | |
ArrayStorage () | |
ArrayStorage (T *pointee) | |
ArrayStorage (const TSelf &other) | |
template<typename U > | |
ArrayStorage (const ArrayStorage< U, Cascade > &other) | |
TPointer | pointer () const |
TReference | at (size_t index) const |
void | dispose () |
bool | isNull () const |
void | swap (TSelf &other) |
Static Protected Member Functions | |
static TStorage | defaultStorage () |
Private Attributes | |
TStorage | storage_ |
This policy is meant for simple arrays that are allocated in
C++
by new
[] or equivalent (i.e. stuff that should be deallocated by delete
[] ). The storage type TStorage
used for this policy simply is an ordinary pointer to that array (T*
)/.
Definition at line 250 of file smart_ptr_policies.h.
typedef ArrayStorage<T, Cascade> lass::util::ArrayStorage< T, Cascade >::TSelf |
Definition at line 254 of file smart_ptr_policies.h.
typedef T* lass::util::ArrayStorage< T, Cascade >::TStorage |
Definition at line 255 of file smart_ptr_policies.h.
typedef T* lass::util::ArrayStorage< T, Cascade >::TPointer |
Definition at line 256 of file smart_ptr_policies.h.
typedef T& lass::util::ArrayStorage< T, Cascade >::TReference |
Definition at line 257 of file smart_ptr_policies.h.
lass::util::ArrayStorage< T, Cascade >::ArrayStorage | ( | ) | [inline, protected] |
Definition at line 264 of file smart_ptr_policies.h.
lass::util::ArrayStorage< T, Cascade >::ArrayStorage | ( | T * | pointee | ) | [inline, explicit, protected] |
Definition at line 265 of file smart_ptr_policies.h.
lass::util::ArrayStorage< T, Cascade >::ArrayStorage | ( | const TSelf & | other | ) | [inline, protected] |
Definition at line 266 of file smart_ptr_policies.h.
lass::util::ArrayStorage< T, Cascade >::ArrayStorage | ( | const ArrayStorage< U, Cascade > & | other | ) | [inline, protected] |
Definition at line 267 of file smart_ptr_policies.h.
TStorage& lass::util::ArrayStorage< T, Cascade >::storage | ( | ) | [inline] |
Definition at line 259 of file smart_ptr_policies.h.
References lass::util::ArrayStorage< T, Cascade >::storage_.
const TStorage& lass::util::ArrayStorage< T, Cascade >::storage | ( | ) | const [inline] |
Definition at line 260 of file smart_ptr_policies.h.
References lass::util::ArrayStorage< T, Cascade >::storage_.
TPointer lass::util::ArrayStorage< T, Cascade >::pointer | ( | ) | const [inline, protected] |
Definition at line 269 of file smart_ptr_policies.h.
References lass::util::ArrayStorage< T, Cascade >::storage_.
Referenced by lass::prim::impl::Transformation3DStorage< T, Cascade >::dispose(), and lass::prim::impl::Transformation2DStorage< T, Cascade >::dispose().
TReference lass::util::ArrayStorage< T, Cascade >::at | ( | size_t | index | ) | const [inline, protected] |
Definition at line 270 of file smart_ptr_policies.h.
References lass::util::ArrayStorage< T, Cascade >::storage_.
void lass::util::ArrayStorage< T, Cascade >::dispose | ( | ) | [inline, protected] |
Reimplemented in lass::prim::impl::Transformation2DStorage< T, Cascade >, and lass::prim::impl::Transformation3DStorage< T, Cascade >.
Definition at line 272 of file smart_ptr_policies.h.
References lass::util::ArrayStorage< T, Cascade >::storage_.
bool lass::util::ArrayStorage< T, Cascade >::isNull | ( | ) | const [inline, protected] |
Definition at line 278 of file smart_ptr_policies.h.
References lass::util::ArrayStorage< T, Cascade >::storage_.
void lass::util::ArrayStorage< T, Cascade >::swap | ( | TSelf & | other | ) | [inline, protected] |
Definition at line 279 of file smart_ptr_policies.h.
References lass::util::ArrayStorage< T, Cascade >::storage_.
static TStorage lass::util::ArrayStorage< T, Cascade >::defaultStorage | ( | ) | [inline, static, protected] |
Definition at line 281 of file smart_ptr_policies.h.
TStorage lass::util::ArrayStorage< T, Cascade >::storage_ [private] |
Definition at line 285 of file smart_ptr_policies.h.
Referenced by lass::util::ArrayStorage< T, Cascade >::at(), lass::util::ArrayStorage< T, Cascade >::dispose(), lass::util::ArrayStorage< T, Cascade >::isNull(), lass::util::ArrayStorage< T, Cascade >::pointer(), lass::util::ArrayStorage< T, Cascade >::storage(), and lass::util::ArrayStorage< T, Cascade >::swap().
Generated on Mon Nov 10 14:22:17 2008 for Library of Assembled Shared Sources by 1.5.7.1 |