Geant4 9.6.0
Toolkit for the simulation of the passage of particles through matter
Loading...
Searching...
No Matches
HEPREP::HepRepTypeTree Class Referenceabstract

#include <HepRepTypeTree.h>

+ Inheritance diagram for HEPREP::HepRepTypeTree:

Public Member Functions

virtual ~HepRepTypeTree ()
 Destructor.
 
virtual void addType (HepRepType *type)=0
 
virtual std::vector< HepRepType * > getTypeList ()=0
 
virtual HepRepTypegetType (std::string fullName)=0
 
virtual HepRepTypeTreecopy ()=0
 
- Public Member Functions inherited from HEPREP::HepRepTreeID
virtual ~HepRepTreeID ()
 Destructor.
 
virtual std::string getName ()=0
 
virtual std::string getVersion ()=0
 
virtual std::string getQualifier ()=0
 
virtual void setQualifier (std::string qualifier)=0
 

Detailed Description

HepRepTypeTree interface.

Author
Mark Donszelmann

Definition at line 26 of file HepRepTypeTree.h.

Constructor & Destructor Documentation

◆ ~HepRepTypeTree()

virtual HEPREP::HepRepTypeTree::~HepRepTypeTree ( )
inlinevirtual

Destructor.

Definition at line 30 of file HepRepTypeTree.h.

30{ /* nop */; }

Member Function Documentation

◆ addType()

virtual void HEPREP::HepRepTypeTree::addType ( HepRepType type)
pure virtual

Adds a type to this typetree.

Parameters
typeto be added.

Implemented in cheprep::DefaultHepRepTypeTree.

Referenced by cheprep::DefaultHepRepType::DefaultHepRepType().

◆ copy()

virtual HepRepTypeTree * HEPREP::HepRepTypeTree::copy ( )
pure virtual

Returns a deep copy of this typetree.

Returns
copy of this typetree.

Implemented in cheprep::DefaultHepRepTypeTree.

◆ getType()

virtual HepRepType * HEPREP::HepRepTypeTree::getType ( std::string  fullName)
pure virtual

Returns type

Implemented in cheprep::DefaultHepRepTypeTree.

◆ getTypeList()

virtual std::vector< HepRepType * > HEPREP::HepRepTypeTree::getTypeList ( )
pure virtual

Returns a collection of all types in this tree.

Returns
collection of HepRepTypes.

Implemented in cheprep::DefaultHepRepTypeTree.

Referenced by cheprep::XMLHepRepWriter::write().


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