39 #if defined __cplusplus
88 for( targetEntry = depot->
targets; targetEntry != NULL; targetEntry = next ) {
89 next = targetEntry->
next;
97 return( depot->
status = 0 );
148 return( targetEntry->
next );
167 smr_setMessageError( smr, NULL, __FILE__, __LINE__, 1,
"depot already contains target = %s ", targetName );
175 #if defined __cplusplus
int tpia_depot_setMapFromFilename(statusMessageReporting *smr, tpia_depot *depot, const char *basePath, const char *mapFileName)
tpia_depot * tpia_depot_create(statusMessageReporting *smr, const char *projectileName)
tpia_target * tpia_target_free(statusMessageReporting *smr, tpia_target *target)
tpia_map * tpia_map_readFile(statusMessageReporting *smr, const char *basePath, const char *mapFileName)
int smr_setMessageError(statusMessageReporting *smr, void *userInterface, const char *file, int line, int code, const char *fmt,...)
#define xData_malloc2(smr, size, zero, forItem)
void * xData_free(statusMessageReporting *smr, void *p)
tpia_targetEntry * tpia_depot_getNextTargetEntry(tpia_targetEntry *targetEntry)
tpia_targetEntry * targets
int tpia_depot_freeMap(tpia_depot *depot)
int tpia_depot_setMap(statusMessageReporting *smr, tpia_depot *depot, tpia_map *map)
tpia_targetEntry * tpia_depot_getFirstTargetEntry(tpia_depot *depot)
void * tpia_map_free(statusMessageReporting *smr, tpia_map *map)
tpia_depot * tpia_depot_free(tpia_depot *depot, int freeMap)
int tpia_depot_initialize(statusMessageReporting *smr, tpia_depot *depot, const char *projectileName)
tpia_target * tpia_depot_addTarget(statusMessageReporting *smr, tpia_depot *depot, const char *evaluation, const char *targetName)
int tpia_depot_release(tpia_depot *depot, int freeMap)
tpia_target * tpia_depot_addTargetFromMap(statusMessageReporting *smr, tpia_depot *depot, tpia_map *map, const char *evaluation, const char *targetName)
tpia_target * tpia_target_createReadFromMap(statusMessageReporting *smr, tpia_map *map, const char *evaluation, const char *projectileName, const char *targetName)
tpia_map * tpia_depot_releaseMap(tpia_depot *depot)