Module Modifier :: Class Modifier
[frames | no frames]

Class Modifier


The Modifier object

This object provides access to a modifier for a particular object accessed from Modifiers.
Method Summary
varies __getitem__(key)
This operator returns one of the modifier's data attributes.
  __setitem__(key)
This operator modifiers one of the modifier's data attributes.

Instance Variable Summary
string name: The name of this modifier.
int type: The type of this modifier.

Method Details

__getitem__(key)
(Indexing operator)

This operator returns one of the modifier's data attributes.
Parameters:
key
           (type=value from modifier's Modifier.Settings constant)
Returns:
the requested data
           (type=varies)
Raises:
KeyError - the key does not exist for the modifier

__setitem__(key)
(Index assignment operator)

This operator modifiers one of the modifier's data attributes.
Parameters:
key
           (type=value from modifier's Modifier.Settings constant)
Raises:
KeyError - the key does not exist for the modifier

Instance Variable Details

name

The name of this modifier. 31 chars max.
Type:
string

type

The type of this modifier. Read-only. The returned value matches the types in Type.
Type:
int

Generated by Epydoc 2.1 on Thu Jul 13 16:50:05 2006 http://epydoc.sf.net