clipper::MMoleculeSequence Class Reference

Molecule sequence object. More...

#include <minimol_seq.h>

List of all members.

Public Member Functions

int size () const
 number of polymer sequences in model
const MPolymerSequenceoperator[] (const int &i) const
 get polymer sequence
MPolymerSequenceoperator[] (const int &i)
 set polymer sequence
const MPolymerSequencefind (const String &n, const MM::MODE mode=MM::UNIQUE) const
 get polymer sequence by id
MPolymerSequencefind (const String &n, const MM::MODE mode=MM::UNIQUE)
 set polymer sequence by id
int lookup (const String &str, const MM::MODE &mode) const
 lookup polymer sequence by id
void insert (const MPolymerSequence &add, int pos=-1)
 add polymer sequence
bool is_null () const
 test for null model

Detailed Description

Molecule sequence object.

The molecule sequence object is a list of polymer sequence objects representing the named sequences of all the chains in a molecule.


Member Function Documentation

const MPolymerSequence & clipper::MMoleculeSequence::find ( const String n,
const MM::MODE  mode = MM::UNIQUE 
) const

get polymer sequence by id

Lookup monomer by ID. If mode=UNIQUE, the insertion code must match, otherwise the first monomer with the same sequence number is returned.

Parameters:
n The monomer ID.
mode The search mode.
Returns:
The monomer.

References lookup(), and clipper::message.

MPolymerSequence & clipper::MMoleculeSequence::find ( const String n,
const MM::MODE  mode = MM::UNIQUE 
)

set polymer sequence by id

See MMolecule::find()

References lookup(), and clipper::message.


The documentation for this class was generated from the following files:

Generated on 4 Jan 2010 for Clipper_minimol by  doxygen 1.6.1