#include <atom_selectors.h>
Public Member Functions | |
Select_by_chainids () | |
Select_by_chainids (const std::string &chs) | |
template<class Atom > | |
bool | operator() (const Atom &atom) const |
Function object to select an atom using its chain identifier.
ESBTL::Select_by_chainids::Select_by_chainids | ( | ) | [inline] |
Default constructor
ESBTL::Select_by_chainids::Select_by_chainids | ( | const std::string & | chs | ) | [inline] |
Constructor.
chs | is the chains identifiers of the atoms to be selected. If several chains must be specified, they must be concatenated (for example selecting atoms of chains A or B corresponds to str="AB") |
bool ESBTL::Select_by_chainids::operator() | ( | const Atom & | atom | ) | const [inline] |
Checks if an atoms match a criteria.
Atom | must represent an atom, a global function ESBTL::get_chain_identifier taking an element of this type must exits. |
atom | represents an atom. |