#include <occupancy_handlers.h>
Public Member Functions | |
| template<class Iterator > | |
| Atom_list_occupancy_policy (Iterator begin, Iterator end) | |
| int | add_or_postpone (const Line_format &line_format, const std::string &line, int system_index) const |
| template<class Builder > | |
| int | finalize (Builder &) const |
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.
| Line_format | is a helper class to read molecular data files such as ESBTL::PDB::Line_format. |
| ESBTL::Atom_list_occupancy_policy< Line_format >::Atom_list_occupancy_policy | ( | Iterator | begin, |
| Iterator | end | ||
| ) | [inline] |
Constructor. The serial numbers of atoms to be kept are given by an iterator range.
| Iterator | is an iterator over unsigned integers. |
| begin | is the first iterator over the range of atom serial numbers. |
| end | is the past-end iterator over the range of atom serial numbers. |
| int ESBTL::Atom_list_occupancy_policy< Line_format >::add_or_postpone | ( | const Line_format & | line_format, |
| const std::string & | line, | ||
| int | system_index | ||
| ) | const [inline] |
| int ESBTL::Atom_list_occupancy_policy< Line_format >::finalize | ( | Builder & | ) | const [inline] |
1.7.4