IMP logo

IMP::atom::PDBSelector Class Reference


Detailed Description

Select which atoms to read from a PDB file.

Selector is a general purpose class used to select records from a PDB file. Using descendants of this class one may implement arbitrary selection functions with operator() and pass them to PDB reading functions for object selection. Simple selectors can be used to build more complicated ones. Inheritence means "AND" unless otherwise noted (that is, the CAlphaPDBSelector takes all non-alternate C-alphas since it inherits from NonAlternativePDBSelector).

PDBSelectors are designed to be temporary objects and should never be stored.

See also:
read_pdb
Inheritance diagram for IMP::atom::PDBSelector:

Inheritance graph
[legend]

Public Member Functions

virtual bool operator() (const std::string &pdb_line) const =0
 Return true if the line should be processed.

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

Generated on Mon Mar 8 23:08:51 2010 for IMP by doxygen 1.5.8