ECCE @ EIC Software
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
cheprep::DefaultHepRepTypeTree Class Reference

#include <geant4/tree/geant4-10.6-release/source/visualization/HepRep/include/cheprep/DefaultHepRepTypeTree.h>

+ Inheritance diagram for cheprep::DefaultHepRepTypeTree:
+ Collaboration diagram for cheprep::DefaultHepRepTypeTree:

Public Member Functions

 DefaultHepRepTypeTree (HEPREP::HepRepTreeID *typeTree)
 
 ~DefaultHepRepTypeTree ()
 
HEPREP::HepRepTypeTreecopy ()
 
void addType (HEPREP::HepRepType *type)
 
std::vector< HEPREP::HepRepType * > getTypeList ()
 
HEPREP::HepRepTypegetType (std::string name)
 
- Public Member Functions inherited from cheprep::DefaultHepRepTreeID
 DefaultHepRepTreeID (std::string name, std::string version, std::string qualifier="top_level")
 
 ~DefaultHepRepTreeID ()
 
std::string getQualifier ()
 
void setQualifier (std::string qualifier)
 
std::string getName ()
 
std::string getVersion ()
 
- Public Member Functions inherited from HEPREP::HepRepTreeID
virtual ~HepRepTreeID ()
 Destructor.
 
- Public Member Functions inherited from HEPREP::HepRepTypeTree
virtual ~HepRepTypeTree ()
 Destructor.
 

Private Attributes

std::vector< HEPREP::HepRepType * > types
 

Detailed Description

Definition at line 24 of file DefaultHepRepTypeTree.h.

View newest version in sPHENIX GitHub at line 24 of file DefaultHepRepTypeTree.h

Constructor & Destructor Documentation

cheprep::DefaultHepRepTypeTree::DefaultHepRepTypeTree ( HEPREP::HepRepTreeID typeTree)

Definition at line 15 of file DefaultHepRepTypeTree.cc.

View newest version in sPHENIX GitHub at line 15 of file DefaultHepRepTypeTree.cc

cheprep::DefaultHepRepTypeTree::~DefaultHepRepTypeTree ( )

Definition at line 20 of file DefaultHepRepTypeTree.cc.

View newest version in sPHENIX GitHub at line 20 of file DefaultHepRepTypeTree.cc

References types.

Member Function Documentation

void cheprep::DefaultHepRepTypeTree::addType ( HEPREP::HepRepType type)
virtual

Adds a type to this typetree.

Parameters
typeto be added.

Implements HEPREP::HepRepTypeTree.

Definition at line 31 of file DefaultHepRepTypeTree.cc.

View newest version in sPHENIX GitHub at line 31 of file DefaultHepRepTypeTree.cc

References types.

HepRepTypeTree * cheprep::DefaultHepRepTypeTree::copy ( )
virtual

Returns a deep copy of this typetree.

Returns
copy of this typetree.

Implements HEPREP::HepRepTypeTree.

Definition at line 26 of file DefaultHepRepTypeTree.cc.

View newest version in sPHENIX GitHub at line 26 of file DefaultHepRepTypeTree.cc

HepRepType * cheprep::DefaultHepRepTypeTree::getType ( std::string  fullName)
virtual

Returns type

Implements HEPREP::HepRepTypeTree.

Definition at line 40 of file DefaultHepRepTypeTree.cc.

View newest version in sPHENIX GitHub at line 40 of file DefaultHepRepTypeTree.cc

vector< HepRepType * > cheprep::DefaultHepRepTypeTree::getTypeList ( )
virtual

Returns a collection of all types in this tree.

Returns
collection of HepRepTypes.

Implements HEPREP::HepRepTypeTree.

Definition at line 36 of file DefaultHepRepTypeTree.cc.

View newest version in sPHENIX GitHub at line 36 of file DefaultHepRepTypeTree.cc

References types.

Member Data Documentation

std::vector<HEPREP::HepRepType*> cheprep::DefaultHepRepTypeTree::types
private

Definition at line 27 of file DefaultHepRepTypeTree.h.

View newest version in sPHENIX GitHub at line 27 of file DefaultHepRepTypeTree.h

Referenced by addType(), getTypeList(), and ~DefaultHepRepTypeTree().


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