Geant4  10.00.p02
xDataMisc.cc File Reference
#include <stdlib.h>
#include <string.h>
#include <ctype.h>
#include <unistd.h>
#include "xData.h"
+ Include dependency graph for xDataMisc.cc:

Go to the source code of this file.

Functions

void * xData_malloc (statusMessageReporting *smr, size_t size, int zero, const char *forItem, const char *file, int line)
 
void * xData_realloc (statusMessageReporting *smr, void *pOld, size_t size, const char *forItem, const char *file, int line)
 
void * xData_free (statusMessageReporting *, void *p)
 
char * xDataMisc_allocateCopyString (statusMessageReporting *smr, const char *s, const char *forItem, const char *file, int line)
 
char * xDataMisc_getAbsPath (statusMessageReporting *smr, const char *fileName)
 
int xData_setMessageError_ReturnInt (int value, statusMessageReporting *smr, void *userInterface, const char *packageName, int lineNumber, int code, const char *fmt,...)
 

Function Documentation

void* xData_free ( statusMessageReporting *  ,
void *  p 
)

Definition at line 89 of file xDataMisc.cc.

References free().

Referenced by _tpia_map_addEntry(), G4GIDI::dataFilename(), G4GIDI::freeTarget(), G4GIDI_Z_AMass(), G4GIDI::getAlreadyReadTarget(), G4GIDI::getNamesOfAvailableLibraries(), G4GIDI::isThisDataAvailable(), G4GIDI::readTarget(), release(), tpi_channelID_free(), tpi_spectralID_free(), tpi_spectralID_release(), tpia_angular_release(), tpia_angularEnergy_release(), tpia_channel_free(), tpia_channel_release(), tpia_depot_free(), tpia_depot_release(), tpia_Legendre_release(), tpia_map_free(), tpia_map_release(), tpia_misc_getEqualProbableBins(), tpia_multiplicity_free(), tpia_multiplicity_release(), tpia_particle_free(), tpia_particle_freeInternalList(), tpia_product_free(), tpia_product_release(), tpia_target_createRead(), tpia_target_createReadFromMap(), tpia_target_free(), tpia_target_heated_create(), tpia_target_heated_createRead(), tpia_target_heated_free(), tpia_target_heated_release(), tpia_target_release(), xData_1d_x_free_copyData(), xData_2d_xindex_y_free_rawIndices(), xData_2d_xindex_y_free_toFilledYs(), xData_2d_xShared_yHistogram_free_copyData(), xData_2d_xy_free_copyData(), xData_freeElementList(), xData_matrix_free_copyData(), xData_parseAddElementToRoot(), xData_parseFree(), xData_parseFreeElement(), xData_parseFreeElementItems(), xData_releaseAttributionList(), xData_setFileName(), and G4GIDI_target::~G4GIDI_target().

+ Here is the call graph for this function:

void* xData_malloc ( statusMessageReporting *  smr,
size_t  size,
int  zero,
const char *  forItem,
const char *  file,
int  line 
)

Definition at line 56 of file xDataMisc.cc.

References xData_realloc().

Referenced by xDataMisc_allocateCopyString().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void* xData_realloc ( statusMessageReporting *  smr,
void *  pOld,
size_t  size,
const char *  forItem,
const char *  file,
int  line 
)

Definition at line 75 of file xDataMisc.cc.

References realloc(), and smr_setMessageError().

Referenced by xData_malloc().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

int xData_setMessageError_ReturnInt ( int  value,
statusMessageReporting *  smr,
void *  userInterface,
const char *  packageName,
int  lineNumber,
int  code,
const char *  fmt,
  ... 
)

Definition at line 160 of file xDataMisc.cc.

References smr_setMessageError().

Referenced by toData().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

char* xDataMisc_allocateCopyString ( statusMessageReporting *  smr,
const char *  s,
const char *  forItem,
const char *  file,
int  line 
)

Definition at line 97 of file xDataMisc.cc.

References xData_malloc().

+ Here is the call graph for this function:

char* xDataMisc_getAbsPath ( statusMessageReporting *  smr,
const char *  fileName 
)

Definition at line 112 of file xDataMisc.cc.

References n, and smr_setMessageError().

Referenced by tpia_target_heated_read(), and tpia_target_read().

+ Here is the call graph for this function:

+ Here is the caller graph for this function: