66 m_pObject =
dynamic_cast<T*
>(Object.Copy());
92 struct LessPairDoubleObjectRef :
public std::binary_function<std::pair<double, CObjectContainer<T> >, std::pair<double, CObjectContainer<T> >, bool>
106 template <
typename T>
Object container to help handle memory management issues.
CObjectContainer(const CObjectContainer< T > &CopyMe)
T * m_pObject
Object contained within the class.
T * operator->()
Pointer overload operator to act as a pointer of type T.
CObjectContainer(const T &Object)
const T * operator->() const
Pointer overload operator for the class when it is defined as const.
CObjectContainer & operator=(const CObjectContainer< T > &CopyMe)
void Clear()
Remove the object contained within the container class.
Weak pointer that acts as normal pointer except when copied.
const T * operator->() const
Pointer overload operator for the class when it is defined as const.
T * operator->()
Pointer overload operator to act as a pointer of type T.
CWeakPointer(const CWeakPointer< T > &CopyMe)
T * m_pPointer
Object contained within the class.
CWeakPointer & operator=(T *pPointer)
Namespace containing a series of customised math operations not found in the standard c++ library.
Used to sort double-objectref pairs.
bool operator()(std::pair< double, CObjectContainer< T > > x, std::pair< double, CObjectContainer< T > > y)