2005/5/9

     
 

class RBasicArray

artefaktur
Modules   Namespace List   Class Hierarchy   Alphabetical List   Compound List   Namespace Members   Compound Members   Related Pages  

RBasicArray< T > Class Template Reference
[SmartPointers and Garbage Collection]

#include <BasicArray.h>

Inheritance diagram for RBasicArray< T >:

RefHolder< BasicArray< T > > List of all members.

Detailed Description

template<class T>
class RBasicArray< T >

Smart Pointer wrapper for BasicArray<T>.


Public Member Functions

 RBasicArray ()
 RBasicArray (NilRef nil)
 RBasicArray (BasicArray< T > *im)
 RBasicArray (int c)
 ~RBasicArray ()
 RBasicArray (const T t[])
 RBasicArray (const T t[], int size)
template<class OT> upcast_explicit RBasicArray (const RBasicArray< OT > &anotherarray)
template<class OT> upcast_explicit RBasicArray (const RefHolder< OT > &other)
 copy/cast constructor

 RBasicArray (const RBasicArray< T > &array)
 copy constructor

template<class OT> RBasicArray< T > & operator= (const RBasicArray< OT > &array)
RBasicArray< T > & operator= (const RBasicArray< T > &array)
RBasicArray< T > & operator= (const BasicArray< T > *array)
RBasicArray< T > & operator= (NilRef nil)
BasicArray< T > * operator-> () const
int length () const
T & set (int idx, T t)
const T & get (int idx)
T & operator[] (int idx) const
RBasicArray< T > * _ref_this ()

Protected Member Functions

void setImpl (const BasicArray< T > *t)

Private Member Functions

template<class OT> void _arrayCastAssign (const RBasicArray< OT > &a)


Constructor & Destructor Documentation

template<class T>
RBasicArray< T >::RBasicArray  )  [inline]
 

template<class T>
RBasicArray< T >::RBasicArray NilRef  nil  )  [inline]
 

template<class T>
RBasicArray< T >::RBasicArray BasicArray< T > *  im  )  [inline]
 

template<class T>
RBasicArray< T >::RBasicArray int  c  )  [inline, explicit]
 

template<class T>
RBasicArray< T >::~RBasicArray  )  [inline]
 

template<class T>
RBasicArray< T >::RBasicArray const T  t[]  )  [inline, explicit]
 

template<class T>
RBasicArray< T >::RBasicArray const T  t[],
int  size
[inline]
 

template<class T>
template<class OT>
upcast_explicit RBasicArray< T >::RBasicArray const RBasicArray< OT > &  anotherarray  )  [inline]
 

template<class T>
template<class OT>
upcast_explicit RBasicArray< T >::RBasicArray const RefHolder< OT > &  other  )  [inline]
 

copy/cast constructor

template<class T>
RBasicArray< T >::RBasicArray const RBasicArray< T > &  array  )  [inline]
 

copy constructor


Member Function Documentation

template<class T>
template<class OT>
void RBasicArray< T >::_arrayCastAssign const RBasicArray< OT > &  a  )  [inline, private]
 

template<class T>
RBasicArray<T>* RBasicArray< T >::_ref_this  )  [inline]
 

Reimplemented from RefHolder< BasicArray< T > >.

template<class T>
const T& RBasicArray< T >::get int  idx  )  [inline]
 

template<class T>
int RBasicArray< T >::length  )  const [inline]
 

template<class T>
BasicArray<T>* RBasicArray< T >::operator->  )  const [inline]
 

Reimplemented from RefHolder< BasicArray< T > >.

template<class T>
RBasicArray<T>& RBasicArray< T >::operator= NilRef  nil  )  [inline]
 

Reimplemented from RefHolder< BasicArray< T > >.

template<class T>
RBasicArray<T>& RBasicArray< T >::operator= const BasicArray< T > *  array  )  [inline]
 

template<class T>
RBasicArray<T>& RBasicArray< T >::operator= const RBasicArray< T > &  array  )  [inline]
 

template<class T>
template<class OT>
RBasicArray<T>& RBasicArray< T >::operator= const RBasicArray< OT > &  array  )  [inline]
 

template<class T>
T& RBasicArray< T >::operator[] int  idx  )  const [inline]
 

template<class T>
T& RBasicArray< T >::set int  idx,
t
[inline]
 

template<class T>
void RBasicArray< T >::setImpl const BasicArray< T > *  t  )  [inline, protected]