Home | Trees | Indices | Help |
|
---|
|
object --+ | Spell --+ | NifSpell --+ | SpellNodeNamesByFlag
|
|||
bool |
|
||
bool |
|
||
bool |
|
||
Inherited from Inherited from Inherited from Inherited from Inherited from |
|
|||
bool |
|
||
|
|||
Inherited from |
|
|||
SPELLNAME =
A str describing how to refer to the spell from the command line. |
|||
Inherited from |
|
|||
Inherited from |
|
Called just before the toaster starts processing all files. If it returns False, then the spell is not used. The default implementation simply returns True. For example, if the spell only acts on a particular block type, but that block type is excluded, then you can use this function to flag that this spell can be skipped. You can also use this function to initialize statistics data to be aggregated from files, to initialize a log file, and so.
|
|
|
|
Cast the spell on the given branch. First called with branch equal to data's children, then the grandchildren, and so on. The default implementation simply returns True. Typically, you will override this function to perform an operation on a particular block type and/or to stop recursion at particular block types.
|
Home | Trees | Indices | Help |
|
---|
Generated by Epydoc 3.0.1 on Mon Oct 10 19:04:00 2011 | http://epydoc.sourceforge.net |