Geant4  10.01.p03
tpi_IDs.cc File Reference
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <ctype.h>
#include <tpi_IDs.h>
+ Include dependency graph for tpi_IDs.cc:

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)
 

Function Documentation

static tpi_channelID * _tpi_channelID_parse2 ( statusMessageReporting *  smr,
char const *  str,
char const *  origStr,
int  isDecayChannel,
char **  EOP 
)
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().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

static tpi_spectralID * _tpi_spectralID_parse2 ( statusMessageReporting *  smr,
char const *  str,
char const *  origStr,
char **  EOP 
)
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().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

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().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

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().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

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().

+ Here is the caller graph for this function:

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().

+ Here is the call graph for this function:

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().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

int tpi_channelID_toString ( statusMessageReporting *  smr,
tpi_channelID *  channelID,
gString *  gStr 
)

Definition at line 138 of file tpi_IDs.cc.

References tpi_channelID_toStringSans().

+ Here is the call graph for this function:

int tpi_channelID_toStringSanRevision ( statusMessageReporting *  smr,
tpi_channelID *  channelID,
gString *  gStr 
)

Definition at line 145 of file tpi_IDs.cc.

References tpi_channelID_toStringSans().

+ Here is the call graph for this function:

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().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

char* tpi_misc_allocateAndCopyNCharacters ( statusMessageReporting *  smr,
char const *  str,
int  n 
)

Definition at line 429 of file tpi_IDs.cc.

References n, and s.

Referenced by _tpi_spectralID_parse2().

+ Here is the caller graph for this function:

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().

+ Here is the caller graph for this function:

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().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

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().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

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().

+ Here is the caller graph for this function:

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().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

int tpi_spectralID_release ( statusMessageReporting *  smr,
tpi_spectralID *  spectralID 
)

Definition at line 202 of file tpi_IDs.cc.

References tpi_channelID_free(), tpi_spectralID_initialize(), and xData_free().

Referenced by tpi_spectralID_free().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

int tpi_spectralID_toString ( statusMessageReporting *  smr,
tpi_spectralID *  spectralID,
gString *  gStr 
)

Definition at line 353 of file tpi_IDs.cc.

References tpi_spectralID_toStringSans().

+ Here is the call graph for this function:

int tpi_spectralID_toStringSanRevision ( statusMessageReporting *  smr,
tpi_spectralID *  spectralID,
gString *  gStr 
)

Definition at line 360 of file tpi_IDs.cc.

References tpi_spectralID_toStringSans().

+ Here is the call graph for this function:

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().

+ Here is the call graph for this function:

+ Here is the caller graph for this function: