kim-api 2.3.0+AppleClang.AppleClang.GNU
An Application Programming Interface (API) for the Knowledgebase of Interatomic Models (KIM).
|
#include "KIM_FunctionTypes.h"
Go to the source code of this file.
Typedefs | |
typedef struct KIM_LogVerbosity | KIM_LogVerbosity |
Forward declaration. More... | |
typedef struct KIM_LanguageName | KIM_LanguageName |
Forward declaration. More... | |
typedef struct KIM_Log | KIM_Log |
Provides the logging interface for the KIM API. More... | |
Functions | |
int | KIM_Log_Create (KIM_Log **const log) |
Create a new KIM API Log object. More... | |
void | KIM_Log_Destroy (KIM_Log **const log) |
Destroy a previously Log::Create'd object. More... | |
void | KIM_Log_PushDefaultVerbosity (KIM_LogVerbosity const logVerbosity) |
Push a new default LogVerbosity onto the KIM API global default verbosity stack. More... | |
void | KIM_Log_PopDefaultVerbosity () |
Pop a LogVerbosity from the KIM API global default verbosity stack. More... | |
void | KIM_Log_PushDefaultPrintFunction (KIM_LanguageName const languageName, KIM_Function *const fptr) |
Push a new default log PrintFunction onto the KIM API global default log PrintFunction stack. More... | |
void | KIM_Log_PopDefaultPrintFunction () |
Pop a log PrintFunction from the KIM API global default log PrintFunction stack. More... | |
char const * | KIM_Log_GetID (KIM_Log const *const log) |
Get the identity of the Log object. More... | |
void | KIM_Log_SetID (KIM_Log *const log, char const *const id) |
Set the identity of the Log object. More... | |
void | KIM_Log_PushVerbosity (KIM_Log *const log, KIM_LogVerbosity const logVerbosity) |
Push a new LogVerbosity onto the Log object's verbosity stack. More... | |
void | KIM_Log_PopVerbosity (KIM_Log *const log) |
Pop a LogVerbosity from the Log object's verbosity stack. More... | |
void | KIM_Log_LogEntry (KIM_Log const *const log, KIM_LogVerbosity const logVerbosity, char const *const message, int const lineNumber, char const *const fileName) |
Write a log entry into the log file. More... | |
typedef struct KIM_LanguageName KIM_LanguageName |
Provides the logging interface for the KIM API.
typedef struct KIM_LogVerbosity KIM_LogVerbosity |
int KIM_Log_Create | ( | KIM_Log **const | log | ) |
void KIM_Log_Destroy | ( | KIM_Log **const | log | ) |
Destroy a previously Log::Create'd object.
char const * KIM_Log_GetID | ( | KIM_Log const *const | log | ) |
void KIM_Log_LogEntry | ( | KIM_Log const *const | log, |
KIM_LogVerbosity const | logVerbosity, | ||
char const *const | message, | ||
int const | lineNumber, | ||
char const *const | fileName | ||
) |
Write a log entry into the log file.
void KIM_Log_PopDefaultPrintFunction | ( | ) |
Pop a log PrintFunction from the KIM API global default log PrintFunction stack.
void KIM_Log_PopDefaultVerbosity | ( | ) |
Pop a LogVerbosity from the KIM API global default verbosity stack.
void KIM_Log_PopVerbosity | ( | KIM_Log *const | log | ) |
Pop a LogVerbosity from the Log object's verbosity stack.
void KIM_Log_PushDefaultPrintFunction | ( | KIM_LanguageName const | languageName, |
KIM_Function *const | fptr | ||
) |
Push a new default log PrintFunction onto the KIM API global default log PrintFunction stack.
void KIM_Log_PushDefaultVerbosity | ( | KIM_LogVerbosity const | logVerbosity | ) |
Push a new default LogVerbosity onto the KIM API global default verbosity stack.
void KIM_Log_PushVerbosity | ( | KIM_Log *const | log, |
KIM_LogVerbosity const | logVerbosity | ||
) |
Push a new LogVerbosity onto the Log object's verbosity stack.
void KIM_Log_SetID | ( | KIM_Log *const | log, |
char const *const | id | ||
) |