|
ROOT
Reference Guide |
|
Go to the documentation of this file.
174 const char *oldValue =
GetValue(key);
177 newString = oldValue;
200 newString = oldValue;
201 newString += description;
216 while ((
object = next())) {
223 nextDescription.
Reset();
224 while ((objectD = nextDescription())) {
Class used by TMap to store (key,value) pairs.
void AddToSetDescription(const char *key, const char *description)
Adds a value to a key value which hosts a set of values.
TString AddQuotes(const char *value)
Adds quotes to the provided string.
void SetDescription(const char *key, const char *description)
Sets a value. If the entry already exists the old one is replaced.
static void output(int code)
const char * GetDescription(const char *key)
Returns the value corresponding to the provided key.
TObject * GetValue(const char *keyname) const
Returns a pointer to the value associated with keyname as name of the key.
void Add(TObject *obj)
This function may not be used (but we need to provide it since it is a pure virtual in TCollection).
const char * GetName() const
Returns name of object.
Collectable string class.
virtual TString Generate()
Generates the JDL snippet.
void SetValue(const char *key, const char *value)
Sets a value. If the entry already exists the old one is replaced.
TString & Remove(Ssiz_t pos)
const char * GetValue(const char *key)
Returns the value corresponding to the provided key.
virtual ~TGridJDL()
Cleanup.
TObject * FindObject(const char *keyname) const
Check if a (key,value) pair exists with keyname as name of the key.
TObject * Remove(TObject *key)
Remove the (key,value) pair with key from the map.
void DeleteAll()
Remove all (key,value) pairs from the map AND delete the keys AND values when they are allocated on t...
virtual void Clear(const Option_t *=0)
Clears the JDL information.
Mother of all ROOT objects.
void AddToSet(const char *key, const char *value)
Adds a value to a key value which hosts a set of values.