ThePEG::AbstractClassDescription< T > Class Template Reference

A concreate implementation of ClassDescriptionBase describing an abstract class with persistent data. More...

#include <ClassDescription.h>

Inheritance diagram for ThePEG::AbstractClassDescription< T >:

ThePEG::ClassDescriptionTBase< T > ThePEG::ClassDescriptionBase ThePEG::Named

List of all members.

Public Types

typedef ClassTraits< T > Traits
 The traits class for the template argument class.

Public Member Functions

 AbstractClassDescription ()
 Default constructor.
virtual BPtr create () const
 Do not create an object of the described class (which is abstract).
virtual void output (tcBPtr b, PersistentOStream &os) const
 Output the members of an object of the described class to a persistent stream.
virtual void input (tBPtr b, PersistentIStream &is, int oldVersion) const
 Read the members of an object of the described class from a persistent stream.


Detailed Description

template<typename T>
class ThePEG::AbstractClassDescription< T >

A concreate implementation of ClassDescriptionBase describing an abstract class with persistent data.

Definition at line 288 of file ClassDescription.h.


Member Typedef Documentation

template<typename T>
typedef ClassTraits<T> ThePEG::AbstractClassDescription< T >::Traits

The traits class for the template argument class.

Reimplemented from ThePEG::ClassDescriptionTBase< T >.

Definition at line 293 of file ClassDescription.h.


Member Function Documentation

template<typename T>
virtual BPtr ThePEG::AbstractClassDescription< T >::create (  )  const [inline, virtual]

Do not create an object of the described class (which is abstract).

Just return the null pointer.

Implements ThePEG::ClassDescriptionBase.

Definition at line 306 of file ClassDescription.h.

template<typename T>
virtual void ThePEG::AbstractClassDescription< T >::output ( tcBPtr  b,
PersistentOStream os 
) const [inline, virtual]

Output the members of an object of the described class to a persistent stream.

Parameters:
b the object to be written.
os the persistent stream.

Implements ThePEG::ClassDescriptionBase.

Definition at line 316 of file ClassDescription.h.

template<typename T>
virtual void ThePEG::AbstractClassDescription< T >::input ( tBPtr  b,
PersistentIStream is,
int  oldVersion 
) const [inline, virtual]

Read the members of an object of the described class from a persistent stream.

Parameters:
b the object to be read.
is the persistent stream.
oldVersion the version number of the object when it was written.

Implements ThePEG::ClassDescriptionBase.

Definition at line 327 of file ClassDescription.h.


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

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