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).
Inheritance diagram for IMP::atom::PDBSelector:Public Member Functions | |
| PDBSelector (std::string name) | |
| virtual bool | get_is_selected (const std::string &pdb_line) const =0 |
| Return true if the line should be processed. | |
Public Member Functions inherited from IMP::base::Object | |
| std::size_t | __hash__ () const |
| virtual std::string | get_type_name () const =0 |
| Return a string identifying the type of the object. | |
| virtual IMP::base::VersionInfo | get_version_info () const =0 |
| Get information about the module and version of the object. | |
| void | set_check_level (CheckLevel l) |
| void | set_log_level (LogLevel l) |
| Set the logging level used in this object. | |
| void | set_was_used (bool tf) const |
| void | show (std::ostream &out=std::cout) const |
| const std::string & | get_name () const |
| void | set_name (std::string name) |
Additional Inherited Members | |
Protected Member Functions inherited from IMP::base::Object | |
| Object (std::string name) | |
|
pure virtual |
Return true if the line should be processed.
Implemented in IMP::atom::NotPDBSelector, IMP::atom::OrPDBSelector, IMP::atom::AndPDBSelector, IMP::atom::PPDBSelector, IMP::atom::NonWaterPDBSelector, IMP::atom::NonWaterNonHydrogenPDBSelector, IMP::atom::HydrogenPDBSelector, IMP::atom::WaterPDBSelector, IMP::atom::ChainPDBSelector, IMP::atom::AllPDBSelector, IMP::atom::NPDBSelector, IMP::atom::CPDBSelector, IMP::atom::CBetaPDBSelector, IMP::atom::CAlphaPDBSelector, IMP::atom::ATOMPDBSelector, and IMP::atom::NonAlternativePDBSelector.