2005/5/9

     
 

class RObjectArrayImpl

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

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

#include <ObjectArrayBase.h>

Inheritance diagram for RObjectArrayImpl< T >:

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

Detailed Description

template<class T>
class RObjectArrayImpl< T >

reference holder for an array


Public Member Functions

static::acdk::lang::RClass GetClass ()
 RObjectArrayImpl (NilRef nil=Nil)
 RObjectArrayImpl (size_t size)
template<class OT> upcast_explicit RObjectArrayImpl (ObjectArrayImpl< OT > *implptr)
 RObjectArrayImpl (ObjectArrayImpl< T > *impl)
template<class OT> upcast_explicit RObjectArrayImpl (const RObjectArrayImpl< OT > &anotherarray)
 RObjectArrayImpl (const RObjectArrayImpl< T > &array)
template<class OT> upcast_explicit RObjectArrayImpl (const RefHolder< OT > &other)
 copy/cast constructor

template<class OT> RObjectArrayImpl< T > & operator= (const ObjectArrayImpl< OT > *anotherarray)
RObjectArrayImpl< T > & operator= (const ObjectArrayImpl< T > *anotherarray)
template<class OT> RObjectArrayImpl< T > & operator= (const RObjectArrayImpl< OT > &array)
RObjectArrayImpl< T > & operator= (NilRef nil)
ObjectArrayImpl< T > * operator-> () const
int length () const
void add (const T &t)
const T & get (int idx) const
T & get (int idx)
void set (int idx, T &t)
T & operator[] (int idx) const
RObjectArrayImpl< T > * _ref_this ()

Static Public Member Functions

acdk::lang::dmi::ClazzInfo * clazzInfo ()

Protected Member Functions

void _forceCompilerCastError (const ObjectArrayImpl< T > *optr)
 only used to force compiler cast error

void setImpl (const ObjectArrayImpl< T > *optr)
template<class OT> void _copyArray (const RObjectArrayImpl< OT > &array)
template<class OT> void _copyArray (ObjectArrayImpl< OT > *oim)


Constructor & Destructor Documentation

template<class T>
RObjectArrayImpl< T >::RObjectArrayImpl (  NilRef  nil = Nil  )  [inline]
 

template<class T>
RObjectArrayImpl< T >::RObjectArrayImpl (  size_t  size  )  [inline]
 

template<class T>
template<class OT>
upcast_explicit RObjectArrayImpl< T >::RObjectArrayImpl (  ObjectArrayImpl< OT > *  implptr  )  [inline]
 

template<class T>
RObjectArrayImpl< T >::RObjectArrayImpl (  ObjectArrayImpl< T > *  impl  )  [inline]
 

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

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

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

copy/cast constructor


Member Function Documentation

template<class T>
template<class OT>
void RObjectArrayImpl< T >::_copyArray (  ObjectArrayImpl< OT > *  oim  )  [inline, protected]
 

template<class T>
template<class OT>
void RObjectArrayImpl< T >::_copyArray (  const RObjectArrayImpl< OT > &  array  )  [inline, protected]
 

template<class T>
void RObjectArrayImpl< T >::_forceCompilerCastError (  const ObjectArrayImpl< T > *  optr  )  [inline, protected]
 

only used to force compiler cast error

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

Reimplemented from RefHolder< ObjectArrayImpl< T > >.

template<class T>
void RObjectArrayImpl< T >::add (  const T &  t  )  [inline]
 

template<class T>
acdk::lang::dmi::ClazzInfo * RObjectArrayImpl< T >::clazzInfo (   )  [inline, static]
 

Reimplemented from RefHolder< ObjectArrayImpl< T > >.

template<class T>
T& RObjectArrayImpl< T >::get (  int  idx  )  [inline]
 

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

template<class T>
acdk::lang::RClass RObjectArrayImpl< T >::GetClass (   )  [inline]
 

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

template<class T>
ObjectArrayImpl<T>* RObjectArrayImpl< T >::operator-> (   )  const [inline]
 

Reimplemented from RefHolder< ObjectArrayImpl< T > >.

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

Reimplemented from RefHolder< ObjectArrayImpl< T > >.

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

template<class T>
RObjectArrayImpl<T>& RObjectArrayImpl< T >::operator= (  const ObjectArrayImpl< T > *  anotherarray  )  [inline]
 

template<class T>
template<class OT>
RObjectArrayImpl<T>& RObjectArrayImpl< T >::operator= (  const ObjectArrayImpl< OT > *  anotherarray  )  [inline]
 

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

template<class T>
void RObjectArrayImpl< T >::set (  int  idx,
T &  t
)  [inline]
 

template<class T>
void RObjectArrayImpl< T >::setImpl (  const ObjectArrayImpl< T > *  optr  )  [inline, protected]