#include <atom_selectors.h>
Public Member Functions | |
| Select_by_resname () | |
| Select_by_resname (const std::string &str) | |
| template<class Atom > | |
| bool | operator() (const Atom &atom) const |
Public Attributes | |
| std::string | name |
Function object to select an atom using its residue name.
| ESBTL::Select_by_resname::Select_by_resname | ( | ) | [inline] |
Default constructor
| ESBTL::Select_by_resname::Select_by_resname | ( | const std::string & | str | ) | [inline] |
Constructor.
| str | is the name of the residues to be selected. |
| bool ESBTL::Select_by_resname::operator() | ( | const Atom & | atom | ) | const [inline] |
Checks if an atoms match a criteria.
| Atom | must represent an atom, a global function ESBTL::get_residue_name taking an element of this type must exits. |
| atom | represents an atom. |
| std::string ESBTL::Select_by_resname::name |
1.7.4