Definition at line 424 of file tls.cpp.
◆ tls_selection_range_id()
cif::tls_selection_range_id::tls_selection_range_id |
( |
int |
first, |
|
|
int |
last, |
|
|
char |
icodeFirst = 0 , |
|
|
char |
icodeLast = 0 |
|
) |
| |
|
inline |
◆ collect_residues()
void cif::tls_selection_range_id::collect_residues |
( |
cif::datablock & |
db, |
|
|
std::vector< tls_residue > & |
residues, |
|
|
size_t |
indentLevel |
|
) |
| const |
|
inlineoverride |
Definition at line 434 of file tls.cpp.
437 std::set<std::string> chains;
438 for (
auto &r : residues)
439 chains.insert(r.chainID);
441 for (std::string chain : chains)
443 auto f = find_if(residues.begin(), residues.end(),
444 [
this,chain](
auto r) ->
bool 449 auto l = find_if(residues.begin(), residues.end(),
450 [
this,chain](
auto r) ->
bool 455 if (
f != residues.end() and l != residues.end() and
f <= l)
466 std::cout << std::string(indentLevel * 2,
' ') <<
"Through " <<
m_first <<
':' <<
m_last << std::endl;
void dump_selection(const std::vector< tls_residue > &selected, size_t indentLevel)
◆ m_first
int cif::tls_selection_range_id::m_first |
◆ m_icode_first
char cif::tls_selection_range_id::m_icode_first |
◆ m_icode_last
char cif::tls_selection_range_id::m_icode_last |
◆ m_last
int cif::tls_selection_range_id::m_last |
The documentation for this struct was generated from the following file: