Main Page | Class Hierarchy | Class List | File List | Class Members | File Members

# G4UIXaw.cc File Reference

Go to the source code of this file.

## Functions
G4bool | ConvertStringToInt (const char *, int &)
## Variables
G4bool | exitSession = true
G4bool | exitPause = true
G4bool | exitHelp = true

## Function Documentation

G4bool ConvertStringToInt | ( | const char * | aString,
|  | int & | aInt
| ) | `[static]`

| !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!// Definition at line 232 of file G4UIXaw.cc.
    00238 {
    00239   aInt = 0;
    00240   if(aString==NULL) return false;
    00241   char* s;
    00242   long value = strtol(aString,&s,10);
    00243   if(s==aString) return false;
    00244   aInt = value;
    00245   return true;
    00246 }

## Variable Documentation

G4bool exitHelp = true`[static]`

| Definition at line 54 of file G4UIXaw.cc. Referenced by G4UIXaw::Callback(), and G4UIXaw::GetHelpChoice().

G4bool exitPause = true`[static]`

| Definition at line 53 of file G4UIXaw.cc. Referenced by G4UIXaw::Callback(), and G4UIXaw::SecondaryLoop().

G4bool exitSession = true`[static]`

| Definition at line 52 of file G4UIXaw.cc. Referenced by G4UIXaw::Callback(), and G4UIXaw::SessionStart().