Geant4  10.01.p03
xData_1d_x.cc File Reference
#include <stdlib.h>
#include <limits.h>
#include <ctype.h>
#include "xData.h"
+ Include dependency graph for xData_1d_x.cc:

Go to the source code of this file.

Functions

static int toData (statusMessageReporting *smr, xDataType *xDT, xData_attributionList *attributes, const char *text)
 
static char * toString (statusMessageReporting *smr, xDataType *xDT)
 
static int release (statusMessageReporting *smr, xDataType *xDT)
 
int xData_init_1d_x (statusMessageReporting *smr, xData_element *element)
 
int xData_is_1d_x (statusMessageReporting *smr, xDataType *xDT, int setMsg)
 
int xData_isElement_1d_x (statusMessageReporting *smr, xData_element *element, int setMsg)
 
int xData_1d_x_copyData (statusMessageReporting *smr, xData_element *element, xData_Int nAllocatedBytes, double *d)
 
double * xData_1d_x_allocateCopyData (statusMessageReporting *smr, xData_element *element)
 
int xData_1d_x_free_copyData (statusMessageReporting *smr, void *data)
 

Function Documentation

static int release ( statusMessageReporting *  smr,
xDataType *  xDT 
)
static

Definition at line 179 of file xData_1d_x.cc.

References xData_free().

Referenced by G4GDMLReadStructure::AssemblyRead(), G4GDMLErrorHandler::error(), toData(), G4GDMLRead::Transcode(), G03ColorReader::VolumeRead(), G4GDMLReadStructure::VolumeRead(), G4GDMLErrorHandler::warning(), G4GDMLWrite::Write(), and xData_init_1d_x().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

static int toData ( statusMessageReporting *  smr,
xDataType *  xDT,
xData_attributionList *  attributes,
const char *  text 
)
static

Definition at line 131 of file xData_1d_x.cc.

References n, release(), s, smr_setMessageError(), xData_get_smrUserInterfaceFromElement(), xData_setMessageError_ReturnInt(), and xData_stringTo_double().

Referenced by xData_init_1d_x().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

static char * toString ( statusMessageReporting *  smr,
xDataType *  xDT 
)
static

Definition at line 161 of file xData_1d_x.cc.

References n.

Referenced by xData_init_1d_x().

+ Here is the caller graph for this function:

double* xData_1d_x_allocateCopyData ( statusMessageReporting *  smr,
xData_element *  element 
)

Definition at line 105 of file xData_1d_x.cc.

References n, and xData_isElement_1d_x().

Referenced by _tpia_target_heated_getEnergyGridAndAllocateTotalCrossSections().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

int xData_1d_x_copyData ( statusMessageReporting *  smr,
xData_element *  element,
xData_Int  nAllocatedBytes,
double *  d 
)

Definition at line 84 of file xData_1d_x.cc.

References n, smr_setMessageError(), xData_get_smrUserInterfaceFromElement(), and xData_isElement_1d_x().

Referenced by tpia_misc_getEqualProbableBins().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

int xData_1d_x_free_copyData ( statusMessageReporting *  smr,
void *  data 
)

Definition at line 122 of file xData_1d_x.cc.

References xData_free().

+ Here is the call graph for this function:

int xData_init_1d_x ( statusMessageReporting *  smr,
xData_element *  element 
)

Definition at line 54 of file xData_1d_x.cc.

References release(), toData(), toString(), and xData_xDataTypeConvertAttributes().

Referenced by xData_parseEndElement().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

int xData_is_1d_x ( statusMessageReporting *  smr,
xDataType *  xDT,
int  setMsg 
)

Definition at line 70 of file xData_1d_x.cc.

References xData_is_xDataType().

Referenced by xData_isElement_1d_x().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

int xData_isElement_1d_x ( statusMessageReporting *  smr,
xData_element *  element,
int  setMsg 
)

Definition at line 77 of file xData_1d_x.cc.

References xData_is_1d_x().

Referenced by xData_1d_x_allocateCopyData(), and xData_1d_x_copyData().

+ Here is the call graph for this function:

+ Here is the caller graph for this function: