Class MTAtomFactory

Inherits from:
NSObject
Declared in:
../libmoltalk/MTAtomFactory.oh

Class Hierarchy

    NSObject
      |
      +---MTAtomFactory

Class Description

This factory can instantiate objects of the class MTAtom. If you want to create subclasses of MTAtom, implement a subclass of MTAtomFactory and overwrite +newInstance. Then set it to be the new default factory class with +setDefaultAtomFactory:.

Last modified:
16-May-2006 (../libmoltalk/MTAtomFactory.oh)

Method Index

+(id)createAtomWithNumber:(NSNumber*)serial name:(NSString*)aname X:(NSNumber*)x Y:(NSNumber*)y Z:(NSNumber*)z B:(NSNumber*)bfact
+(id)newAtomWithNumber:(unsigned int)serial name:(char*)aname X:(double)x Y:(double)y Z:(double)z B:(float)bfact
+(id)newInstance
+(void)setDefaultAtomFactory:(Class)klass

Methods

+(id)createAtomWithNumber:(NSNumber*)serial name:(NSString*)aname X:(NSNumber*)x Y:(NSNumber*)y Z:(NSNumber*)z B:(NSNumber*)bfact

+(id)newAtomWithNumber:(unsigned int)serial name:(char*)aname X:(double)x Y:(double)y Z:(double)z B:(float)bfact

+(id)newInstance

This method creates an instance of the target class and must be reimplemented in subclasses.

+(void)setDefaultAtomFactory:(Class)klass

Sets the default factory class


generated 07-Jun-2006 by ObjcDoc 3.0.0