#include <mattribute.h>
Public Methods | |
void | setAttribute (const String &key, Object *value) |
const Object & | getAttribute (const String &key) const |
Object & | getAttribute (const String &key) |
const Object * | getAttributep (const String &key) const |
Definition at line 17 of file mattribute.h.
|
Returns attribute by given key. Non-const version. Definition at line 55 of file mattribute.cc. |
|
Returns attribute by given key. Const version. Definition at line 50 of file mattribute.cc. |
|
Returns attribute by given key. Const version. Definition at line 60 of file mattribute.cc. References Map< String, Object >::getp(). |
|
Sets an attribute value, replaces possible old value. Note: Takes ownership of the object. Definition at line 43 of file mattribute.cc. References Map< String, Object >::set(). |