[great-users] [Fwd: [gme-users] concat]
Attila Vizhanyo
viza at isis.vanderbilt.edu
Tue Nov 29 13:31:18 CST 2005
There has been a similar question on the list today regarding string
manipulation.
String attributes are implemented by class StringAttr, and you have to
cast this type into std::string if you want to perform usual string
operations, eg: setMethod.name()= "set"+ ( std::string)
publicAttribute.name();
Thanks,
Attila
-------- Original Message --------
Subject: [gme-users] concat
Date: Tue, 29 Nov 2005 18:58:19 +0100 (CET)
From: Yvonne Scholl <y_scholl at yahoo.de>
Reply-To: A list for GME users to share thoughts and discuss bugs and
fixes. <gme-users at list.isis.vanderbilt.edu>
To: gme-users at list.isis.vanderbilt.edu
Hi Fans!
Got a prob concerning GReAT, am not sure if there is a separate mailing
list, but maybe you can help. Question is:
I want to name a newly generated method by combining a predefined string
and an attribute, inside an attribute mapping block sth like the following :
setMethod.name="set"+publicAttribute.name();
I figured out it is not going to work by using the "+" sign, so whats
the correct syntax ??
Thanks,
Yvonne
------------------------------------------------------------------------
Gesendet von Yahoo! Mail <http://de.mail.yahoo.com> - Jetzt mit 1GB
kostenlosem Speicher
More information about the great-users
mailing list