[lnkForumImage]
TotalShareware - Download Free Software

Confronta i prezzi di migliaia di prodotti.
Asp Forum
 Home | Login | Register | Search 


 

Forums >

comp.lang.ruby

bi-directional pointers

Its Me

11/13/2004 3:09:00 AM

are there any Ruby code generation 'macros' to declare bi-directional
pointers and automatically maintain their consistency? it would take various
relation combinations (1-1, 1-N, N-M), generate appropriate interfaces, and
implement these using a private protocol for keeping the pointers in sync.



4 Answers

Its Me

11/13/2004 9:33:00 PM

0

i did mean bidirectional _ruby_ references, not c or c++ pointers :-)

"itsme213" <itsme213@hotmail.com> wrote in message
news:7Veld.2018$Zr3.247@fe1.texas.rr.com...
> are there any Ruby code generation 'macros' to declare bi-directional
> pointers and automatically maintain their consistency? it would take
various
> relation combinations (1-1, 1-N, N-M), generate appropriate interfaces,
and
> implement these using a private protocol for keeping the pointers in sync.


Robert Klemme

11/15/2004 9:02:00 AM

0


Hi,

the keywords "relation" and "association" probably describe better what
you're at. I'm not aware of anything like this, although with Ruby's
dynamic nature it should be fairly easy to cook something up. Did you
check the RAA?

Kind regards

robert

"itsme213" <itsme213@hotmail.com> schrieb im Newsbeitrag
news:P3vld.9212$pu3.5156@fe2.texas.rr.com...
> i did mean bidirectional _ruby_ references, not c or c++ pointers :-)
>
> "itsme213" <itsme213@hotmail.com> wrote in message
> news:7Veld.2018$Zr3.247@fe1.texas.rr.com...
> > are there any Ruby code generation 'macros' to declare bi-directional
> > pointers and automatically maintain their consistency? it would take
> various
> > relation combinations (1-1, 1-N, N-M), generate appropriate
interfaces,
> and
> > implement these using a private protocol for keeping the pointers in
sync.
>
>

lubow

10/16/2008 6:33:00 PM

0

>How does any of the above change the fact that Obama is a socialist?

How does any of the above change the fact "Geo" is a worthless piece of dogshit?

BikeFan

10/16/2008 7:06:00 PM

0

Geo wrote:
> On Oct 16, 1:05 pm, "Lubow" <lu...@lubowindustries.com> wrote:
>> From Martin Eisenstadt:
>>
>> Turns out that Joe Wurzelbacher from the Toledo event is a close
>> relative of Robert Wurzelbacher of Milford, Ohio. Who?s Robert
>> Wurzelbacher? Only Charles Keating?s son-in-law and the former senior
>> vice president of American Continental, the parent company of the
>> infamous Lincoln Savings and Loan. The now retired elder Wurzelbacher
>> is also a major contributor to Republican causes giving well over
>> $10,000 in the last few years.
>>
>> Now I guess we know why Joe is telling the press that Obama is a
>> "socialist" and that the Obama tax plan "infuriated" him. After all,
>> it would hit families like the Keatings and their minions the hardest.
>>
>> Not to mention that Obama's economic-recovery plan would put the
>> crimps on influence peddlers like McCain's old friends, the Keating
>> Five.
>>
>> But he sure made for a good one-day story!
>>
>> Ya just can't make this stuff up! It's just too, too good!
>>
>> - More, w/Video -http://crooksandliars.com/david-neiwert/joe-plumber-more-jo......
>
> How does any of the above change the fact that Obama is a socialist?

Frenzied attempt to change the subject noted ROTFL.

--
BikeFan