|
Geant4.10
|
Go to the source code of this file.
Macros | |
| #define | tpia_misc_pointerToAttributeIfAllOk2(smr, element, required, attributes, name) tpia_misc_pointerToAttributeIfAllOk( smr, element, NULL, required, attributes, name, __FILE__, __LINE__ ) |
| #define | tpia_misc_pointerToAttributeIfAllOk3(smr, path, required, attributes, name) tpia_misc_pointerToAttributeIfAllOk( smr, NULL, path, required, attributes, name, __FILE__, __LINE__ ) |
Functions | |
| char * | tpia_misc_pointerToAttributeIfAllOk (statusMessageReporting *smr, xData_element *element, const char *path, int required, xData_attributionList *attributes, const char *name, const char *file, int line) |
| int | tpia_misc_setMessageError_Element (statusMessageReporting *smr, void *userInterface, xData_element *element, const char *file, int line, int code, const char *fmt,...) |
| xData_Int | tpia_misc_binarySearch (xData_Int n, double *ds, double d) |
| tpia_EqualProbableBinSpectrum * | tpia_misc_getEqualProbableBin (statusMessageReporting *smr, xData_element *parent, xData_Int *n, xData_Int *nBins) |
| tpia_EqualProbableBinSpectrum * | tpia_misc_getEqualProbableBins (statusMessageReporting *smr, xData_element *parent, const char *name, xData_Int nBins, xData_Int *n) |
| #define tpia_misc_pointerToAttributeIfAllOk2 | ( | smr, | |
| element, | |||
| required, | |||
| attributes, | |||
| name | |||
| ) | tpia_misc_pointerToAttributeIfAllOk( smr, element, NULL, required, attributes, name, __FILE__, __LINE__ ) |
Definition at line 42 of file tpia_misc.h.
Referenced by tpia_channel_getFromElement(), tpia_product_getFromElement(), and tpia_target_read().
| #define tpia_misc_pointerToAttributeIfAllOk3 | ( | smr, | |
| path, | |||
| required, | |||
| attributes, | |||
| name | |||
| ) | tpia_misc_pointerToAttributeIfAllOk( smr, NULL, path, required, attributes, name, __FILE__, __LINE__ ) |
Definition at line 44 of file tpia_misc.h.
Referenced by tpia_target_heated_read().
| tpia_EqualProbableBinSpectrum* tpia_misc_getEqualProbableBin | ( | statusMessageReporting * | smr, |
| xData_element * | parent, | ||
| xData_Int * | n, | ||
| xData_Int * | nBins | ||
| ) |
Definition at line 317 of file tpia_misc.cc.
References tpia_misc_getEqualProbableBins(), tpia_misc_setMessageError_Element(), xData_addToAccessed(), xData_convertAttributeTo_xData_Int(), and xData_getOneElementByTagName().
Referenced by tpia_angular_getFromElement().
| tpia_EqualProbableBinSpectrum* tpia_misc_getEqualProbableBins | ( | statusMessageReporting * | smr, |
| xData_element * | parent, | ||
| const char * | name, | ||
| xData_Int | nBins, | ||
| xData_Int * | n | ||
| ) |
Definition at line 333 of file tpia_misc.cc.
References xData_elementListItem_s::element, xData_elementList_s::items, xData_elementList_s::n, tpia_misc_setMessageError_Element(), xData_1d_x_copyData(), xData_addToAccessed(), xData_convertAttributeTo_xData_Int(), xData_convertAttributeToDouble(), xData_free(), xData_freeElementList(), xData_getElements_xDataElement(), xData_getElementsByTagNameAndSort(), and xData_malloc2.
Referenced by tpia_angularEnergy_getFromElement(), and tpia_misc_getEqualProbableBin().
| char* tpia_misc_pointerToAttributeIfAllOk | ( | statusMessageReporting * | smr, |
| xData_element * | element, | ||
| const char * | path, | ||
| int | required, | ||
| xData_attributionList * | attributes, | ||
| const char * | name, | ||
| const char * | file, | ||
| int | line | ||
| ) |
Definition at line 163 of file tpia_misc.cc.
| int tpia_misc_setMessageError_Element | ( | statusMessageReporting * | smr, |
| void * | userInterface, | ||
| xData_element * | element, | ||
| const char * | file, | ||
| int | line, | ||
| int | code, | ||
| const char * | fmt, | ||
| ... | |||
| ) |
Definition at line 183 of file tpia_misc.cc.
References xData_docInfo_s::column, xData_element_s::docInfo, free(), xData_element_s::fullName, xData_docInfo_s::line, smr_setMessageError(), smr_vallocateFormatMessage(), smr_vsetMessageError(), and status.
Referenced by tpia_angularEnergy_getFromElement(), tpia_frame_setFromElement(), tpia_Legendre_getFromElement(), tpia_misc_getEqualProbableBin(), tpia_misc_getEqualProbableBins(), tpia_misc_pointerToAttributeIfAllOk(), tpia_multiplicity_getFromElement(), tpia_multiplicity_getTimeScaleFromElement(), tpia_product_getFromElement(), tpia_target_heated_read(), and tpia_target_read().
1.8.7