Main Page   Class Hierarchy   Compound List   File List   Compound Members  

Attributed Class Reference

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

#include <mattribute.h>

List of all members.

Public Methods

 Attributed ()
 ~Attributed ()
void setAttribute (const String &key, Object *value)
const ObjectgetAttribute (const String &key) const
ObjectgetAttribute (const String &key)
const ObjectgetAttributep (const String &key) const


Detailed Description

Inheritable support for key-seekable dynamic attributes.

Definition at line 13 of file mattribute.h.


Member Function Documentation

Object & getAttribute ( const String & key )
 

Returns attribute by given key.

Non-const version.

const Object & getAttribute ( const String & key ) const
 

Returns attribute by given key.

Const version.

const Object * getAttributep ( const String & key ) const
 

Returns attribute by given key.

Const version.

void setAttribute ( const String & key,
Object * value )
 

Sets an attribute value, replaces possible old value.

Note: Takes ownership of the object.


The documentation for this class was generated from the following file:
Generated at Tue Dec 4 19:53:28 2001 for MagiC++ by doxygen1.2.6 written by Dimitri van Heesch, © 1997-2001