Geant4.10
|
Go to the source code of this file.
int tpia_map_addPath | ( | statusMessageReporting * | smr, |
tpia_map * | map, | ||
const char * | path, | ||
const char * | projectile | ||
) |
Definition at line 236 of file tpia_map.cc.
References tpia_mapEntry_s::map, tpia_mapEntry_s::path, tpia_map_s::path, tpia_map_readFile(), and tpia_mapEntry_type_path.
Referenced by tpia_map_readFile().
int tpia_map_addTarget | ( | statusMessageReporting * | smr, |
tpia_map * | map, | ||
const char * | schema, | ||
const char * | path, | ||
const char * | evaluation, | ||
const char * | projectile, | ||
const char * | target | ||
) |
Definition at line 229 of file tpia_map.cc.
References tpia_mapEntry_type_target.
Referenced by tpia_map_readFile().
tpia_map* tpia_map_create | ( | statusMessageReporting * | smr | ) |
Definition at line 59 of file tpia_map.cc.
References tpia_map_free(), tpia_map_initialize(), and xData_malloc2.
Referenced by tpia_map_findAllOfTarget(), and tpia_map_readFile().
tpia_map* tpia_map_findAllOfTarget | ( | statusMessageReporting * | smr, |
tpia_map * | map, | ||
const char * | projectile, | ||
const char * | targetName | ||
) |
Definition at line 393 of file tpia_map.cc.
References status, tpia_map_s::status, tpia_map_create(), tpia_map_free(), and tpia_map_status_Ok.
Referenced by G4GIDI::getNamesOfAvailableLibraries().
char* tpia_map_findTarget | ( | statusMessageReporting * | smr, |
tpia_map * | map, | ||
const char * | evaluation, | ||
const char * | projectile, | ||
const char * | targetName | ||
) |
Definition at line 327 of file tpia_map.cc.
References smr_isOk(), smr_setMessageInfo(), tpia_map_s::smrUserInterface, tpia_map_s::status, and tpia_map_status_Ok.
Referenced by G4GIDI::dataFilename(), tpia_target_createReadFromMap(), and tpia_target_readFromMap().
void* tpia_map_free | ( | statusMessageReporting * | smr, |
tpia_map * | map | ||
) |
Definition at line 184 of file tpia_map.cc.
References tpia_map_release(), and xData_free().
Referenced by G4GIDI::getNamesOfAvailableLibraries(), tpia_depot_freeMap(), tpia_depot_release(), tpia_map_create(), tpia_map_findAllOfTarget(), tpia_map_readFile(), tpia_map_release(), and G4GIDI_map::~G4GIDI_map().
tpia_mapEntry* tpia_map_getFirstEntry | ( | tpia_map * | map | ) |
Definition at line 215 of file tpia_map.cc.
References tpia_map_s::mapEntries.
Referenced by G4GIDI::getNamesOfAvailableLibraries().
char* tpia_map_getFullPath | ( | statusMessageReporting * | smr, |
tpia_map * | map, | ||
const char * | endPath | ||
) |
Definition at line 437 of file tpia_map.cc.
References tpia_map_s::path, and xData_malloc2.
tpia_mapEntry* tpia_map_getNextEntry | ( | tpia_mapEntry * | entry | ) |
Definition at line 222 of file tpia_map.cc.
References tpia_mapEntry_s::next.
Referenced by G4GIDI::getNamesOfAvailableLibraries().
int tpia_map_initialize | ( | statusMessageReporting * | , |
tpia_map * | map | ||
) |
Definition at line 73 of file tpia_map.cc.
References tpia_map_smr_s::map, tpia_map_s::mapEntries, tpia_map_s::mapFileName, tpia_map_s::numberOfEntries, tpia_map_s::path, tpia_map_smr_s::smrUserInterface, tpia_map_s::smrUserInterface, tpia_map_s::status, and tpia_map_status_Ok.
Referenced by tpia_map_create().
tpia_map* tpia_map_readFile | ( | statusMessageReporting * | smr, |
const char * | basePath, | ||
const char * | mapFileName | ||
) |
Definition at line 88 of file tpia_map.cc.
References tpia_map_s::mapFileName, n, xData_element_s::name, tpia_map_s::path, smr_isOk(), smr_setMessageError(), tpia_map_s::smrUserInterface, tpia_map_addPath(), tpia_map_addTarget(), tpia_map_create(), tpia_map_free(), tpia_map_status_mapParsing, xData_getAttributesValueInElement(), xData_getDocumentsElement(), xData_getFirstElement(), xData_getNextElement(), xData_malloc2, xData_parseFree(), and xData_parseReadFile().
Referenced by G4GIDI_map::G4GIDI_map(), tpia_depot_setMapFromFilename(), and tpia_map_addPath().
void tpia_map_release | ( | statusMessageReporting * | smr, |
tpia_map * | map | ||
) |
Definition at line 193 of file tpia_map.cc.
References tpia_mapEntry_s::evaluation, tpia_mapEntry_s::map, tpia_map_s::mapEntries, tpia_mapEntry_s::next, tpia_map_s::numberOfEntries, tpia_mapEntry_s::path, tpia_map_s::path, tpia_mapEntry_s::projectile, tpia_mapEntry_s::schema, tpia_map_s::status, tpia_mapEntry_s::targetName, tpia_map_free(), tpia_map_status_Ok, and xData_free().
Referenced by tpia_map_free().
Definition at line 527 of file tpia_map.cc.
char* tpia_map_toXMLString | ( | statusMessageReporting * | smr, |
tpia_map * | map | ||
) |
Definition at line 478 of file tpia_map.cc.
References tpia_mapEntry_s::evaluation, tpia_map_s::mapEntries, tpia_mapEntry_s::next, tpia_mapEntry_s::path, tpia_mapEntry_s::projectile, tpia_mapEntry_s::schema, smr_setMessageInfo(), tpia_map_s::smrUserInterface, tpia_map_s::status, tpia_mapEntry_s::targetName, tpia_map_status_Ok, tpia_map_status_UnknownType, tpia_mapEntry_type_path, tpia_mapEntry_type_target, tpia_mapEntry_s::type, and xData_malloc2.
int tpia_map_walkTree | ( | statusMessageReporting * | smr, |
tpia_map * | map, | ||
int(*)(tpia_mapEntry *entry, int level, void *userData) | handler, | ||
void * | userData | ||
) |