36 #ifndef KIM_TIME_UNIT_H_ 37 #define KIM_TIME_UNIT_H_ 58 #ifndef KIM_TIME_UNIT_DEFINED_ 59 #define KIM_TIME_UNIT_DEFINED_ void KIM_TIME_UNIT_GetNumberOfTimeUnits(int *const numberOfTimeUnits)
Get the number of standard TimeUnit's defined by the KIM API.
int timeUnitID
Integer identifying the specific TimeUnit represented.
An Extensible Enumeration for the TimeUnit's supported by the KIM API.
int KIM_TimeUnit_NotEqual(KIM_TimeUnit const lhs, KIM_TimeUnit const rhs)
Compares TimeUnit objects for inequality.
KIM_TimeUnit KIM_TimeUnit_FromString(char const *const str)
Create a TimeUnit object corresponding to the provided string. If the string does not match one of th...
char const * KIM_TimeUnit_ToString(KIM_TimeUnit const timeUnit)
Converts the object to a string.
KIM_TimeUnit const KIM_TIME_UNIT_ps
The standard picosecond unit of time.
KIM_TimeUnit const KIM_TIME_UNIT_fs
The standard femtosecond unit of time.
KIM_TimeUnit const KIM_TIME_UNIT_ns
The standard nanosecond unit of time.
int KIM_TIME_UNIT_GetTimeUnit(int const index, KIM_TimeUnit *const timeUnit)
Get the identity of each defined standard TimeUnit.
int KIM_TimeUnit_Equal(KIM_TimeUnit const lhs, KIM_TimeUnit const rhs)
Compares TimeUnit objects for equality.
KIM_TimeUnit const KIM_TIME_UNIT_unused
Indicates that a TimeUnit is not used.
KIM_TimeUnit const KIM_TIME_UNIT_s
The standard second unit of time.
int KIM_TimeUnit_Known(KIM_TimeUnit const timeUnit)
Determines if the object is a quantity known to the KIM API.