Objects of type MTStructure are created by MTStructureFactory.
A structure consists of one or several models, each holding one or multiple chains (3.4). Models are treated like contexts, between which the user may switch.
Methods:
| * read-only access | |
| -(NSString*)pdbcode |
|
| -(NSString*)header |
|
| -(NSString*)title |
|
| -(NSCalendarDate*)date |
|
| -(NSCalendarDate*)revdate |
|
| -(ExperimentType)expdata |
Structure_XRay = 100
|
| -(float)resolution |
|
| -(NSArray*)keywords |
|
| *descriptors | |
| -(id)getDescriptorForKey: (NSString*)key |
|
| -(id)setDescriptor:(id) desc withKey: (NSString*)key |
|
| -(NSArray*)allDescriptorKeys |
|
| *model context | |
| -(int)models |
|
| -(int)currentModel |
|
| -(void)switchToModel:(int)mnum |
|
| -(int)addModel |
|
| -(void)removeModel |
|
| *query and various methods | |
| -(NSString*)hetnameForKey: (NSString*)key |
|
| -(void)writePDBToStream: (MTStream*)fn |
|
| -(NSEnumerator*)allChains |
|
| -(MTChain*)getChain: (NSNumber*)p_chain |
|
| -(void)removeChain: (MTChain*)p_chain |
|
moltalk@moltalk.org version of this document: V3.0