|
Geant4-11
|
#include <string.h>#include <stdlib.h>#include "G4UIdirectory.hh"#include "G4UIcommand.hh"#include "G4VInteractiveSession.hh"#include "G4InteractorMessenger.hh"Go to the source code of this file.
Macros | |
| #define | STRDEL(str) {if((str)!=NULL) {free(str);str=NULL;}} |
| #define | STRDUP(str) ((str) != NULL ? (strcpy((char*)malloc((unsigned)strlen(str) + 1), str)) : (char*)NULL) |
Functions | |
| static G4bool | GetValues (G4String, int, G4String *) |
| #define STRDEL | ( | str | ) | {if((str)!=NULL) {free(str);str=NULL;}} |
Definition at line 38 of file G4InteractorMessenger.cc.
| #define STRDUP | ( | str | ) | ((str) != NULL ? (strcpy((char*)malloc((unsigned)strlen(str) + 1), str)) : (char*)NULL) |
Definition at line 37 of file G4InteractorMessenger.cc.
Definition at line 205 of file G4InteractorMessenger.cc.
References STRDEL, STRDUP, and G4StrUtil::strip().
Referenced by G4InteractorMessenger::SetNewValue().