Geant4_10
Classes | Typedefs | Enumerations | Functions
tpia_map.h File Reference
#include <xData.h>
Include dependency graph for tpia_map.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  tpia_map_smr_s
 
struct  tpia_mapEntry_s
 
struct  tpia_map_s
 

Typedefs

typedef struct tpia_map_s tpia_map
 
typedef struct tpia_mapEntry_s tpia_mapEntry
 
typedef struct tpia_map_smr_s tpia_map_smr
 

Enumerations

enum  tpia_map_status { tpia_map_status_Ok, tpia_map_status_memory, tpia_map_status_mapParsing, tpia_map_status_UnknownType }
 
enum  tpia_mapEntry_type { tpia_mapEntry_type_target, tpia_mapEntry_type_path }
 

Functions

tpia_maptpia_map_create (statusMessageReporting *smr)
 
int tpia_map_initialize (statusMessageReporting *smr, tpia_map *map)
 
tpia_maptpia_map_readFile (statusMessageReporting *smr, const char *basePath, const char *mapFileName)
 
voidtpia_map_free (statusMessageReporting *smr, tpia_map *map)
 
void tpia_map_release (statusMessageReporting *smr, tpia_map *map)
 
tpia_mapEntrytpia_map_getFirstEntry (tpia_map *map)
 
tpia_mapEntrytpia_map_getNextEntry (tpia_mapEntry *entry)
 
int tpia_map_addTarget (statusMessageReporting *smr, tpia_map *map, const char *method, const char *path, const char *evaluation, const char *projectile, const char *targetName)
 
int tpia_map_addPath (statusMessageReporting *smr, tpia_map *map, const char *path, const char *projectile)
 
char * tpia_map_findTarget (statusMessageReporting *smr, tpia_map *map, const char *evaluation, const char *projectile, const char *targetName)
 
tpia_maptpia_map_findAllOfTarget (statusMessageReporting *smr, tpia_map *map, const char *projectile, const char *targetName)
 
char * tpia_map_getFullPath (statusMessageReporting *smr, tpia_map *map, const char *endPath)
 
int tpia_map_walkTree (statusMessageReporting *smr, tpia_map *map, int(*handler)(tpia_mapEntry *entry, int level, void *userData), void *userData)
 
char * tpia_map_toXMLString (statusMessageReporting *smr, tpia_map *map)
 
void tpia_map_simpleWrite (FILE *f, tpia_map *map)
 

Typedef Documentation

typedef struct tpia_map_s tpia_map

Definition at line 53 of file tpia_map.h.

typedef struct tpia_map_smr_s tpia_map_smr

Definition at line 55 of file tpia_map.h.

Definition at line 54 of file tpia_map.h.

Enumeration Type Documentation

Enumerator
tpia_map_status_Ok 
tpia_map_status_memory 
tpia_map_status_mapParsing 
tpia_map_status_UnknownType 

Definition at line 49 of file tpia_map.h.

Enumerator
tpia_mapEntry_type_target 
tpia_mapEntry_type_path 

Definition at line 51 of file tpia_map.h.

Function Documentation

int tpia_map_addPath ( statusMessageReporting smr,
tpia_map map,
const char *  path,
const char *  projectile 
)

Definition at line 236 of file tpia_map.cc.

Here is the call graph for this function:

Here is the caller graph for this function:

int tpia_map_addTarget ( statusMessageReporting smr,
tpia_map map,
const char *  method,
const char *  path,
const char *  evaluation,
const char *  projectile,
const char *  targetName 
)

Definition at line 229 of file tpia_map.cc.

Here is the caller graph for this function:

tpia_map* tpia_map_create ( statusMessageReporting smr)

Definition at line 59 of file tpia_map.cc.

Here is the call graph for this function:

Here is the caller graph for this function:

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.

Here is the call graph for this function:

Here is the caller graph for this function:

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.

Here is the call graph for this function:

Here is the caller graph for this function:

void* tpia_map_free ( statusMessageReporting smr,
tpia_map map 
)

Definition at line 184 of file tpia_map.cc.

Here is the call graph for this function:

Here is the caller graph for this function:

tpia_mapEntry* tpia_map_getFirstEntry ( tpia_map map)

Definition at line 215 of file tpia_map.cc.

Here is the caller graph for this function:

char* tpia_map_getFullPath ( statusMessageReporting smr,
tpia_map map,
const char *  endPath 
)

Definition at line 437 of file tpia_map.cc.

tpia_mapEntry* tpia_map_getNextEntry ( tpia_mapEntry entry)

Definition at line 222 of file tpia_map.cc.

Here is the caller graph for this function:

int tpia_map_initialize ( statusMessageReporting smr,
tpia_map map 
)

Definition at line 73 of file tpia_map.cc.

Here is the caller graph for this function:

tpia_map* tpia_map_readFile ( statusMessageReporting smr,
const char *  basePath,
const char *  mapFileName 
)

Definition at line 88 of file tpia_map.cc.

Here is the call graph for this function:

Here is the caller graph for this function:

void tpia_map_release ( statusMessageReporting smr,
tpia_map map 
)

Definition at line 193 of file tpia_map.cc.

Here is the call graph for this function:

Here is the caller graph for this function:

void tpia_map_simpleWrite ( FILE *  f,
tpia_map map 
)

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.

Here is the call graph for this function:

int tpia_map_walkTree ( statusMessageReporting smr,
tpia_map map,
int(*)(tpia_mapEntry *entry, int level, void *userData handler,
void userData 
)

Definition at line 457 of file tpia_map.cc.

Here is the caller graph for this function: