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

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

#include <ClassDescription.h>

Inheritance diagram for ThePEG::AbstractNoPIOClassDescription< T >:

Public Types

typedef ClassTraits< T > Traits
 The traits class for the template argument class.
 
- Public Types inherited from ThePEG::ClassDescriptionTBase< T >
typedef ClassTraits< T > Traits
 The traits class for the template argument class.
 
- Public Types inherited from ThePEG::ClassDescriptionBase
typedef vector< const ClassDescriptionBase * > DescriptionVector
 A vector of class descriptions.
 

Public Member Functions

 AbstractNoPIOClassDescription ()
 Default constructor.
 
virtual BPtr create () const
 Do not create an object of the described class (which is abstract).
 
virtual void output (tcBPtr, PersistentOStream &) const
 Do nothing since the described class has no persistent data.
 
virtual void input (tBPtr, PersistentIStream &, int) const
 Do nothing since the described class has no persistent data.
 
- Public Member Functions inherited from ThePEG::ClassDescriptionTBase< T >
 ClassDescriptionTBase (bool abst)
 Default constructor.
 
virtual void setup ()
 Set up the base class information for this object.
 
- Public Member Functions inherited from ThePEG::ClassDescriptionBase
virtual ~ClassDescriptionBase ()
 Empty destructor.
 
const type_info & info () const
 The standart RTTI type_info object for the described class.
 
int version () const
 The version of the described class.
 
string library () const
 The name of a file containing the dynamic library where the class is implemented.
 
bool check () const
 Return true if this object was set up properly.
 
const DescriptionVectordescriptions () const
 Return the descriptions of the base classes of the described class.
 
virtual void setup ()=0
 Set up the base class information for this object.
 
virtual BPtr create () const =0
 Create an object of the described class.
 
virtual void output (tcBPtr b, PersistentOStream &os) const =0
 Output the members of an object of the described class to a persistent stream.
 
virtual void input (tBPtr b, PersistentIStream &is, int oldVersion) const =0
 Read the members of an object of the described class from a persistent stream.
 
bool isA (const ClassDescriptionBase &base) const
 Return true if the class described by the argument is a base class of the class described by this.
 
bool abstract () const
 Return true if the corresponding class is abstract.
 
- Public Member Functions inherited from ThePEG::Named
 Named (const string &newName=string())
 Constructor with name.
 
 Named (const Named &)=default
 Explicit default copy-constructor (too avoid compiler warnings)
 
const string & name () const
 Return name.
 
bool operator== (const Named &other) const
 Test for equality.
 
bool operator< (const Named &other) const
 Lexicographical comparison.
 

Additional Inherited Members

- Protected Member Functions inherited from ThePEG::ClassDescriptionBase
 ClassDescriptionBase (string newName, const type_info &newInfo, int newVersion, string newLibrary, bool abst)
 The constructor used by sub-classes.
 
void baseClasses (DescriptionVector::iterator first, DescriptionVector::iterator last)
 Set the base classes.
 
- Protected Member Functions inherited from ThePEG::Named
const Namedoperator= (const Named &other)
 Assignment.
 
const string & name (const string &newName)
 Set new name.
 

Detailed Description

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

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

Definition at line 417 of file ClassDescription.h.

Member Typedef Documentation

◆ Traits

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

The traits class for the template argument class.

Definition at line 422 of file ClassDescription.h.

Constructor & Destructor Documentation

◆ AbstractNoPIOClassDescription()

template<typename T >
ThePEG::AbstractNoPIOClassDescription< T >::AbstractNoPIOClassDescription ( )
inline

Default constructor.

Definition at line 429 of file ClassDescription.h.

Member Function Documentation

◆ create()

template<typename T >
virtual BPtr ThePEG::AbstractNoPIOClassDescription< T >::create ( ) const
inlinevirtual

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

Just return the null pointer.

Implements ThePEG::ClassDescriptionBase.

Definition at line 435 of file ClassDescription.h.

References ThePEG::Named::name().

◆ input()

template<typename T >
virtual void ThePEG::AbstractNoPIOClassDescription< T >::input ( tBPtr  ,
PersistentIStream ,
int   
) const
inlinevirtual

Do nothing since the described class has no persistent data.

Implements ThePEG::ClassDescriptionBase.

Definition at line 447 of file ClassDescription.h.

◆ output()

template<typename T >
virtual void ThePEG::AbstractNoPIOClassDescription< T >::output ( tcBPtr  ,
PersistentOStream  
) const
inlinevirtual

Do nothing since the described class has no persistent data.

Implements ThePEG::ClassDescriptionBase.

Definition at line 442 of file ClassDescription.h.


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