31#ifndef KIM_TIME_UNIT_HPP_
32#define KIM_TIME_UNIT_HPP_
An Extensible Enumeration for the TimeUnit's supported by the KIM API.
int timeUnitID
Integer identifying the specific TimeUnit represented.
std::string const & ToString() const
Converts the object to a string.
TimeUnit(int const id)
Create a TimeUnit object with the specified id.
bool operator==(TimeUnit const &rhs) const
Compares TimeUnit objects for equality.
TimeUnit(std::string const &str)
Create a TimeUnit object corresponding to the provided string. If the string does not match one of th...
bool Known() const
Determines if the object is a quantity known to the KIM API.
TimeUnit()
Create an uninitialized TimeUnit object.
bool operator!=(TimeUnit const &rhs) const
Compares TimeUnit objects for inequality.
TimeUnit const unused
Indicates that a TimeUnit is not used.
TimeUnit const s
The standard second unit of time.
TimeUnit const fs
The standard femtosecond unit of time.
TimeUnit const ps
The standard picosecond unit of time.
TimeUnit const ns
The standard nanosecond unit of time.
int GetTimeUnit(int const index, TimeUnit *const timeUnit)
Get the identity of each defined standard TimeUnit.
void GetNumberOfTimeUnits(int *const numberOfTimeUnits)
Get the number of standard TimeUnit's defined by the KIM API.
Structure provided for use with std::map.
bool operator()(TimeUnit const &a, TimeUnit const &b) const
Provides an (logically unmeaningful) ordering for TimeUnit objects so that they can be stored in a st...