Geant4  v4-10.4-release
 모두 클래스 네임스페이스들 파일들 함수 변수 타입정의 열거형 타입 열거형 멤버 Friends 매크로 그룹들 페이지들
MCGIDI_map.h
이 파일의 문서화 페이지로 가기
1 /*
2 # <<BEGIN-copyright>>
3 # <<END-copyright>>
4 */
5 #ifndef MCGIDI_map_h_included
6 #define MCGIDI_map_h_included
7 
9 
10 #if defined __cplusplus
11  extern "C" {
12  namespace GIDI {
13 #endif
14 
18 
19 typedef struct MCGIDI_map_s MCGIDI_map;
22 
26 };
27 
32  char *schema;
33  char *path;
34  char *evaluation;
35  char *projectile;
36  char *targetName;
37  int globalPoPsIndexProjectile, globalPoPsIndexTarget;
39 };
40 
41 struct MCGIDI_map_s {
42  enum MCGIDI_map_status status;
44  char *path;
45  char *mapFileName;
48 };
49 
52 MCGIDI_map *MCGIDI_map_readFile( statusMessageReporting *smr, const char *basePath, const char *mapFileName );
57 int MCGIDI_map_addTarget( statusMessageReporting *smr, MCGIDI_map *map, const char *method, const char *path, const char *evaluation, const char *projectile, const char *targetName );
58 int MCGIDI_map_addPath( statusMessageReporting *smr, MCGIDI_map *map, const char *path );
59 char *MCGIDI_map_findTargetViaPoPIDs( statusMessageReporting *smr, MCGIDI_map *map, const char *evaluation, int projectile_PoPID, int target_PoPID );
60 char *MCGIDI_map_findTarget( statusMessageReporting *smr, MCGIDI_map *map, const char *evaluation, const char *projectile, const char *targetName );
61 MCGIDI_map *MCGIDI_map_findAllOfTargetViaPoPIDs( statusMessageReporting *smr, MCGIDI_map *map, int projectile_PoPID, int target_PoPID );
62 MCGIDI_map *MCGIDI_map_findAllOfTarget( statusMessageReporting *smr, MCGIDI_map *map, const char *projectile, const char *targetName );
63 char *MCGIDI_map_getFullPath( statusMessageReporting *smr, MCGIDI_map *map, const char *endPath );
65 int MCGIDI_map_walkTree( statusMessageReporting *smr, MCGIDI_map *map, int (*handler)( MCGIDI_mapEntry *entry, int level, void *userData), void *userData );
67 void MCGIDI_map_simpleWrite( FILE *f, MCGIDI_map *map );
68 
69 #if defined __cplusplus
70  }
71  }
72 #endif
73 
74 #endif /* End of MCGIDI_map_h_included. */
MCGIDI_mapEntry * mapEntries
Definition: MCGIDI_map.h:47
const XML_Char * target
Definition: expat.h:268
MCGIDI_mapEntry * next
Definition: MCGIDI_map.h:29
int globalPoPsIndexTarget
Definition: MCGIDI_map.h:37
MCGIDI_map * MCGIDI_map_findAllOfTargetViaPoPIDs(statusMessageReporting *smr, MCGIDI_map *map, int projectile_PoPID, int target_PoPID)
Definition: MCGIDI_map.cc:387
void MCGIDI_map_simpleWrite(FILE *f, MCGIDI_map *map)
Definition: MCGIDI_map.cc:550
MCGIDI_map * parent
Definition: MCGIDI_map.h:31
#define userData
Definition: xmlparse.cc:572
MCGIDI_map_status
Definition: MCGIDI_map.h:15
char * MCGIDI_map_findTargetViaPoPIDs(statusMessageReporting *smr, MCGIDI_map *map, const char *evaluation, int projectile_PoPID, int target_PoPID)
Definition: MCGIDI_map.cc:302
void * MCGIDI_map_free(statusMessageReporting *smr, MCGIDI_map *map)
Definition: MCGIDI_map.cc:173
smr_userInterface smrUserInterface
Definition: MCGIDI_map.h:24
char * MCGIDI_map_getTargetsFullPath(statusMessageReporting *smr, MCGIDI_mapEntry *target)
Definition: MCGIDI_map.cc:459
char * MCGIDI_map_findTarget(statusMessageReporting *smr, MCGIDI_map *map, const char *evaluation, const char *projectile, const char *targetName)
Definition: MCGIDI_map.cc:376
MCGIDI_map * MCGIDI_map_new(statusMessageReporting *smr)
Definition: MCGIDI_map.cc:49
char * path
Definition: MCGIDI_map.h:44
MCGIDI_map * MCGIDI_map_findAllOfTarget(statusMessageReporting *smr, MCGIDI_map *map, const char *projectile, const char *targetName)
Definition: MCGIDI_map.cc:430
char * MCGIDI_map_toXMLString(statusMessageReporting *smr, MCGIDI_map *map)
Definition: MCGIDI_map.cc:501
int MCGIDI_map_addTarget(statusMessageReporting *smr, MCGIDI_map *map, const char *method, const char *path, const char *evaluation, const char *projectile, const char *targetName)
Definition: MCGIDI_map.cc:218
int numberOfEntries
Definition: MCGIDI_map.h:46
char * MCGIDI_map_getFullPath(statusMessageReporting *smr, MCGIDI_map *map, const char *endPath)
Definition: MCGIDI_map.cc:441
MCGIDI_mapEntry_type
Definition: MCGIDI_map.h:17
int MCGIDI_map_addPath(statusMessageReporting *smr, MCGIDI_map *map, const char *path)
Definition: MCGIDI_map.cc:225
MCGIDI_mapEntry * MCGIDI_map_getFirstEntry(MCGIDI_map *map)
Definition: MCGIDI_map.cc:204
int MCGIDI_map_initialize(statusMessageReporting *smr, MCGIDI_map *map)
Definition: MCGIDI_map.cc:60
MCGIDI_mapEntry * MCGIDI_map_getNextEntry(MCGIDI_mapEntry *entry)
Definition: MCGIDI_map.cc:211
char * mapFileName
Definition: MCGIDI_map.h:45
MCGIDI_map * MCGIDI_map_readFile(statusMessageReporting *smr, const char *basePath, const char *mapFileName)
Definition: MCGIDI_map.cc:93
MCGIDI_map * map
Definition: MCGIDI_map.h:38
char *(* smr_userInterface)(void *userData)
void MCGIDI_map_release(statusMessageReporting *smr, MCGIDI_map *map)
Definition: MCGIDI_map.cc:182
int MCGIDI_map_walkTree(statusMessageReporting *smr, MCGIDI_map *map, int(*handler)(MCGIDI_mapEntry *entry, int level, void *userData), void *userData)
Definition: MCGIDI_map.cc:494
MCGIDI_map * map
Definition: MCGIDI_map.h:25
MCGIDI_map_smr smrUserInterface
Definition: MCGIDI_map.h:43