Contains the enumeration constants and the discovery routines for the TimeUnit Extensible Enumeration.
More...
Contains the enumeration constants and the discovery routines for the TimeUnit Extensible Enumeration.
◆ GetNumberOfTimeUnits()
void KIM::TIME_UNIT::GetNumberOfTimeUnits |
( |
int *const | numberOfTimeUnits | ) |
|
◆ GetTimeUnit()
int KIM::TIME_UNIT::GetTimeUnit |
( |
int const | index, |
|
|
TimeUnit *const | timeUnit ) |
Get the identity of each defined standard TimeUnit.
- Parameters
-
[in] | index | Zero-based index uniquely labeling each defined standard TimeUnitnit. This index ordering is only guaranteed to be stable during the lifetime of the current process. |
[out] | timeUnit | The TimeUnit object associated with index . |
- Returns
true
if index < 0
or index >= numberOfTimeUnits
.
-
false
otherwise.
- See also
- KIM_TIME_UNIT_GetTimeUnit, kim_time_unit_module::kim_get_time_unit
- Since
- 2.0
◆ fs
◆ ns
◆ ps
◆ unused