ECCE @ EIC Software
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
HEPREP::HepRepAttributeListener Class Referenceabstract

#include <geant4/tree/geant4-10.6-release/source/visualization/HepRep/include/HEPREP/HepRepAttributeListener.h>

Public Member Functions

virtual ~HepRepAttributeListener ()
 Destructor.
 
virtual void setAttribute (HepRepInstance *instance, std::string key, std::string value, std::string lowerCaseValue, int showLabel)=0
 
virtual void setAttribute (HepRepInstance *instance, std::string key, std::vector< double > value, int showLabel)=0
 
virtual void setAttribute (HepRepInstance *instance, std::string key, long value, int showLabel)=0
 
virtual void setAttribute (HepRepInstance *instance, std::string key, int value, int showLabel)=0
 
virtual void setAttribute (HepRepInstance *instance, std::string key, double value, int showLabel)=0
 
virtual void setAttribute (HepRepInstance *instance, std::string key, bool value, int showLabel)=0
 
virtual void removeAttribute (HepRepInstance *instance, std::string key)=0
 

Detailed Description

HepRepAttributeListener interface. The implementor is called back for changes of attributes while using the HepRepIterator to iterate over all the HepRepInstances.

All names are lowercased.

Author
Mark Donszelmann

Definition at line 27 of file HepRepAttributeListener.h.

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

Constructor & Destructor Documentation

virtual HEPREP::HepRepAttributeListener::~HepRepAttributeListener ( )
inlinevirtual

Destructor.

Definition at line 31 of file HepRepAttributeListener.h.

View newest version in sPHENIX GitHub at line 31 of file HepRepAttributeListener.h

Member Function Documentation

virtual void HEPREP::HepRepAttributeListener::removeAttribute ( HepRepInstance instance,
std::string  key 
)
pure virtual

Called if attribute key is removed from the attribute set.

Parameters
instanceinstance for which this attribute is set.
keyname of the removed attribute.
virtual void HEPREP::HepRepAttributeListener::setAttribute ( HepRepInstance instance,
std::string  key,
std::string  value,
std::string  lowerCaseValue,
int  showLabel 
)
pure virtual

Called if attribute key changes its value.

Parameters
instanceinstance for which this attribute is set.
keyname of the changed attribute.
valuevalue of the changed attribute.
lowerCaseValuelower case value of the changed attribute.
showLabelvalue of showLabel.
virtual void HEPREP::HepRepAttributeListener::setAttribute ( HepRepInstance instance,
std::string  key,
std::vector< double >  value,
int  showLabel 
)
pure virtual

Called if attribute key changes its value.

Parameters
instanceinstance for which this attribute is set.
keyname of the changed attribute.
valuevalue of the changed attribute.
showLabelvalue of showLabel.
virtual void HEPREP::HepRepAttributeListener::setAttribute ( HepRepInstance instance,
std::string  key,
long  value,
int  showLabel 
)
pure virtual

Called if attribute key changes its value.

Parameters
instanceinstance for which this attribute is set.
keyname of the changed attribute.
valuevalue of the changed attribute.
showLabelvalue of showLabel.
virtual void HEPREP::HepRepAttributeListener::setAttribute ( HepRepInstance instance,
std::string  key,
int  value,
int  showLabel 
)
pure virtual

Called if attribute key changes its value.

Parameters
instanceinstance for which this attribute is set.
keyname of the changed attribute.
valuevalue of the changed attribute.
showLabelvalue of showLabel.
virtual void HEPREP::HepRepAttributeListener::setAttribute ( HepRepInstance instance,
std::string  key,
double  value,
int  showLabel 
)
pure virtual

Called if attribute key changes its value.

Parameters
instanceinstance for which this attribute is set.
keyname of the changed attribute.
valuevalue of the changed attribute.
showLabelvalue of showLabel.
virtual void HEPREP::HepRepAttributeListener::setAttribute ( HepRepInstance instance,
std::string  key,
bool  value,
int  showLabel 
)
pure virtual

Called if attribute key changes its value.

Parameters
instanceinstance for which this attribute is set.
keyname of the changed attribute.
valuevalue of the changed attribute.
showLabelvalue of showLabel.

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