This website is no longer maintained. Its content may be obsolete. Please visit http://home.cern/ for current CERN information.
#include <IAnnotation.h>
Public Methods | |
virtual | ~IAnnotation () |
Destructor. More... | |
virtual bool | addItem (const std::string &key, const std::string &value, bool sticky=false)=0 |
virtual bool | removeItem (const std::string &key)=0 |
virtual const std::string& | value (const std::string &key) const=0 |
virtual void | setValue (const std::string &key, const std::string &value)=0 |
virtual void | setSticky (const std::string &key, bool sticky)=0 |
virtual int | size () const=0 |
virtual const std::string& | key (int index) const=0 |
virtual const std::string& | value (int index) const=0 |
virtual void | reset ()=0 |
Definition at line 34 of file IAnnotation.h.
|
Definition at line 38 of file IAnnotation.h. |
|
Add a key/value pair with a given sticky flag. If key alredy exists, override its value ?
|
|
Get the key at a given position within the IAnnotation.
|
|
Remove the item indicated by a given key.
|
|
Remove all the non-sticky items. |
|
Set the sticky flag for a given key.
|
|
Set the value for a given key.
|
|
Get the size of the IAnnotation, i.e. the number of keys contained in it.
|
|
Get the value at a given position within the IAnnotation.
|
|
Retrieve the value for a given key.
|