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 ModSeq.
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 Types.
Type:
int

Generated by Epydoc 2.1 on Sun Feb 11 13:30:19 2007 http://epydoc.sf.net