Xmipp  v3.23.11-Nereus
Public Member Functions | List of all members
cif::compound_atom_less Struct Reference

Public Member Functions

bool operator() (const compound_atom &a, const compound_atom &b) const
 

Detailed Description

Definition at line 83 of file compound.cpp.

Member Function Documentation

◆ operator()()

bool cif::compound_atom_less::operator() ( const compound_atom &  a,
const compound_atom &  b 
) const
inline

Definition at line 85 of file compound.cpp.

86  {
87  int d = a.id.compare(b.id);
88  if (d == 0)
89  d = a.type_symbol - b.type_symbol;
90  return d < 0;
91  }
doublereal * d
doublereal * b
doublereal * a

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