![]() |
The Gaudi Framework
v28r2
|
Implementation of the AIDA IAnnotation interface class. More...
#include <GaudiCommonSvc/Annotation.h>


Classes | |
| struct | AnnotationItem |
| Internal private annotation item class. More... | |
Public Member Functions | |
| bool | addItem (const std::string &key, const std::string &value, bool sticky=false) override |
| Add a key/value pair with a given sticky. More... | |
| bool | removeItem (const std::string &key) override |
| Remove the item indicated by a given key. More... | |
| std::string | value (const std::string &key) const override |
| Retrieve the value for a given key. More... | |
| void | setValue (const std::string &key, const std::string &value) override |
| Set value for a given key. More... | |
| void | setSticky (const std::string &key, bool sticky) override |
| Set sticky for a given key. More... | |
| int | size () const override |
| Get the number of items in the Annotation. More... | |
| std::string | key (int index) const override |
| Individual access to the Annotation-items. More... | |
| std::string | value (int index) const override |
| void | reset () override |
| Remove all the non-sticky items. More... | |
Private Attributes | |
| std::vector< AnnotationItem > | m_annotationItems |
| The vector of the annotation items. More... | |
| std::map< std::string, unsigned int > | m_identifiers |
| The map of strings to identifiers. More... | |
| std::string | emptyString |
Implementation of the AIDA IAnnotation interface class.
Definition at line 16 of file Annotation.h.
|
inlineoverride |
Add a key/value pair with a given sticky.
Definition at line 73 of file Annotation.h.
|
inlineoverride |
Individual access to the Annotation-items.
Definition at line 134 of file Annotation.h.
|
inlineoverride |
Remove the item indicated by a given key.
Definition at line 83 of file Annotation.h.
|
inlineoverride |
Remove all the non-sticky items.
Definition at line 146 of file Annotation.h.
|
inlineoverride |
Set sticky for a given key.
Definition at line 124 of file Annotation.h.
|
inlineoverride |
Set value for a given key.
Definition at line 114 of file Annotation.h.
|
inlineoverride |
Get the number of items in the Annotation.
Definition at line 130 of file Annotation.h.
|
inlineoverride |
Retrieve the value for a given key.
Definition at line 107 of file Annotation.h.
|
inlineoverride |
Definition at line 140 of file Annotation.h.
|
private |
Definition at line 69 of file Annotation.h.
|
private |
The vector of the annotation items.
Definition at line 64 of file Annotation.h.
|
private |
The map of strings to identifiers.
Definition at line 67 of file Annotation.h.