Message: Re: G4String: initialise with integer? Not Logged In (login)
 Next-in-Thread Next-in-Thread
 Next-in-Forum Next-in-Forum

None Re: G4String: initialise with integer? 

Keywords: Convert to string
Forum: Run Management
Re: Question G4String: initialise with integer? (I Cornelius)
Date: 29 Jun, 2005
From: Makoto Asai <Makoto Asai>

There are static methods in G4UIcommand to convert bool, int, double, 
double with unit, three vector and three vector with unit into G4String.
For example,
 G4int i = 123;
 G4String s = G4UIcommand::ConvertToString(i);

Inline Depth:
 1 1
 All All
Outline Depth:
 1 1
 2 2
 All All
Add message: (add)

 Add Message Add Message
to: "Re: G4String: initialise with integer?"

 Subscribe Subscribe

This site runs SLAC HyperNews version 1.11-slac-98, derived from the original HyperNews


[ Geant 4 Home | Geant 4 HyperNews | Search | Request New Forum | Feedback ]