Changeset 1016 for trunk/source
- Timestamp:
- Apr 22, 2009, 12:38:42 PM (17 years ago)
- Location:
- trunk/source/intercoms
- Files:
-
- 44 edited
-
History (modified) (2 diffs)
-
include/G4UIaliasList.hh (modified) (1 diff)
-
include/G4UIbatch.hh (modified) (1 diff)
-
include/G4UIcmdWith3Vector.hh (modified) (1 diff)
-
include/G4UIcmdWith3VectorAndUnit.hh (modified) (1 diff)
-
include/G4UIcmdWithABool.hh (modified) (1 diff)
-
include/G4UIcmdWithADouble.hh (modified) (1 diff)
-
include/G4UIcmdWithADoubleAndUnit.hh (modified) (1 diff)
-
include/G4UIcmdWithAString.hh (modified) (1 diff)
-
include/G4UIcmdWithAnInteger.hh (modified) (1 diff)
-
include/G4UIcmdWithoutParameter.hh (modified) (1 diff)
-
include/G4UIcommand.hh (modified) (1 diff)
-
include/G4UIcommandStatus.hh (modified) (1 diff)
-
include/G4UIcommandTree.hh (modified) (1 diff)
-
include/G4UIcontrolMessenger.hh (modified) (1 diff)
-
include/G4UIdirectory.hh (modified) (1 diff)
-
include/G4UImanager.hh (modified) (1 diff)
-
include/G4UImessenger.hh (modified) (1 diff)
-
include/G4UIparameter.hh (modified) (1 diff)
-
include/G4UIsession.hh (modified) (1 diff)
-
include/G4UItokenNum.hh (modified) (1 diff)
-
include/G4UnitsMessenger.hh (modified) (1 diff)
-
include/G4VFlavoredParallelWorld.hh (modified) (1 diff)
-
include/G4VGlobalFastSimulationManager.hh (modified) (1 diff)
-
src/G4UIaliasList.cc (modified) (1 diff)
-
src/G4UIbatch.cc (modified) (7 diffs)
-
src/G4UIcmdWith3Vector.cc (modified) (1 diff)
-
src/G4UIcmdWith3VectorAndUnit.cc (modified) (1 diff)
-
src/G4UIcmdWithABool.cc (modified) (1 diff)
-
src/G4UIcmdWithADouble.cc (modified) (1 diff)
-
src/G4UIcmdWithADoubleAndUnit.cc (modified) (1 diff)
-
src/G4UIcmdWithAString.cc (modified) (1 diff)
-
src/G4UIcmdWithAnInteger.cc (modified) (1 diff)
-
src/G4UIcmdWithoutParameter.cc (modified) (1 diff)
-
src/G4UIcommand.cc (modified) (1 diff)
-
src/G4UIcommandTree.cc (modified) (1 diff)
-
src/G4UIcontrolMessenger.cc (modified) (1 diff)
-
src/G4UIdirectory.cc (modified) (1 diff)
-
src/G4UImanager.cc (modified) (1 diff)
-
src/G4UImessenger.cc (modified) (1 diff)
-
src/G4UIparameter.cc (modified) (1 diff)
-
src/G4UIsession.cc (modified) (1 diff)
-
src/G4UnitsMessenger.cc (modified) (1 diff)
-
src/G4VGlobalFastSimulationManager.cc (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/source/intercoms/History
r850 r1016 1 $Id: History,v 1.7 2 2008/06/14 17:41:39kmura Exp $1 $Id: History,v 1.73 2008/11/21 10:57:25 kmura Exp $ 2 2 ------------------------------------------------------------------- 3 3 … … 17 17 * Reverse chronological order (last date on top), please * 18 18 ---------------------------------------------------------- 19 20 21 November, 2008 K.Murakami (intercoms-V09-01-01) 21 - fix improper comment treatment for line continue characters 22 in G4UIbatch. [Problem-1034] 23 - tagged for release 9.2 19 24 20 25 14 June 2008 K.Murakami (intercoms-V09-01-00) -
trunk/source/intercoms/include/G4UIaliasList.hh
r850 r1016 26 26 // 27 27 // $Id: G4UIaliasList.hh,v 1.6 2006/06/29 19:07:42 gunter Exp $ 28 // GEANT4 tag $Name: HEAD$28 // GEANT4 tag $Name: geant4-09-02 $ 29 29 // 30 30 -
trunk/source/intercoms/include/G4UIbatch.hh
r850 r1016 25 25 // 26 26 // $Id: G4UIbatch.hh,v 1.10 2007/07/16 10:15:12 kmura Exp $ 27 // GEANT4 tag $Name: HEAD$27 // GEANT4 tag $Name: geant4-09-02 $ 28 28 // 29 29 // ==================================================================== -
trunk/source/intercoms/include/G4UIcmdWith3Vector.hh
r850 r1016 26 26 // 27 27 // $Id: G4UIcmdWith3Vector.hh,v 1.7 2006/06/29 19:07:47 gunter Exp $ 28 // GEANT4 tag $Name: HEAD$28 // GEANT4 tag $Name: geant4-09-02 $ 29 29 // 30 30 // -
trunk/source/intercoms/include/G4UIcmdWith3VectorAndUnit.hh
r850 r1016 26 26 // 27 27 // $Id: G4UIcmdWith3VectorAndUnit.hh,v 1.8 2006/06/29 19:07:49 gunter Exp $ 28 // GEANT4 tag $Name: HEAD$28 // GEANT4 tag $Name: geant4-09-02 $ 29 29 // 30 30 // -
trunk/source/intercoms/include/G4UIcmdWithABool.hh
r850 r1016 26 26 // 27 27 // $Id: G4UIcmdWithABool.hh,v 1.7 2006/06/29 19:07:51 gunter Exp $ 28 // GEANT4 tag $Name: HEAD$28 // GEANT4 tag $Name: geant4-09-02 $ 29 29 // 30 30 // -
trunk/source/intercoms/include/G4UIcmdWithADouble.hh
r850 r1016 26 26 // 27 27 // $Id: G4UIcmdWithADouble.hh,v 1.7 2006/06/29 19:07:54 gunter Exp $ 28 // GEANT4 tag $Name: HEAD$28 // GEANT4 tag $Name: geant4-09-02 $ 29 29 // 30 30 // -
trunk/source/intercoms/include/G4UIcmdWithADoubleAndUnit.hh
r850 r1016 26 26 // 27 27 // $Id: G4UIcmdWithADoubleAndUnit.hh,v 1.8 2006/06/29 19:07:57 gunter Exp $ 28 // GEANT4 tag $Name: HEAD$28 // GEANT4 tag $Name: geant4-09-02 $ 29 29 // 30 30 // -
trunk/source/intercoms/include/G4UIcmdWithAString.hh
r850 r1016 26 26 // 27 27 // $Id: G4UIcmdWithAString.hh,v 1.5 2006/06/29 19:07:59 gunter Exp $ 28 // GEANT4 tag $Name: HEAD$28 // GEANT4 tag $Name: geant4-09-02 $ 29 29 // 30 30 // -
trunk/source/intercoms/include/G4UIcmdWithAnInteger.hh
r850 r1016 26 26 // 27 27 // $Id: G4UIcmdWithAnInteger.hh,v 1.7 2006/06/29 19:08:01 gunter Exp $ 28 // GEANT4 tag $Name: HEAD$28 // GEANT4 tag $Name: geant4-09-02 $ 29 29 // 30 30 // -
trunk/source/intercoms/include/G4UIcmdWithoutParameter.hh
r850 r1016 26 26 // 27 27 // $Id: G4UIcmdWithoutParameter.hh,v 1.5 2006/06/29 19:08:03 gunter Exp $ 28 // GEANT4 tag $Name: HEAD$28 // GEANT4 tag $Name: geant4-09-02 $ 29 29 // 30 30 // -
trunk/source/intercoms/include/G4UIcommand.hh
r850 r1016 26 26 // 27 27 // $Id: G4UIcommand.hh,v 1.15 2006/06/29 19:08:05 gunter Exp $ 28 // GEANT4 tag $Name: HEAD$28 // GEANT4 tag $Name: geant4-09-02 $ 29 29 // 30 30 // -
trunk/source/intercoms/include/G4UIcommandStatus.hh
r850 r1016 26 26 // 27 27 // $Id: G4UIcommandStatus.hh,v 1.5 2006/06/29 19:08:08 gunter Exp $ 28 // GEANT4 tag $Name: HEAD$28 // GEANT4 tag $Name: geant4-09-02 $ 29 29 // 30 30 -
trunk/source/intercoms/include/G4UIcommandTree.hh
r842 r1016 26 26 // 27 27 // $Id: G4UIcommandTree.hh,v 1.16 2008/01/30 11:20:03 lgarnier Exp $ 28 // GEANT4 tag $Name: HEAD$28 // GEANT4 tag $Name: geant4-09-02 $ 29 29 // 30 30 -
trunk/source/intercoms/include/G4UIcontrolMessenger.hh
r850 r1016 26 26 // 27 27 // $Id: G4UIcontrolMessenger.hh,v 1.12 2007/06/06 15:14:51 asaim Exp $ 28 // GEANT4 tag $Name: HEAD$28 // GEANT4 tag $Name: geant4-09-02 $ 29 29 // 30 30 -
trunk/source/intercoms/include/G4UIdirectory.hh
r850 r1016 26 26 // 27 27 // $Id: G4UIdirectory.hh,v 1.5 2006/06/29 19:08:15 gunter Exp $ 28 // GEANT4 tag $Name: HEAD$28 // GEANT4 tag $Name: geant4-09-02 $ 29 29 // 30 30 // -
trunk/source/intercoms/include/G4UImanager.hh
r850 r1016 26 26 // 27 27 // $Id: G4UImanager.hh,v 1.21 2006/06/29 19:08:17 gunter Exp $ 28 // GEANT4 tag $Name: HEAD$28 // GEANT4 tag $Name: geant4-09-02 $ 29 29 // 30 30 -
trunk/source/intercoms/include/G4UImessenger.hh
r850 r1016 26 26 // 27 27 // $Id: G4UImessenger.hh,v 1.9 2006/06/29 19:08:19 gunter Exp $ 28 // GEANT4 tag $Name: HEAD$28 // GEANT4 tag $Name: geant4-09-02 $ 29 29 // 30 30 -
trunk/source/intercoms/include/G4UIparameter.hh
r850 r1016 26 26 // 27 27 // $Id: G4UIparameter.hh,v 1.9 2006/06/29 19:08:21 gunter Exp $ 28 // GEANT4 tag $Name: HEAD$28 // GEANT4 tag $Name: geant4-09-02 $ 29 29 // 30 30 // -
trunk/source/intercoms/include/G4UIsession.hh
r850 r1016 26 26 // 27 27 // $Id: G4UIsession.hh,v 1.5 2006/06/29 19:08:23 gunter Exp $ 28 // GEANT4 tag $Name: HEAD$28 // GEANT4 tag $Name: geant4-09-02 $ 29 29 // 30 30 // $id$ -
trunk/source/intercoms/include/G4UItokenNum.hh
r850 r1016 26 26 // 27 27 // $Id: G4UItokenNum.hh,v 1.8 2006/06/29 19:08:25 gunter Exp $ 28 // GEANT4 tag $Name: HEAD$28 // GEANT4 tag $Name: geant4-09-02 $ 29 29 // 30 30 // G4UItokenNum.hh -
trunk/source/intercoms/include/G4UnitsMessenger.hh
r850 r1016 26 26 // 27 27 // $Id: G4UnitsMessenger.hh,v 1.5 2006/06/29 19:08:27 gunter Exp $ 28 // GEANT4 tag $Name: HEAD$28 // GEANT4 tag $Name: geant4-09-02 $ 29 29 // 30 30 // class description -
trunk/source/intercoms/include/G4VFlavoredParallelWorld.hh
r850 r1016 26 26 // 27 27 // $Id: G4VFlavoredParallelWorld.hh,v 1.5 2006/11/03 17:44:40 mverderi Exp $ 28 // GEANT4 tag $Name: HEAD$28 // GEANT4 tag $Name: geant4-09-02 $ 29 29 // 30 30 // -
trunk/source/intercoms/include/G4VGlobalFastSimulationManager.hh
r850 r1016 26 26 // 27 27 // $Id: G4VGlobalFastSimulationManager.hh,v 1.5 2006/06/29 19:08:31 gunter Exp $ 28 // GEANT4 tag $Name: HEAD$28 // GEANT4 tag $Name: geant4-09-02 $ 29 29 // 30 30 // -
trunk/source/intercoms/src/G4UIaliasList.cc
r850 r1016 26 26 // 27 27 // $Id: G4UIaliasList.cc,v 1.6 2006/06/29 19:08:33 gunter Exp $ 28 // GEANT4 tag $Name: HEAD$28 // GEANT4 tag $Name: geant4-09-02 $ 29 29 // 30 30 -
trunk/source/intercoms/src/G4UIbatch.cc
r850 r1016 24 24 // ******************************************************************** 25 25 // 26 // $Id: G4UIbatch.cc,v 1.1 6 2007/08/10 09:46:10kmura Exp $27 // GEANT4 tag $Name: HEAD$26 // $Id: G4UIbatch.cc,v 1.17 2008/11/21 10:54:16 kmura Exp $ 27 // GEANT4 tag $Name: geant4-09-02 $ 28 28 // 29 29 // ==================================================================== … … 45 45 46 46 while (pos != G4String::npos || pos0 != G4String::npos) { 47 if (str[pos0] == '\"') { 48 pos = str.find_first_of("\"", pos0+1); 49 if(pos != G4String::npos) pos++; 50 } 51 if (str[pos0] == '\'') { 52 pos = str.find_first_of("\'", pos0+1); 53 if(pos != G4String::npos) pos++; 54 } 55 47 56 tokens.push_back(str.substr(pos0, pos-pos0)); 48 49 57 pos0 = str.find_first_not_of(delimiter, pos); 50 58 pos = str.find_first_of(delimiter, pos0); … … 110 118 if(!qcontinued && cmdline.size()==0) continue; 111 119 120 // '#' is treated as echoing something 121 if(cmdline[(size_t)0]=='#') return cmdline; 122 112 123 // tokenize... 113 124 std::vector<G4String> tokens; … … 115 126 qcontinued= false; 116 127 for (G4int i=0; i< G4int(tokens.size()); i++) { 128 // string after '#" is ignored 129 if(tokens[i][(size_t)0] == '#' ) break; 117 130 // '\' or '_' is treated as continued line. 118 131 if(tokens[i] == '\\' || tokens[i] == '_' ) { … … 129 142 } 130 143 131 if(qcontinued) continue; // read `the next line144 if(qcontinued) continue; // read the next line 132 145 133 146 if(cmdtotal.size() != 0) break; … … 137 150 // strip again 138 151 cmdtotal= cmdtotal.strip(G4String::both); 139 140 // '#' is treated as echoing something141 if(cmdtotal[(size_t)0]=='#') return cmdtotal;142 143 // normally something after # is treated just as comment and ignored144 str_size ic= cmdtotal.find_first_of('#');145 if(ic != G4String::npos) {146 cmdtotal= cmdtotal(0, ic);147 }148 152 149 153 // finally, … … 153 157 154 158 return cmdtotal; 155 156 159 } 157 160 -
trunk/source/intercoms/src/G4UIcmdWith3Vector.cc
r850 r1016 26 26 // 27 27 // $Id: G4UIcmdWith3Vector.cc,v 1.8 2006/06/29 19:08:38 gunter Exp $ 28 // GEANT4 tag $Name: HEAD$28 // GEANT4 tag $Name: geant4-09-02 $ 29 29 // 30 30 // -
trunk/source/intercoms/src/G4UIcmdWith3VectorAndUnit.cc
r850 r1016 26 26 // 27 27 // $Id: G4UIcmdWith3VectorAndUnit.cc,v 1.9 2006/06/29 19:08:41 gunter Exp $ 28 // GEANT4 tag $Name: HEAD$28 // GEANT4 tag $Name: geant4-09-02 $ 29 29 // 30 30 // -
trunk/source/intercoms/src/G4UIcmdWithABool.cc
r850 r1016 26 26 // 27 27 // $Id: G4UIcmdWithABool.cc,v 1.8 2006/06/29 19:08:43 gunter Exp $ 28 // GEANT4 tag $Name: HEAD$28 // GEANT4 tag $Name: geant4-09-02 $ 29 29 // 30 30 // -
trunk/source/intercoms/src/G4UIcmdWithADouble.cc
r850 r1016 26 26 // 27 27 // $Id: G4UIcmdWithADouble.cc,v 1.8 2006/06/29 19:08:45 gunter Exp $ 28 // GEANT4 tag $Name: HEAD$28 // GEANT4 tag $Name: geant4-09-02 $ 29 29 // 30 30 // -
trunk/source/intercoms/src/G4UIcmdWithADoubleAndUnit.cc
r850 r1016 26 26 // 27 27 // $Id: G4UIcmdWithADoubleAndUnit.cc,v 1.9 2006/06/29 19:08:48 gunter Exp $ 28 // GEANT4 tag $Name: HEAD$28 // GEANT4 tag $Name: geant4-09-02 $ 29 29 // 30 30 // -
trunk/source/intercoms/src/G4UIcmdWithAString.cc
r850 r1016 26 26 // 27 27 // $Id: G4UIcmdWithAString.cc,v 1.6 2006/06/29 19:08:50 gunter Exp $ 28 // GEANT4 tag $Name: HEAD$28 // GEANT4 tag $Name: geant4-09-02 $ 29 29 // 30 30 // -
trunk/source/intercoms/src/G4UIcmdWithAnInteger.cc
r850 r1016 26 26 // 27 27 // $Id: G4UIcmdWithAnInteger.cc,v 1.8 2006/06/29 19:08:52 gunter Exp $ 28 // GEANT4 tag $Name: HEAD$28 // GEANT4 tag $Name: geant4-09-02 $ 29 29 // 30 30 // -
trunk/source/intercoms/src/G4UIcmdWithoutParameter.cc
r850 r1016 26 26 // 27 27 // $Id: G4UIcmdWithoutParameter.cc,v 1.4 2006/06/29 19:08:54 gunter Exp $ 28 // GEANT4 tag $Name: HEAD$28 // GEANT4 tag $Name: geant4-09-02 $ 29 29 // 30 30 // -
trunk/source/intercoms/src/G4UIcommand.cc
r850 r1016 26 26 // 27 27 // $Id: G4UIcommand.cc,v 1.25 2006/06/29 19:08:56 gunter Exp $ 28 // GEANT4 tag $Name: HEAD$28 // GEANT4 tag $Name: geant4-09-02 $ 29 29 // 30 30 // -
trunk/source/intercoms/src/G4UIcommandTree.cc
r842 r1016 26 26 // 27 27 // $Id: G4UIcommandTree.cc,v 1.14 2008/01/30 11:20:03 lgarnier Exp $ 28 // GEANT4 tag $Name: HEAD$28 // GEANT4 tag $Name: geant4-09-02 $ 29 29 // 30 30 -
trunk/source/intercoms/src/G4UIcontrolMessenger.cc
r850 r1016 26 26 // 27 27 // $Id: G4UIcontrolMessenger.cc,v 1.11 2007/06/06 15:14:51 asaim Exp $ 28 // GEANT4 tag $Name: HEAD$28 // GEANT4 tag $Name: geant4-09-02 $ 29 29 // 30 30 -
trunk/source/intercoms/src/G4UIdirectory.cc
r850 r1016 26 26 // 27 27 // $Id: G4UIdirectory.cc,v 1.4 2006/06/29 19:09:02 gunter Exp $ 28 // GEANT4 tag $Name: HEAD$28 // GEANT4 tag $Name: geant4-09-02 $ 29 29 // 30 30 // -
trunk/source/intercoms/src/G4UImanager.cc
r850 r1016 26 26 // 27 27 // $Id: G4UImanager.cc,v 1.33 2007/07/16 10:14:36 kmura Exp $ 28 // GEANT4 tag $Name: HEAD$28 // GEANT4 tag $Name: geant4-09-02 $ 29 29 // 30 30 // -
trunk/source/intercoms/src/G4UImessenger.cc
r850 r1016 26 26 // 27 27 // $Id: G4UImessenger.cc,v 1.7 2006/06/29 19:09:06 gunter Exp $ 28 // GEANT4 tag $Name: HEAD$28 // GEANT4 tag $Name: geant4-09-02 $ 29 29 // 30 30 -
trunk/source/intercoms/src/G4UIparameter.cc
r850 r1016 26 26 // 27 27 // $Id: G4UIparameter.cc,v 1.14 2006/06/29 19:09:09 gunter Exp $ 28 // GEANT4 tag $Name: HEAD$28 // GEANT4 tag $Name: geant4-09-02 $ 29 29 // 30 30 -
trunk/source/intercoms/src/G4UIsession.cc
r850 r1016 26 26 // 27 27 // $Id: G4UIsession.cc,v 1.7 2006/06/29 19:09:11 gunter Exp $ 28 // GEANT4 tag $Name: HEAD$28 // GEANT4 tag $Name: geant4-09-02 $ 29 29 // 30 30 // -
trunk/source/intercoms/src/G4UnitsMessenger.cc
r850 r1016 26 26 // 27 27 // $Id: G4UnitsMessenger.cc,v 1.7 2006/06/29 19:09:13 gunter Exp $ 28 // GEANT4 tag $Name: HEAD$28 // GEANT4 tag $Name: geant4-09-02 $ 29 29 // 30 30 // -
trunk/source/intercoms/src/G4VGlobalFastSimulationManager.cc
r850 r1016 26 26 // 27 27 // $Id: G4VGlobalFastSimulationManager.cc,v 1.5 2006/06/29 19:09:15 gunter Exp $ 28 // GEANT4 tag $Name: HEAD$28 // GEANT4 tag $Name: geant4-09-02 $ 29 29 // 30 30 //
Note:
See TracChangeset
for help on using the changeset viewer.
