Main Page   Namespace List   Class Hierarchy   Compound List   File List   Namespace Members   Compound Members   File Members  

Attributed Class Reference

Inheritable support for key-seekable dynamic attributes. More...

#include <mattribute.h>

List of all members.

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


Detailed Description

Inheritable support for key-seekable dynamic attributes.

Definition at line 17 of file mattribute.h.


Member Function Documentation

Object & getAttribute const String   key
 

Returns attribute by given key.

Non-const version.

Definition at line 55 of file mattribute.cc.

const Object & getAttribute const String   key const
 

Returns attribute by given key.

Const version.

Definition at line 50 of file mattribute.cc.

const Object * getAttributep const String   key const
 

Returns attribute by given key.

Const version.

Definition at line 60 of file mattribute.cc.

References Map< String, Object >::getp().

void setAttribute const String   key,
Object *    value
 

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().


The documentation for this class was generated from the following files:
Generated on Thu Feb 10 20:06:43 2005 for LibMagiC by doxygen1.2.18