|
bool | operator() (const compound_bond &a, const compound_bond &b) const |
|
Definition at line 94 of file compound.cpp.
◆ operator()()
bool cif::compound_bond_less::operator() |
( |
const compound_bond & |
a, |
|
|
const compound_bond & |
b |
|
) |
| const |
|
inline |
Definition at line 96 of file compound.cpp.
98 int d =
a.atom_id[0].compare(
b.atom_id[0]);
100 d =
a.atom_id[1].compare(
b.atom_id[1]);
102 d =
static_cast<int>(
a.type) - static_cast<int>(
b.type);
The documentation for this struct was generated from the following file: