|
Gaudi Framework, version v24r2 |
| Home | Generated: Wed Dec 4 2013 |
Implementation of the AIDA IAnnotation interface class. More...
#include <Annotation.h>


Classes | |
| class | AnnotationItem |
| Internal private annotation item class. More... | |
Public Member Functions | |
| Annotation () | |
| Constructor. | |
| virtual | ~Annotation () |
| Destructor. | |
| bool | addItem (const std::string &key, const std::string &value, bool sticky=false) |
| Add a key/value pair with a given sticky. | |
| bool | removeItem (const std::string &key) |
| Remove the item indicated by a given key. | |
| std::string | value (const std::string &key) const |
| Retrieve the value for a given key. | |
| void | setValue (const std::string &key, const std::string &value) |
| Set value for a given key. | |
| void | setSticky (const std::string &key, bool sticky) |
| Set sticky for a given key. | |
| int | size () const |
| Get the number of items in the Annotation. | |
| std::string | key (int index) const |
| Individual access to the Annotation-items. | |
| std::string | value (int index) const |
| void | reset () |
| Remove all the non-sticky items. | |
Private Attributes | |
| std::vector< AnnotationItem > | m_annotationItems |
| The vector of the annotation items. | |
| std::map< std::string, unsigned int > | m_identifiers |
| The map of strings to identifiers. | |
| std::string | emptyString |
Implementation of the AIDA IAnnotation interface class.
Definition at line 18 of file Annotation.h.
|
inline |
|
inlinevirtual |
|
inline |
Add a key/value pair with a given sticky.
Definition at line 83 of file Annotation.h.
|
inline |
Individual access to the Annotation-items.
Definition at line 145 of file Annotation.h.
|
inline |
Remove the item indicated by a given key.
Definition at line 93 of file Annotation.h.
|
inline |
Remove all the non-sticky items.
Definition at line 157 of file Annotation.h.
|
inline |
Set sticky for a given key.
Definition at line 134 of file Annotation.h.
|
inline |
Set value for a given key.
Definition at line 124 of file Annotation.h.
|
inline |
Get the number of items in the Annotation.
Definition at line 141 of file Annotation.h.
|
inline |
Retrieve the value for a given key.
Definition at line 117 of file Annotation.h.
|
inline |
Definition at line 151 of file Annotation.h.
|
private |
Definition at line 79 of file Annotation.h.
|
private |
The vector of the annotation items.
Definition at line 74 of file Annotation.h.
|
private |
The map of strings to identifiers.
Definition at line 77 of file Annotation.h.