Geant4  10.01.p03
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_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 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: