#include <geant4/tree/geant4-10.6-release/source/visualization/HepRep/include/HEPREP/HepRepAttributeListener.h>
|
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 |
|
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
virtual HEPREP::HepRepAttributeListener::~HepRepAttributeListener |
( |
| ) |
|
|
inlinevirtual |
virtual void HEPREP::HepRepAttributeListener::removeAttribute |
( |
HepRepInstance * |
instance, |
|
|
std::string |
key |
|
) |
| |
|
pure virtual |
Called if attribute key is removed from the attribute set.
- Parameters
-
instance | instance for which this attribute is set. |
key | name 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
-
instance | instance for which this attribute is set. |
key | name of the changed attribute. |
value | value of the changed attribute. |
lowerCaseValue | lower case value of the changed attribute. |
showLabel | value 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
-
instance | instance for which this attribute is set. |
key | name of the changed attribute. |
value | value of the changed attribute. |
showLabel | value 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
-
instance | instance for which this attribute is set. |
key | name of the changed attribute. |
value | value of the changed attribute. |
showLabel | value 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
-
instance | instance for which this attribute is set. |
key | name of the changed attribute. |
value | value of the changed attribute. |
showLabel | value 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
-
instance | instance for which this attribute is set. |
key | name of the changed attribute. |
value | value of the changed attribute. |
showLabel | value 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
-
instance | instance for which this attribute is set. |
key | name of the changed attribute. |
value | value of the changed attribute. |
showLabel | value of showLabel. |
The documentation for this class was generated from the following file: