[Biococoa-dev] Base test
Koen van der Drift
kvddrift at earthlink.net
Sun Aug 15 14:15:10 EDT 2004
On Aug 15, 2004, at 12:16 PM, John Timmer wrote:
> Just for reference, I'm attaching a .h file where I was writing out
> some of
> the things I'd thought would need to be implemented in this sort of
> class.
> Some of them would probably work well in the base class, and I think
> the
> method names are fairly informative. Please use anything you think is
> appropriate.
>
Looks good John. I think the following can go in the parent class. Most
of these are already (with a different name) in what I commited this
morning.
/*
///////////////////////////////////////////////////////////////////////
/////
// OBTAINING INFORMATION ABOUT THE SEQUENCE
///////////////////////////////////////////////////////////////////////
/////
- (NSArray *) sequenceBaseArray;
- (int) length;
- (BCSequenceBase *) baseAtIndex: (int)index;
///////////////////////////////////////////////////////////////////////
/////
// ALTERING THE CONTENTS
///////////////////////////////////////////////////////////////////////
/////
- (void) setSequenceBaseArray: (NSArray *)entry;
- (void) removeBaseAtIndex: (int)index;
- (void) removeBasesInRange: (NSRange)entry;
///////////////////////////////////////////////////////////////////////
/////
// DERIVING OTHER SEQUENCES
///////////////////////////////////////////////////////////////////////
/////
- (BCSequenceDNA *) sequenceInRange: (NSRange)entry;
Can we change the name BCSequenceBaseFoo to something else? Just as you
commented that Symbol is confusing, I think SequenceBase is also
confusing because (to me) it refers to DNA, not to a general building
block.
- Koen.
More information about the Biococoa-dev
mailing list