[gme-users] BON2: BON::ConnectionEndImpl::getConnEndsAs vsBON::ConnectionEndImpl::getConnEnds

Zoltan Molnar zoltan.molnar at vanderbilt.edu
Mon Jul 12 15:08:29 CDT 2004


Yes, there is.
The two give back the opposite things. The second parameter refers to
"*this" in case of getConnEndsAs, while in case of getConnEnds refers to the
connection ends to be returned. 
I.e.
one->getConnEndsAs( meta, "src") gives back those connends which are
connected to "one" via "meta" connection, where "one" is in "src" role.
one->getConnEnds( meta, "src") gives back those connends which are connected
to "one" via "meta" connection having "src" role.
 
Br, Zoli
 
-----Original Message-----
From: gme-users-bounces at list.isis.vanderbilt.edu
[mailto:gme-users-bounces at list.isis.vanderbilt.edu] On Behalf Of Matthew J.
Emerson
Sent: Friday, July 09, 2004 11:14 AM
To: gme-users
Subject: [gme-users] BON2: BON::ConnectionEndImpl::getConnEndsAs
vsBON::ConnectionEndImpl::getConnEnds



Is there any difference between these two methods aside from the name?  The
documentation doesn't specify a difference and at a glance the source of
each looks the same.

 

--Matt

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://list.isis.vanderbilt.edu/pipermail/gme-users/attachments/20040712/61be88f2/attachment.htm


More information about the gme-users mailing list