#include <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.
◆ ~HepRepAttributeListener()
virtual HEPREP::HepRepAttributeListener::~HepRepAttributeListener |
( |
| ) |
|
|
inlinevirtual |
◆ removeAttribute()
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. |
◆ setAttribute() [1/6]
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. |
◆ setAttribute() [2/6]
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. |
◆ setAttribute() [3/6]
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. |
◆ setAttribute() [4/6]
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. |
◆ setAttribute() [5/6]
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. |
◆ setAttribute() [6/6]
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. |
The documentation for this class was generated from the following file: