[gme-users] BON2 question
Wu, Haojie
haojie.wu at Vanderbilt.Edu
Mon Dec 4 10:59:51 CST 2006
Thanks a million.
> The compile is right:getScr is not a member of BON::ConnectionImpl.
>
> Please try getSrc.
>
> 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 Wu, Haojie
>> Sent: Monday, December 04, 2006 10:16 AM
>> To: gme-users
>> Subject: [gme-users] BON2 question
>>
>>
>> Hello,
>>
>> I'm trying to find the input from a Model:
>>
>> BON::Model m = Model(*first);
>> std::set<BON::FCO> portIns = m->getChildFCOs("PrIn");
>> if (portIns.size() > 0)
>> {
>> for (...iterator inp = portIns.begin(); inp !=
>> portIns.end(); ++inp)
>> {
>> std::set<BON::Connection> inConns = (*inp)->getInConnLinks();
>> for (....iterator cit = inConns.begin(); cit !=
>> inConns.end(); ++cit)
>> {
>> BON::ConnectionEnd ce = (*cit)->getScr();
>> ...
>> }
>> }
>> }
>>
>> The compiler said, getScr is not a member of
>> BON::ConnectionImpl. Could somebody tell me how to get the
>> other side of ConnectionEnd?
>>
>>
>> Thanks a lot.
>> haojie
>>
>> _______________________________________________
>> gme-users mailing list
>> gme-users at list.isis.vanderbilt.edu
>> http://list.isis.vanderbilt.edu/mailman/listinfo/gme-users
>>
> _______________________________________________
> gme-users mailing list
> gme-users at list.isis.vanderbilt.edu
> http://list.isis.vanderbilt.edu/mailman/listinfo/gme-users
>
More information about the gme-users
mailing list