31#ifndef KIM_CHARGE_UNIT_HPP_
32#define KIM_CHARGE_UNIT_HPP_
An Extensible Enumeration for the ChargeUnit's supported by the KIM API.
bool operator==(ChargeUnit const &rhs) const
Compares ChargeUnit objects for equality.
ChargeUnit(std::string const &str)
Create a ChargeUnit object corresponding to the provided string. If the string does not match one of ...
std::string const & ToString() const
Converts the object to a string.
bool operator!=(ChargeUnit const &rhs) const
Compares ChargeUnit objects for inequality.
int chargeUnitID
Integer identifying the specific ChargeUnit represented.
ChargeUnit(int const id)
Create a ChargeUnit object with the specified id.
bool Known() const
Determines if the object is a quantity known to the KIM API.
ChargeUnit()
Create an uninitialized ChargeUnit object.
ChargeUnit const C
The standard Coulomb unit of charge.
ChargeUnit const e
The standard electron unit of charge.
ChargeUnit const unused
Indicates that a ChargeUnit is not used.
ChargeUnit const statC
The standard statcoulomb unit of charge.
int GetChargeUnit(int const index, ChargeUnit *const chargeUnit)
Get the identity of each defined standard ChargeUnit.
void GetNumberOfChargeUnits(int *const numberOfChargeUnits)
Get the number of standard ChargeUnit's defined by the KIM API.
Structure provided for use with std::map.
bool operator()(ChargeUnit const &a, ChargeUnit const &b) const
Provides an (logically unmeaningful) ordering for ChargeUnit objects so that they can be stored in a ...