[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Subclassing off Array_c [Swarm 1.2, Solaris 2.6]
From: |
Gary Polhill |
Subject: |
Re: Subclassing off Array_c [Swarm 1.2, Solaris 2.6] |
Date: |
Mon, 14 Sep 1998 08:40:12 +0100 |
Marcus G. Daniels wrote:
> Believe it or not, you can't subclass collections things. What do you
> want to do in your subclassed Array? Can you use the Customize interface?
>
I do believe you! What I wanted to do was to create a class that stored an
arbitrarily long string of bits, and performed a number of bit-wise operations
on them (e.g. AND, OR, cross-over). I thought I could subclass off Array_c so I
wouldn't have to bother about allocation and reallocation of memory.
After e-mailing swarm-support, I thought I might try subclassing from
SwarmObject, and having the Array as an instance variable. I'm still
trying to get that working. What would be involved with using the
Customize interface?
Gary
--
Macaulay Land Use Research Institute, Craigiebuckler, Aberdeen. AB15 8QH
Tel: +44 (0) 1224 318611 Email: address@hidden
==================================
Swarm-Support is for discussion of the technical details of the day
to day usage of Swarm. For list administration needs (esp.
[un]subscribing), please send a message to <address@hidden>
with "help" in the body of the message.
==================================