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

#include <HepRepIterator.h>

Public Member Functions

virtual ~HepRepIterator ()
 Destructor.
 
virtual bool hasNext ()=0
 
virtual HepRepInstancenextInstance ()=0
 
virtual void addHepRepAttributeListener (std::string name, HepRepAttributeListener *listener)=0
 
virtual void removeHepRepAttributeListener (std::string name, HepRepAttributeListener *listener)=0
 
virtual void addHepRepFrameListener (HepRepFrameListener *listener)=0
 
virtual void removeHepRepFrameListener (HepRepFrameListener *listener)=0
 
virtual bool drawAsFrame ()=0
 

Detailed Description

HepRepIterator interface.

Author
Mark Donszelmann

Definition at line 25 of file HepRepIterator.h.

Constructor & Destructor Documentation

◆ ~HepRepIterator()

virtual HEPREP::HepRepIterator::~HepRepIterator ( )
inlinevirtual

Destructor.

Definition at line 29 of file HepRepIterator.h.

29{ /* nop */; }

Member Function Documentation

◆ addHepRepAttributeListener()

virtual void HEPREP::HepRepIterator::addHepRepAttributeListener ( std::string  name,
HepRepAttributeListener listener 
)
pure virtual

Adds a listener to be informed about attribute changes while iterating.

Parameters
listenerto be added.

◆ addHepRepFrameListener()

virtual void HEPREP::HepRepIterator::addHepRepFrameListener ( HepRepFrameListener listener)
pure virtual

Adds a listener to be informed about attribute changes while iterating.

Parameters
listenerto be added.

◆ drawAsFrame()

virtual bool HEPREP::HepRepIterator::drawAsFrame ( )
pure virtual

Returns true if the current instance, just delivered by nextInstance(), is to be drawn as a frame.

◆ hasNext()

virtual bool HEPREP::HepRepIterator::hasNext ( )
pure virtual

Signals if there is a next instance to iterate to.

Returns
true if next() can be called.

◆ nextInstance()

virtual HepRepInstance * HEPREP::HepRepIterator::nextInstance ( )
pure virtual

Returns next instance.

Returns
next HepRepInstance.

◆ removeHepRepAttributeListener()

virtual void HEPREP::HepRepIterator::removeHepRepAttributeListener ( std::string  name,
HepRepAttributeListener listener 
)
pure virtual

Removes a listener.

Parameters
listenerto be removed.

◆ removeHepRepFrameListener()

virtual void HEPREP::HepRepIterator::removeHepRepFrameListener ( HepRepFrameListener listener)
pure virtual

Removes a listener.

Parameters
listenerto be removed.

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