31 #ifndef KIM_TIME_UNIT_H_ 32 #define KIM_TIME_UNIT_H_ 53 #ifndef KIM_TIME_UNIT_DEFINED_ 54 #define KIM_TIME_UNIT_DEFINED_ int timeUnitID
Integer identifying the specific TimeUnit represented.
int KIM_TimeUnit_NotEqual(KIM_TimeUnit const lhs, KIM_TimeUnit const rhs)
Compares TimeUnit objects for inequality.
KIM_TimeUnit const KIM_TIME_UNIT_unused
Indicates that a TimeUnit is not used.
int KIM_TimeUnit_Equal(KIM_TimeUnit const lhs, KIM_TimeUnit const rhs)
Compares TimeUnit objects for equality.
int KIM_TIME_UNIT_GetTimeUnit(int const index, KIM_TimeUnit *const timeUnit)
Get the identity of each defined standard TimeUnit.
An Extensible Enumeration for the TimeUnit's supported by the KIM API.
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.
int KIM_TimeUnit_Known(KIM_TimeUnit const timeUnit)
Determines if the object is a quantity known to the KIM API.
void KIM_TIME_UNIT_GetNumberOfTimeUnits(int *const numberOfTimeUnits)
Get the number of standard TimeUnit's defined by the KIM API.
char const * KIM_TimeUnit_ToString(KIM_TimeUnit const timeUnit)
Converts the object to a string.
KIM_TimeUnit const KIM_TIME_UNIT_s
The standard second unit of time.
KIM_TimeUnit const KIM_TIME_UNIT_ns
The standard nanosecond unit of time.
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...