General OO Question

From: Wallace Highsmith (wallyh010_at_adelphia.net)
Date: 10/30/04


Date: Sat, 30 Oct 2004 16:43:46 -0400

What is a pattern for copying several objects in a cyclic relationship?

DrawObject has a list of connections
each connection has a line and its drawobject
each line has a connection on each end.

(drawobject) 1----* (connection) 2-----1 (line)

line has connection1 and connection2

Copying a drawobject, copies each connection
Copying each connection, copies a line
Copying the line, copies connection1 and connection2
Copying connection1 and connection2, copies drawObject
so i'm back where i started.

What is the best way to get out of this cyclic copy?



Relevant Pages

  • Re: Network Question on Cluster - Windows 2003 Enterprise R2 server
    ... are you opening the SMB connection using NetBIOS or DNS name resolution? ... I tried a copying data from one node to another server, which both servers should use the public network connection but this does not happen. ...
    (microsoft.public.windows.server.clustering)
  • Re: General OO Question
    ... > What is a pattern for copying several objects in a cyclic relationship? ... > each connection has a line and its drawobject ... > each line has a connection on each end. ...
    (comp.object)
  • Re: Copying objects within cyclic relationship
    ... > each connection has a line and its drawobject ... > each line has a connection on each end. ... > Copying a drawobject, copies each connection ... you copy it and you add it to the set (a variant consists in adding it ...
    (comp.object)
  • Re: Help needed!
    ... the WinXP Dial Up Connection thingy has the facility ... I always suggest Copying & Pasting things like that, ... It might be an idea to Copy & Paste the Info - Server Names, ... Cos you already have your NTL Account Set up (on the NTL Servers ...
    (uk.people.silversurfers)
  • Multiple question sets
    ... I want VBA code for copying 5 questions from each file & paste it in new ... I tried to record but could not succeed as one question is lengthy to fit ... Option1 - Connection within a building. ...
    (microsoft.public.word.vba.general)