kim-api
2.3.0+v2.3.0.GNU.GNU.
An Application Programming Interface (API) for the Knowledgebase of Interatomic Models (KIM).
|
Go to the source code of this file.
Classes | |
struct | KIM_DataType |
An Extensible Enumeration for the DataType's supported by the KIM API. More... | |
Typedefs | |
typedef struct KIM_DataType | KIM_DataType |
Convenience typedef. More... | |
Functions | |
KIM_DataType | KIM_DataType_FromString (char const *const str) |
Create a DataType object corresponding to the provided string. If the string does not match one of the values defined by the KIM API, then an "unknown" object is generated. More... | |
int | KIM_DataType_Known (KIM_DataType const dataType) |
Determines if the object is a quantity known to the KIM API. More... | |
int | KIM_DataType_Equal (KIM_DataType const lhs, KIM_DataType const rhs) |
Compares DataType objects for equality. More... | |
int | KIM_DataType_NotEqual (KIM_DataType const lhs, KIM_DataType const rhs) |
Compares DataType objects for inequality. More... | |
char const * | KIM_DataType_ToString (KIM_DataType const dataType) |
Converts the object to a string. More... | |
void | KIM_DATA_TYPE_GetNumberOfDataTypes (int *const numberOfDataTypes) |
Get the number of standard DataType's defined by the KIM API. More... | |
int | KIM_DATA_TYPE_GetDataType (int const index, KIM_DataType *const dataType) |
Get the identity of each defined standard DataType. More... | |
Variables | |
KIM_DataType const | KIM_DATA_TYPE_Integer |
The standard Integer data type. More... | |
KIM_DataType const | KIM_DATA_TYPE_Double |
The standard Double data type. More... | |
typedef struct KIM_DataType KIM_DataType |
int KIM_DATA_TYPE_GetDataType | ( | int const | index, |
KIM_DataType *const | dataType | ||
) |
Get the identity of each defined standard DataType.
void KIM_DATA_TYPE_GetNumberOfDataTypes | ( | int *const | numberOfDataTypes | ) |
Get the number of standard DataType's defined by the KIM API.
int KIM_DataType_Equal | ( | KIM_DataType const | lhs, |
KIM_DataType const | rhs | ||
) |
Compares DataType objects for equality.
KIM_DataType KIM_DataType_FromString | ( | char const *const | str | ) |
Create a DataType object corresponding to the provided string. If the string does not match one of the values defined by the KIM API, then an "unknown" object is generated.
int KIM_DataType_Known | ( | KIM_DataType const | dataType | ) |
Determines if the object is a quantity known to the KIM API.
int KIM_DataType_NotEqual | ( | KIM_DataType const | lhs, |
KIM_DataType const | rhs | ||
) |
Compares DataType objects for inequality.
char const* KIM_DataType_ToString | ( | KIM_DataType const | dataType | ) |
Converts the object to a string.
KIM_DataType const KIM_DATA_TYPE_Double |
The standard Double
data type.
KIM_DataType const KIM_DATA_TYPE_Integer |
The standard Integer
data type.