File: InputDescription.h
Description:
InputDescription objects are used by the
PersistentIStream class to keep track of all
classes it has read from a stream. It keeps a pointer to the
corresponding ClassDescription in case the class
read in was actually present in the current program, a version
number of the read class which may be different from the class
present in hte current program and a list of base class
InputDescriptions.
See
also:
namespace Pythia7
CLASS
InputDescription:
Base class:
Public members:
typedef vector<const InputDescription *> DescriptionVector;
PYTHIA7_DECLARE_POINTERS(PersistentBase,BPtr);
inline InputDescription(string newName, int version);
The standard constructor.
inline void setDescription(const ClassDescriptionBase *);
inline void addBaseClass(const InputDescription *);
Add a base class description.
inline const DescriptionVector & descriptions() const;
Return the list of base class descriptions.
inline BPtr create() const;
Create an object of the corresponing class.
inline void input(tBPtr b, PersistentIStream & is) const;
Read an object part of the corresponding class from a stream.
Private members:
DescriptionVector theBaseClasses;
The list of base class descriptions.
const ClassDescriptionBase * theDescription;
The description of the corresponding class in the current
program.
int theVersion;
The version of the class to be read.
DEFINED MACROS
PYTHIA7_InputDescription_H
INCLUDED FILES
Pythia7/Config/Pythia7.h
Pythia7/Utilities/ClassDescription.h
InputDescription.icc