ThePEG::Pointer Namespace Reference

The namespace for the reference counted pointer classes. More...


Classes

struct  Ptr
 Ptr is a templated class to provide typedefs for pointers types ThePEG should use for a given type. More...
struct  PtrTraitsType
 PtrTraitsType is an empty non-polymorphic base class for all PtrTraits classes. More...
struct  PtrTraits
 The PtrTraits class is used everywhere in ThePEG to interface to the pointers which are handled. More...
struct  ThePEG::Pointer::PtrTraits< T * >
 Specialization of the PtrTraits class for standard bare pointers. More...
struct  ThePEG::Pointer::PtrTraits< const T * >
 Specialization of the PtrTraits class for standard bare const pointers. More...
class  RCPtrBase
 RCPtrBase is the base class of RCPtr and ConstRCPtr which are reference counted (smart) pointers. More...
class  RCPtr
 RCPtr is a reference counted (smart) pointer. More...
class  ConstRCPtr
 ConstRCPtr is a reference counted (smart) const pointer. More...
class  TransientRCPtr
 TransientRCPtr is a simple wrapper around a bare pointer which can be assigned to and from an RCPtr and ConstRCPtr without problem. More...
class  TransientConstRCPtr
 TransientConstRCPtr is a simple wrapper around a bare const pointer which can be assigned to and from an RCPtr and ConstRCPtr without problem. More...
struct  ThePEG::Pointer::PtrTraits< RCPtr< T > >
 Specialization of the PtrTraits class for RCPtr. More...
struct  ThePEG::Pointer::PtrTraits< ConstRCPtr< T > >
 Specialization of the PtrTraits class for ConstRCPtr. More...
struct  ThePEG::Pointer::PtrTraits< TransientRCPtr< T > >
 Specialization of the PtrTraits class for TransientRCPtr. More...
struct  ThePEG::Pointer::PtrTraits< TransientConstRCPtr< T > >
 Specialization of the PtrTraits class for TransientConstRCPtr. More...
class  ReferenceCounted
 ReferenceCounted must be the (virtual) base class of all classes which may be pointed to by the RCPtr smart pointer class. More...

Functions

template<class T1, class T2>
T1 dynamic_ptr_cast (const T2 &t2)
 Replacement for the standard dynamic_cast.
template<class T1, class T2>
T1 const_ptr_cast (const T2 &t2)
 Replacement for the standard const_cast.
template<typename Ptr>
Ptr ptr_new ()
 Simple interface to the PtrTraits<Ptr>::create().
template<typename Ptr>
Ptr ptr_new (typename PtrTraits< Ptr >::const_reference t)
 Simple interface to the PtrTraits<Ptr>::create().
template<typename T>
Ptr< T >::pointer new_ptr ()
 Simple interface to the PtrTraits<Ptr>::create().
template<typename T>
Ptr< T >::pointer new_ptr (const T &t)
 Simple interface to the PtrTraits<Ptr>::create().
template<typename TPtr, typename T>
TPtr ptr_cast (T *t)
 Simple interface to the PtrTraits<Ptr>::PtrCast().
template<typename TPtr, typename T>
TPtr ptr_cast_const (const T *t)
 Simple interface to the PtrTraits<Ptr>::PtrCast().


Detailed Description

The namespace for the reference counted pointer classes.

Generated on Thu Apr 29 12:43:33 2010 for ThePEG by  doxygen 1.5.5