GCpp general purpose C++ library  version 1.0
GMacrosDefines.hh File Reference

Go to the source code of this file.

Macros

#define G_AFFECT_MOTHER(T, obj)
 

Detailed Description

Define various macros.

Macro Definition Documentation

#define G_AFFECT_MOTHER (   T,
  obj 
)
Value:
{ T * _tmp_ = dynamic_cast<T *> (this);\
_tmp_->T::operator = (*( dynamic_cast<const T *> (&(obj)) ));}

Affectation operation on a parent class T of the object obj.

Referenced by GVectIterT< T >::GVectIterT(), GVectIterT< T >::operator++(), GVectIterT< T >::operator--(), GNamedListT< T >::operator=(), GPointerList::operator=(), GStringList::operator=(), GItem::operator=(), GSortListT< T >::operator=(), GRealSampleFFT::operator=(), GIntervalList::operator=(), GItemList::operator=(), and GSubItem::operator=().