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_LanguageName |
An Extensible Enumeration for the LanguageName's supported by the KIM API. More... | |
Typedefs | |
typedef struct KIM_LanguageName | KIM_LanguageName |
Convenience typedef. More... | |
Functions | |
KIM_LanguageName | KIM_LanguageName_FromString (char const *const str) |
Create a LanguageName 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_LanguageName_Known (KIM_LanguageName const languageName) |
Determines if the object is a quantity known to the KIM API. More... | |
int | KIM_LanguageName_Equal (KIM_LanguageName const lhs, KIM_LanguageName const rhs) |
Compares LanguageName objects for equality. More... | |
int | KIM_LanguageName_NotEqual (KIM_LanguageName const lhs, KIM_LanguageName const rhs) |
Compares LanguageName objects for inequality. More... | |
char const * | KIM_LanguageName_ToString (KIM_LanguageName const languageName) |
Converts the object to a string. More... | |
void | KIM_LANGUAGE_NAME_GetNumberOfLanguageNames (int *const numberOfLanguageNames) |
Get the number of standard LanguageName's defined by the KIM API. More... | |
int | KIM_LANGUAGE_NAME_GetLanguageName (int const index, KIM_LanguageName *const languageName) |
Get the identity of each defined standard LanguageName. More... | |
Variables | |
KIM_LanguageName const | KIM_LANGUAGE_NAME_cpp |
The standard cpp language. More... | |
KIM_LanguageName const | KIM_LANGUAGE_NAME_c |
The standard c language. More... | |
KIM_LanguageName const | KIM_LANGUAGE_NAME_fortran |
The standard fortran language. More... | |
typedef struct KIM_LanguageName KIM_LanguageName |
int KIM_LANGUAGE_NAME_GetLanguageName | ( | int const | index, |
KIM_LanguageName *const | languageName | ||
) |
Get the identity of each defined standard LanguageName.
void KIM_LANGUAGE_NAME_GetNumberOfLanguageNames | ( | int *const | numberOfLanguageNames | ) |
Get the number of standard LanguageName's defined by the KIM API.
int KIM_LanguageName_Equal | ( | KIM_LanguageName const | lhs, |
KIM_LanguageName const | rhs | ||
) |
Compares LanguageName objects for equality.
KIM_LanguageName KIM_LanguageName_FromString | ( | char const *const | str | ) |
Create a LanguageName 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_LanguageName_Known | ( | KIM_LanguageName const | languageName | ) |
Determines if the object is a quantity known to the KIM API.
int KIM_LanguageName_NotEqual | ( | KIM_LanguageName const | lhs, |
KIM_LanguageName const | rhs | ||
) |
Compares LanguageName objects for inequality.
char const* KIM_LanguageName_ToString | ( | KIM_LanguageName const | languageName | ) |
Converts the object to a string.
KIM_LanguageName const KIM_LANGUAGE_NAME_c |
The standard c
language.
KIM_LanguageName const KIM_LANGUAGE_NAME_cpp |
The standard cpp
language.
KIM_LanguageName const KIM_LANGUAGE_NAME_fortran |
The standard fortran
language.