Geant4  10.01.p02
tpia_depot.cc File Reference
#include <string.h>
#include <tpia_depot.h>
+ Include dependency graph for tpia_depot.cc:

Go to the source code of this file.

Functions

tpia_depot * tpia_depot_create (statusMessageReporting *smr, const char *projectileName)
 
int tpia_depot_initialize (statusMessageReporting *smr, tpia_depot *depot, const char *projectileName)
 
tpia_depot * tpia_depot_free (tpia_depot *depot, int freeMap)
 
int tpia_depot_release (tpia_depot *depot, int freeMap)
 
int tpia_depot_setMap (statusMessageReporting *, tpia_depot *depot, tpia_map *map)
 
int tpia_depot_setMapFromFilename (statusMessageReporting *smr, tpia_depot *depot, const char *basePath, const char *mapFileName)
 
tpia_map * tpia_depot_releaseMap (tpia_depot *depot)
 
int tpia_depot_freeMap (tpia_depot *depot)
 
tpia_targetEntry * tpia_depot_getFirstTargetEntry (tpia_depot *depot)
 
tpia_targetEntry * tpia_depot_getNextTargetEntry (tpia_targetEntry *targetEntry)
 
tpia_target * tpia_depot_addTarget (statusMessageReporting *smr, tpia_depot *depot, const char *evaluation, const char *targetName)
 
tpia_target * tpia_depot_addTargetFromMap (statusMessageReporting *smr, tpia_depot *depot, tpia_map *map, const char *evaluation, const char *targetName)
 

Function Documentation

tpia_target* tpia_depot_addTarget ( statusMessageReporting *  smr,
tpia_depot *  depot,
const char *  evaluation,
const char *  targetName 
)

Definition at line 153 of file tpia_depot.cc.

References tpia_depot_addTargetFromMap().

+ Here is the call graph for this function:

tpia_target* tpia_depot_addTargetFromMap ( statusMessageReporting *  smr,
tpia_depot *  depot,
tpia_map *  map,
const char *  evaluation,
const char *  targetName 
)

Definition at line 160 of file tpia_depot.cc.

References smr_setMessageError(), tpia_depot_getFirstTargetEntry(), tpia_depot_getNextTargetEntry(), and tpia_target_createReadFromMap().

Referenced by tpia_depot_addTarget().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

tpia_depot* tpia_depot_create ( statusMessageReporting *  smr,
const char *  projectileName 
)

Definition at line 47 of file tpia_depot.cc.

References tpia_depot_free(), and tpia_depot_initialize().

+ Here is the call graph for this function:

tpia_depot* tpia_depot_free ( tpia_depot *  depot,
int  freeMap 
)

Definition at line 74 of file tpia_depot.cc.

References tpia_depot_release(), and xData_free().

Referenced by tpia_depot_create().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

int tpia_depot_freeMap ( tpia_depot *  depot)

Definition at line 129 of file tpia_depot.cc.

References tpia_depot_releaseMap(), and tpia_map_free().

+ Here is the call graph for this function:

tpia_targetEntry* tpia_depot_getFirstTargetEntry ( tpia_depot *  depot)

Definition at line 139 of file tpia_depot.cc.

Referenced by tpia_depot_addTargetFromMap().

+ Here is the caller graph for this function:

tpia_targetEntry* tpia_depot_getNextTargetEntry ( tpia_targetEntry *  targetEntry)

Definition at line 146 of file tpia_depot.cc.

Referenced by tpia_depot_addTargetFromMap().

+ Here is the caller graph for this function:

int tpia_depot_initialize ( statusMessageReporting *  smr,
tpia_depot *  depot,
const char *  projectileName 
)

Definition at line 59 of file tpia_depot.cc.

Referenced by tpia_depot_create().

+ Here is the caller graph for this function:

int tpia_depot_release ( tpia_depot *  depot,
int  freeMap 
)

Definition at line 83 of file tpia_depot.cc.

References tpia_map_free(), tpia_target_free(), and xData_free().

Referenced by tpia_depot_free().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

tpia_map* tpia_depot_releaseMap ( tpia_depot *  depot)

Definition at line 119 of file tpia_depot.cc.

Referenced by tpia_depot_freeMap().

+ Here is the caller graph for this function:

int tpia_depot_setMap ( statusMessageReporting *  ,
tpia_depot *  depot,
tpia_map *  map 
)

Definition at line 103 of file tpia_depot.cc.

int tpia_depot_setMapFromFilename ( statusMessageReporting *  smr,
tpia_depot *  depot,
const char *  basePath,
const char *  mapFileName 
)

Definition at line 111 of file tpia_depot.cc.

References tpia_map_readFile().

+ Here is the call graph for this function: