Public Member Functions
ESBTL::Select_by_chainids Class Reference

#include <atom_selectors.h>

List of all members.

Public Member Functions

 Select_by_chainids ()
 Select_by_chainids (const std::string &chs)
template<class Atom >
bool operator() (const Atom &atom) const

Detailed Description

Function object to select an atom using its chain identifier.

Constructor & Destructor Documentation

ESBTL::Select_by_chainids::Select_by_chainids ( ) [inline]

Default constructor

ESBTL::Select_by_chainids::Select_by_chainids ( const std::string &  chs) [inline]


chsis 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")

Member Function Documentation

template<class Atom >
bool ESBTL::Select_by_chainids::operator() ( const Atom &  atom) const [inline]

Checks if an atoms match a criteria.

Template Parameters:
Atommust represent an atom, a global function ESBTL::get_chain_identifier taking an element of this type must exits.
atomrepresents an atom.

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