Geant4
10.00.p03
|
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <ctype.h>
#include <tpi_IDs.h>
Go to the source code of this file.
Functions | |
static tpi_channelID * | _tpi_channelID_parse2 (statusMessageReporting *smr, char const *str, char const *origStr, int isDecayChannel, char **EOP) |
static tpi_spectralID * | _tpi_spectralID_parse2 (statusMessageReporting *smr, char const *str, char const *origStr, char **EOP) |
tpi_channelID * | tpi_channelID_allocate (statusMessageReporting *smr) |
int | tpi_channelID_initialize (statusMessageReporting *, tpi_channelID *channelID) |
void * | tpi_channelID_free (statusMessageReporting *smr, tpi_channelID *channelID) |
int | tpi_channelID_release (statusMessageReporting *smr, tpi_channelID *channelID) |
tpi_channelID * | tpi_channelID_parse (statusMessageReporting *smr, char const *str, char **EOP) |
int | tpi_channelID_toString (statusMessageReporting *smr, tpi_channelID *channelID, gString *gStr) |
int | tpi_channelID_toStringSanRevision (statusMessageReporting *smr, tpi_channelID *channelID, gString *gStr) |
int | tpi_channelID_toStringSans (statusMessageReporting *smr, tpi_channelID *channelID, gString *gStr, char *sans[]) |
tpi_spectralID * | tpi_spectralID_allocate (statusMessageReporting *smr) |
int | tpi_spectralID_initialize (statusMessageReporting *, tpi_spectralID *spectralID) |
void * | tpi_spectralID_free (statusMessageReporting *smr, tpi_spectralID *spectralID) |
int | tpi_spectralID_release (statusMessageReporting *smr, tpi_spectralID *spectralID) |
tpi_spectralID * | tpi_spectralID_parse (statusMessageReporting *smr, char const *str, char **EOP) |
int | tpi_spectralID_toString (statusMessageReporting *smr, tpi_spectralID *spectralID, gString *gStr) |
int | tpi_spectralID_toStringSanRevision (statusMessageReporting *smr, tpi_spectralID *spectralID, gString *gStr) |
int | tpi_spectralID_toStringSans (statusMessageReporting *smr, tpi_spectralID *spectralID, gString *gStr, char *sans[]) |
char const * | tpi_misc_firstNonWhiteSpace (statusMessageReporting *, char const *str) |
char * | tpi_misc_allocateAndCopyNCharacters (statusMessageReporting *smr, char const *str, int n) |
|
static |
Definition at line 106 of file tpi_IDs.cc.
References _tpi_spectralID_parse2(), smr_setMessageError(), tpi_channelID_allocate(), tpi_channelID_free(), and tpi_misc_firstNonWhiteSpace().
Referenced by _tpi_spectralID_parse2(), and tpi_channelID_parse().
|
static |
Definition at line 225 of file tpi_IDs.cc.
References _tpi_channelID_parse2(), m, s, smr_setMessageError(), tpi_misc_allocateAndCopyNCharacters(), tpi_misc_firstNonWhiteSpace(), tpi_spectralID_allocate(), and tpi_spectralID_free().
Referenced by _tpi_channelID_parse2(), and tpi_spectralID_parse().
tpi_channelID* tpi_channelID_allocate | ( | statusMessageReporting * | smr | ) |
Definition at line 53 of file tpi_IDs.cc.
References tpi_channelID_initialize().
Referenced by _tpi_channelID_parse2().
void* tpi_channelID_free | ( | statusMessageReporting * | smr, |
tpi_channelID * | channelID | ||
) |
Definition at line 74 of file tpi_IDs.cc.
References tpi_channelID_release(), and xData_free().
Referenced by _tpi_channelID_parse2(), and tpi_spectralID_release().
int tpi_channelID_initialize | ( | statusMessageReporting * | , |
tpi_channelID * | channelID | ||
) |
Definition at line 66 of file tpi_IDs.cc.
Referenced by tpi_channelID_allocate(), and tpi_channelID_release().
tpi_channelID* tpi_channelID_parse | ( | statusMessageReporting * | smr, |
char const * | str, | ||
char ** | EOP | ||
) |
Definition at line 99 of file tpi_IDs.cc.
References _tpi_channelID_parse2().
int tpi_channelID_release | ( | statusMessageReporting * | smr, |
tpi_channelID * | channelID | ||
) |
Definition at line 85 of file tpi_IDs.cc.
References tpi_channelID_initialize(), and tpi_spectralID_free().
Referenced by tpi_channelID_free().
int tpi_channelID_toString | ( | statusMessageReporting * | smr, |
tpi_channelID * | channelID, | ||
gString * | gStr | ||
) |
Definition at line 138 of file tpi_IDs.cc.
References tpi_channelID_toStringSans().
int tpi_channelID_toStringSanRevision | ( | statusMessageReporting * | smr, |
tpi_channelID * | channelID, | ||
gString * | gStr | ||
) |
Definition at line 145 of file tpi_IDs.cc.
References tpi_channelID_toStringSans().
int tpi_channelID_toStringSans | ( | statusMessageReporting * | smr, |
tpi_channelID * | channelID, | ||
gString * | gStr, | ||
char * | sans[] | ||
) |
Definition at line 155 of file tpi_IDs.cc.
References gString_addTo(), and tpi_spectralID_toStringSans().
Referenced by tpi_channelID_toString(), tpi_channelID_toStringSanRevision(), and tpi_spectralID_toStringSans().
char* tpi_misc_allocateAndCopyNCharacters | ( | statusMessageReporting * | smr, |
char const * | str, | ||
int | n | ||
) |
Definition at line 429 of file tpi_IDs.cc.
Referenced by _tpi_spectralID_parse2().
char const* tpi_misc_firstNonWhiteSpace | ( | statusMessageReporting * | , |
char const * | str | ||
) |
Definition at line 419 of file tpi_IDs.cc.
References s.
Referenced by _tpi_channelID_parse2(), and _tpi_spectralID_parse2().
tpi_spectralID* tpi_spectralID_allocate | ( | statusMessageReporting * | smr | ) |
Definition at line 170 of file tpi_IDs.cc.
References tpi_spectralID_initialize().
Referenced by _tpi_spectralID_parse2().
void* tpi_spectralID_free | ( | statusMessageReporting * | smr, |
tpi_spectralID * | spectralID | ||
) |
Definition at line 191 of file tpi_IDs.cc.
References tpi_spectralID_release(), and xData_free().
Referenced by _tpi_spectralID_parse2(), tpi_channelID_release(), and tpia_particle_release().
int tpi_spectralID_initialize | ( | statusMessageReporting * | , |
tpi_spectralID * | spectralID | ||
) |
Definition at line 183 of file tpi_IDs.cc.
Referenced by tpi_spectralID_allocate(), and tpi_spectralID_release().
tpi_spectralID* tpi_spectralID_parse | ( | statusMessageReporting * | smr, |
char const * | str, | ||
char ** | EOP | ||
) |
Definition at line 218 of file tpi_IDs.cc.
References _tpi_spectralID_parse2().
Referenced by tpia_particle_getInternalID().
int tpi_spectralID_release | ( | statusMessageReporting * | smr, |
tpi_spectralID * | spectralID | ||
) |
Definition at line 202 of file tpi_IDs.cc.
References free(), tpi_channelID_free(), tpi_spectralID_initialize(), and xData_free().
Referenced by tpi_spectralID_free().
int tpi_spectralID_toString | ( | statusMessageReporting * | smr, |
tpi_spectralID * | spectralID, | ||
gString * | gStr | ||
) |
Definition at line 353 of file tpi_IDs.cc.
References tpi_spectralID_toStringSans().
int tpi_spectralID_toStringSanRevision | ( | statusMessageReporting * | smr, |
tpi_spectralID * | spectralID, | ||
gString * | gStr | ||
) |
Definition at line 360 of file tpi_IDs.cc.
References tpi_spectralID_toStringSans().
int tpi_spectralID_toStringSans | ( | statusMessageReporting * | smr, |
tpi_spectralID * | spectralID, | ||
gString * | gStr, | ||
char * | sans[] | ||
) |
Definition at line 371 of file tpi_IDs.cc.
References gString_addTo(), and tpi_channelID_toStringSans().
Referenced by tpi_channelID_toStringSans(), tpi_spectralID_toString(), and tpi_spectralID_toStringSanRevision().