Geant4  9.6.p02
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Classes | Macros | Typedefs | Enumerations | Functions
statusMessageReporting.h File Reference
#include <stdio.h>
#include <stdarg.h>
Include dependency graph for statusMessageReporting.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  statusMessageReporting
 

Macros

#define smr_maximumPackageNameSize   256
 

Typedefs

typedef int(* smr_userInterface )(void *userData, char **smr)
 
typedef struct
statusMessageReporting 
statusMessageReporting
 

Enumerations

enum  smr_status { smr_status_Ok, smr_status_Info, smr_status_Error, smr_status_Fatal }
 

Functions

int smr_initialize (statusMessageReporting *smr)
 
int smr_release (statusMessageReporting *smr)
 
int smr_setMessageInfo (statusMessageReporting *smr, void *userInterface, const char *file, int line, int code, const char *fmt,...)
 
int smr_vsetMessageInfo (statusMessageReporting *smr, void *userInterface, const char *file, int line, int code, const char *fmt, va_list *args)
 
int smr_setMessageError (statusMessageReporting *smr, void *userInterface, const char *file, int line, int code, const char *fmt,...)
 
int smr_vsetMessageError (statusMessageReporting *smr, void *userInterface, const char *file, int line, int code, const char *fmt, va_list *args)
 
char * smr_allocateFormatMessage (const char *fmt,...)
 
char * smr_vallocateFormatMessage (const char *fmt, va_list *args)
 
int smr_isOk (statusMessageReporting *smr)
 
int smr_isInfo (statusMessageReporting *smr)
 
int smr_isError (statusMessageReporting *smr)
 
int smr_isFatal (statusMessageReporting *smr)
 
const char * smr_getMessage (statusMessageReporting *smr)
 
char * smr_getFullMessage (statusMessageReporting *smr)
 
void smr_print (statusMessageReporting *smr, FILE *f, int clear)
 

Macro Definition Documentation

#define smr_maximumPackageNameSize   256

Definition at line 47 of file statusMessageReporting.h.

Typedef Documentation

typedef int(* smr_userInterface)(void *userData, char **smr)

Definition at line 49 of file statusMessageReporting.h.

Enumeration Type Documentation

enum smr_status
Enumerator
smr_status_Ok 
smr_status_Info 
smr_status_Error 
smr_status_Fatal 

Definition at line 48 of file statusMessageReporting.h.

Function Documentation

char* smr_allocateFormatMessage ( const char *  fmt,
  ... 
)

Definition at line 121 of file statusMessageReporting.cc.

Here is the call graph for this function:

char* smr_getFullMessage ( statusMessageReporting smr)

Definition at line 247 of file statusMessageReporting.cc.

const char* smr_getMessage ( statusMessageReporting smr)

Definition at line 240 of file statusMessageReporting.cc.

int smr_initialize ( statusMessageReporting smr)

Definition at line 57 of file statusMessageReporting.cc.

Here is the caller graph for this function:

int smr_isError ( statusMessageReporting smr)

Definition at line 224 of file statusMessageReporting.cc.

int smr_isFatal ( statusMessageReporting smr)

Definition at line 232 of file statusMessageReporting.cc.

int smr_isInfo ( statusMessageReporting smr)

Definition at line 216 of file statusMessageReporting.cc.

int smr_isOk ( statusMessageReporting smr)

Definition at line 208 of file statusMessageReporting.cc.

Here is the caller graph for this function:

void smr_print ( statusMessageReporting smr,
FILE *  f,
int  clear 
)

Definition at line 267 of file statusMessageReporting.cc.

Here is the call graph for this function:

Here is the caller graph for this function:

int smr_release ( statusMessageReporting smr)

Definition at line 69 of file statusMessageReporting.cc.

Here is the call graph for this function:

Here is the caller graph for this function:

int smr_setMessageError ( statusMessageReporting smr,
void userInterface,
const char *  file,
int  line,
int  code,
const char *  fmt,
  ... 
)

Definition at line 100 of file statusMessageReporting.cc.

Here is the caller graph for this function:

int smr_setMessageInfo ( statusMessageReporting smr,
void userInterface,
const char *  file,
int  line,
int  code,
const char *  fmt,
  ... 
)

Definition at line 79 of file statusMessageReporting.cc.

Here is the caller graph for this function:

char* smr_vallocateFormatMessage ( const char *  fmt,
va_list *  args 
)

Definition at line 134 of file statusMessageReporting.cc.

Here is the caller graph for this function:

int smr_vsetMessageError ( statusMessageReporting smr,
void userInterface,
const char *  file,
int  line,
int  code,
const char *  fmt,
va_list *  args 
)

Definition at line 113 of file statusMessageReporting.cc.

Here is the caller graph for this function:

int smr_vsetMessageInfo ( statusMessageReporting smr,
void userInterface,
const char *  file,
int  line,
int  code,
const char *  fmt,
va_list *  args 
)

Definition at line 92 of file statusMessageReporting.cc.