ThePEG::ClassDescription< T > Class Template Reference

A concreate implementation of ClassDescriptionBase describing a concrete class with persistent data. More...

#include <ClassDescription.h>

Inheritance diagram for ThePEG::ClassDescription< 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

 ClassDescription ()
 Default constructor.
virtual BPtr create () const
 Create an object of the described class.
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::ClassDescription< T >

A concreate implementation of ClassDescriptionBase describing a concrete class with persistent data.

Definition at line 339 of file ClassDescription.h.


Member Typedef Documentation

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

The traits class for the template argument class.

Reimplemented from ThePEG::ClassDescriptionTBase< T >.

Definition at line 344 of file ClassDescription.h.


Member Function Documentation

template<typename T>
virtual void ThePEG::ClassDescription< 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 364 of file ClassDescription.h.

template<typename T>
virtual void ThePEG::ClassDescription< 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 375 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