kim-api  2.1.2+v2.1.2.GNU
An Application Programming Interface (API) for the Knowledgebase of Interatomic Models (KIM).
Public Member Functions | List of all members
KIM::ENERGY_UNIT::Comparator Struct Reference

Structure provided for use with std::map. More...

#include <KIM_EnergyUnit.hpp>

Public Member Functions

bool operator() (EnergyUnit const &a, EnergyUnit const &b) const
 Provides an (logically unmeaningful) ordering for EnergyUnit objects so that they can be stored in a std::map. More...
 

Detailed Description

Structure provided for use with std::map.

Since
2.0

Definition at line 220 of file KIM_EnergyUnit.hpp.

Member Function Documentation

◆ operator()()

bool KIM::ENERGY_UNIT::Comparator::operator() ( EnergyUnit const &  a,
EnergyUnit const &  b 
) const
inline

Provides an (logically unmeaningful) ordering for EnergyUnit objects so that they can be stored in a std::map.

Since
2.0

Definition at line 226 of file KIM_EnergyUnit.hpp.


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