Public Member Functions | Private Attributes | List of all members
cheprep::DefaultHepRepInstanceTree Class Reference

#include "/cvmfs/nova.opensciencegrid.org/externals/geant4/v4_10_4_p02ba/source/geant4.10.04.p02/source/visualization/HepRep/include/cheprep/DefaultHepRepInstanceTree.h"

Inheritance diagram for cheprep::DefaultHepRepInstanceTree:
cheprep::DefaultHepRepTreeID HEPREP::HepRepInstanceTree HEPREP::HepRepTreeID HEPREP::HepRepTreeID

Public Member Functions

 DefaultHepRepInstanceTree (std::string name, std::string version, HEPREP::HepRepTreeID *typeTree)
 
 ~DefaultHepRepInstanceTree ()
 
void overlay (HEPREP::HepRepInstanceTree *instanceTree)
 
HEPREP::HepRepInstanceTreecopy (HEPREP::HepRepTypeTree *typeTree, HEPREP::HepRepSelectFilter *filter)
 
void addInstance (HEPREP::HepRepInstance *instance)
 
void removeInstance (HEPREP::HepRepInstance *instance)
 
std::vector< HEPREP::HepRepInstance * > getInstances ()
 
void addInstanceTree (HEPREP::HepRepTreeID *treeID)
 
HEPREP::HepRepTreeIDgetTypeTree ()
 
std::vector< HEPREP::HepRepTreeID * > getInstanceTreeList ()
 
std::string getQualifier ()
 
void setQualifier (std::string qualifier)
 
std::string getName ()
 
std::string getVersion ()
 

Private Attributes

HEPREP::HepRepTreeIDtypeTree
 
std::vector< HEPREP::HepRepInstance * > instances
 
std::vector< HEPREP::HepRepTreeID * > instanceTrees
 

Detailed Description

Definition at line 26 of file DefaultHepRepInstanceTree.h.

Constructor & Destructor Documentation

cheprep::DefaultHepRepInstanceTree::DefaultHepRepInstanceTree ( std::string  name,
std::string  version,
HEPREP::HepRepTreeID typeTree 
)
cheprep::DefaultHepRepInstanceTree::~DefaultHepRepInstanceTree ( )

Member Function Documentation

void cheprep::DefaultHepRepInstanceTree::addInstance ( HEPREP::HepRepInstance instance)
virtual

Adds an instance to this instancetree.

Parameters
instanceto be added.

Implements HEPREP::HepRepInstanceTree.

void cheprep::DefaultHepRepInstanceTree::addInstanceTree ( HEPREP::HepRepTreeID instanceTree)
virtual

Adds a related instance tree to this instancetree.

Parameters
instanceTreerelated instancetree.

Implements HEPREP::HepRepInstanceTree.

HEPREP::HepRepInstanceTree* cheprep::DefaultHepRepInstanceTree::copy ( HEPREP::HepRepTypeTree typeTree,
HEPREP::HepRepSelectFilter filter 
)
virtual

Returns a deep copy of this instancetree.

Parameters
filterto filter the instances.
Returns
copy of this instancetree.

Implements HEPREP::HepRepInstanceTree.

std::vector<HEPREP::HepRepInstance*> cheprep::DefaultHepRepInstanceTree::getInstances ( )
virtual

Returns a collection of instances.

Returns
collection of HepRepInstances.

Implements HEPREP::HepRepInstanceTree.

std::vector<HEPREP::HepRepTreeID*> cheprep::DefaultHepRepInstanceTree::getInstanceTreeList ( )
virtual

Returns a collection of associated instance trees.

Returns
collection of HepRepTreeIDs.

Implements HEPREP::HepRepInstanceTree.

std::string cheprep::DefaultHepRepTreeID::getName ( )
virtualinherited

Returns the name of this treeID.

Returns
name of treeID.

Implements HEPREP::HepRepTreeID.

std::string cheprep::DefaultHepRepTreeID::getQualifier ( )
virtualinherited

Returns the qualifier that qualifies the relation that this treeID has with what it refers to.

Returns
qualifier.

Implements HEPREP::HepRepTreeID.

HEPREP::HepRepTreeID* cheprep::DefaultHepRepInstanceTree::getTypeTree ( )
virtual

Returns the associated typetree.

Returns
TreeID of the associated typetree.

Implements HEPREP::HepRepInstanceTree.

std::string cheprep::DefaultHepRepTreeID::getVersion ( )
virtualinherited

Returns the version of this treeID.

Returns
version of treeID.

Implements HEPREP::HepRepTreeID.

void cheprep::DefaultHepRepInstanceTree::overlay ( HEPREP::HepRepInstanceTree instanceTree)
virtual

Overlays the instance tree on the current tree.

The list of instances of the instanceTree has to be the same as the current tree.

Implements HEPREP::HepRepInstanceTree.

void cheprep::DefaultHepRepInstanceTree::removeInstance ( HEPREP::HepRepInstance instance)
virtual

Removes an instance from this instancetree.

Parameters
instanceto be removed.

Implements HEPREP::HepRepInstanceTree.

void cheprep::DefaultHepRepTreeID::setQualifier ( std::string  qualifier)
virtualinherited

Sets the qualifier that qualifies the relation that this treeID has with what it refers to.

Parameters
qualifierto be set.

Implements HEPREP::HepRepTreeID.

Member Data Documentation

std::vector<HEPREP::HepRepInstance*> cheprep::DefaultHepRepInstanceTree::instances
private

Definition at line 30 of file DefaultHepRepInstanceTree.h.

std::vector<HEPREP::HepRepTreeID*> cheprep::DefaultHepRepInstanceTree::instanceTrees
private

Definition at line 31 of file DefaultHepRepInstanceTree.h.

HEPREP::HepRepTreeID* cheprep::DefaultHepRepInstanceTree::typeTree
private

Definition at line 29 of file DefaultHepRepInstanceTree.h.


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