31 #ifndef KIM_TIME_UNIT_HPP_ 32 #define KIM_TIME_UNIT_HPP_ 118 std::string
const &
ToString()
const;
203 #endif // KIM_TIME_UNIT_HPP_ void GetNumberOfTimeUnits(int *const numberOfTimeUnits)
Get the number of standard TimeUnit's defined by the KIM API.
bool operator==(TimeUnit const &rhs) const
Compares TimeUnit objects for equality.
TimeUnit()
Create an uninitialized TimeUnit object.
An Extensible Enumeration for the TimeUnit's supported by the KIM API.
std::string const & ToString() const
Converts the object to a string.
TimeUnit const ps
The standard picosecond unit of time.
TimeUnit const ns
The standard nanosecond unit of time.
TimeUnit const s
The standard second unit of time.
Structure provided for use with std::map.
TimeUnit const fs
The standard femtosecond unit of time.
bool Known() const
Determines if the object is a quantity known to the KIM API.
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...
bool operator!=(TimeUnit const &rhs) const
Compares TimeUnit objects for inequality.
int timeUnitID
Integer identifying the specific TimeUnit represented.
int GetTimeUnit(int const index, TimeUnit *const timeUnit)
Get the identity of each defined standard TimeUnit.
TimeUnit const unused
Indicates that a TimeUnit is not used.