NSObject
|
+---MTResidueFactory
This factory can instantiate objects of the class MTResidue. If you want to create subclasses of MTResidue, implement a subclass of MTResidueFactory and overwrite +newInstance. Then set it to be the new default factory class with +setDefaultResidueFactory:.
+(id)createResidueWithNumber:(NSNumber*)resnr name:(NSString*)rname
This method creates an instance of the target class and must be reimplemented in subclasses.
+(id)newResidueWithNumber:(int)resnr name:(char*)rname
+(id)newResidueWithNumber:(int)resnr subcode:(char)icode name:(char*)rname
+(void)setDefaultResidueFactory:(Class)klass
Sets the default factory class