Structural Bioinformatics Library
Template C++ / Python API for developping structural bioinformatics applications.
Atom_list_occupancy_policy< Line_format > Class Template Reference

#include <occupancy_handlers.h>

Public Member Functions

template<class Iterator >
 Atom_list_occupancy_policy (Iterator begin, Iterator end)
 

Detailed Description

template<class Line_format>
class ESBTL::Atom_list_occupancy_policy< Line_format >

Keep only a set of atoms given by their atom serial number This object provides an occupancy policy to keep atoms with an occupancy != 1 and with no alternate location using their atom serial number.

Template Parameters
Line_formatis a helper class to read molecular data files such as ESBTL::PDB::Line_format.

Constructor & Destructor Documentation

◆ Atom_list_occupancy_policy()

Atom_list_occupancy_policy ( Iterator  begin,
Iterator  end 
)
inline

Constructor. The serial numbers of atoms to be kept are given by an iterator range.

Template Parameters
Iteratoris an iterator over unsigned integers.
Parameters
beginis the first iterator over the range of atom serial numbers.
endis the past-end iterator over the range of atom serial numbers.