thepeg is hosted by Hepforge, IPPP Durham
ThePEG 2.3.0
ThePEG::ClassTraits< T > Struct Template Reference

The default concrete implementation of ClassTraitsBase. More...

#include <ClassTraits.h>

Inheritance diagram for ThePEG::ClassTraits< T >:

Additional Inherited Members

- Public Types inherited from ThePEG::ClassTraitsBase< T >
typedef ThePEG::Ptr< T >::pointer TPtr
 Alias for a reference counted pointer to T .
 
typedef ThePEG::Ptr< T >::const_pointer cTPtr
 Alias for a reference counted pointer to a const T .
 
typedef ThePEG::Ptr< T >::transient_pointer tTPtr
 Alias for a transient pointer to T .
 
typedef ThePEG::Ptr< T >::transient_const_pointer tcTPtr
 Alias for a transient pointer to a const T .
 
typedef ThePEG::Ptr< Base >::pointer BPtr
 Alias for a reference counted pointer to Base .
 
typedef ThePEG::Ptr< Base >::const_pointer cBPtr
 Alias for a reference counted pointer to a const Base .
 
typedef ThePEG::Ptr< Base >::transient_pointer tBPtr
 Alias for a transient pointer to Base .
 
typedef ThePEG::Ptr< Base >::transient_const_pointer tcBPtr
 Alias for a transient pointer to a const Base .
 
- Static Public Member Functions inherited from ThePEG::ClassTraitsBase< T >
static TPtr create ()
 Create a T object and return a smart pointer to it.
 
static string className ()
 Return the name of class T.
 
static int version ()
 Return the version of class T.
 
static string library ()
 The name of a file containing the dynamic library where the class T is implemented.
 
static void output (tcTPtr t, PersistentOStream &os)
 Write the T part of an object to a persistent stream.
 
static void input (tTPtr t, PersistentIStream &is, int oldVersion)
 Read the T part of an object from a persistent stream.
 
static TPtr cast (BPtr b)
 Perform a dynamic cast from the given pointer to a pointer to T.
 
static cTPtr cast (cBPtr b)
 Perform a dynamic cast from the given const pointer to a pointer to const T.
 
static tTPtr cast (tBPtr b)
 Perform a dynamic cast from the given transient pointer to a transient pointer to T.
 
static tcTPtr cast (tcBPtr b)
 Perform a dynamic cast from the given transient const pointer to a transient pointer to const T.
 

Detailed Description

template<typename T>
struct ThePEG::ClassTraits< T >

The default concrete implementation of ClassTraitsBase.

This templated class may be specialized for any class if the default implementation is not sufficient.

Definition at line 134 of file ClassTraits.h.


The documentation for this struct was generated from the following file: