Geant4 9.6.0
Toolkit for the simulation of the passage of particles through matter
|
#include <stdio.h>
#include <stdarg.h>
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 } |
#define smr_maximumPackageNameSize 256 |
Definition at line 47 of file statusMessageReporting.h.
typedef int(* smr_userInterface) (void *userData, char **smr) |
Definition at line 49 of file statusMessageReporting.h.
typedef struct statusMessageReporting statusMessageReporting |
enum smr_status |
Enumerator | |
---|---|
smr_status_Ok | |
smr_status_Info | |
smr_status_Error | |
smr_status_Fatal |
Definition at line 48 of file statusMessageReporting.h.
char * smr_allocateFormatMessage | ( | const char * | fmt, |
... | |||
) |
Definition at line 121 of file statusMessageReporting.cc.
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.
Referenced by G4GIDI_map::G4GIDI_map(), G4GIDI_target::init(), and smr_release().
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.
Referenced by G4GIDI_map::G4GIDI_map(), G4GIDI_target::init(), tpia_angularEnergy_SampleEp(), tpia_channel_getFromElement(), tpia_decayChannel_sampleProductsAtE(), tpia_frame_setFromString(), tpia_map_findTarget(), tpia_map_readFile(), tpia_misc_pointerToAttributeIfAllOk(), tpia_miscNameToZAm(), tpia_particle_getInternalID(), tpia_product_getFromElement(), tpia_target_getEnergyGridAtTIndex(), tpia_target_getTotalCrossSectionAtTIndex(), tpia_target_heated_read(), tpia_target_read(), xData_parseEndOfXML(), xData_parseInitialize(), xData_parseReadFile(), and xData_parseString().
void smr_print | ( | statusMessageReporting * | smr, |
FILE * | f, | ||
int | clear | ||
) |
Definition at line 267 of file statusMessageReporting.cc.
Referenced by G4GIDI_map::G4GIDI_map(), and G4GIDI_target::init().
int smr_release | ( | statusMessageReporting * | smr | ) |
Definition at line 69 of file statusMessageReporting.cc.
Referenced by smr_print(), G4GIDI_map::~G4GIDI_map(), and G4GIDI_target::~G4GIDI_target().
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.
Referenced by getRowStartEndAtIndex(), tpia_decayChannel_sampleProductsAtE(), tpia_depot_addTargetFromMap(), tpia_frame_getColumn(), tpia_frame_setColumn(), tpia_frame_setFromString(), tpia_frame_toString(), tpia_map_readFile(), tpia_misc_pointerToAttributeIfAllOk(), tpia_misc_setMessageError_Element(), tpia_miscNameToZAm(), tpia_particleMass_AMU(), tpia_target_getHeatedTargetAtIndex_ReadIfNeeded(), tpia_target_getHeatedTargetAtTIndex(), tpia_target_getTotalCrossSectionAtTIndex(), tpia_target_heated_getChannelAtIndex_smr(), tpia_target_read(), tpia_target_readHeatedTarget(), xData_1d_x_copyData(), xData_convertAttributeTo_xData_Int(), xData_convertAttributeToDouble(), xData_getCommonData(), xData_getOneElementByTagName(), xData_is_xDataType(), xData_parseEndOfXML(), xData_parseInitialize(), xData_parseReadFile(), xData_realloc(), xData_setMessageError_ReturnInt(), xData_stringTo_double(), xData_stringTo_xData_Int(), xData_xDataTypeConvertAttributes(), and xDataMisc_getAbsPath().
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.
Referenced by tpia_map_findTarget(), and tpia_map_toXMLString().
char * smr_vallocateFormatMessage | ( | const char * | fmt, |
va_list * | args | ||
) |
Definition at line 134 of file statusMessageReporting.cc.
Referenced by smr_allocateFormatMessage(), and tpia_misc_setMessageError_Element().
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.
Referenced by tpia_misc_setMessageError_Element().
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.