Click on the banner to return to the Class Reference home page.

©Copyright 1996 Rogue Wave Software

RWSequenceable


RWSequenceableRWCollectionRWCollectable

Synopsis

#include <rw/seqcltn.h>
typedef RWSequenceable SequenceableCollection;
              // Smalltalk typedef

Description

Class RWSequenceable is an abstract base class for collections that can be accessed by an index. It inherits class RWCollection as a public base class and adds a few extra virtual functions. This documentation only describes these extra functions.

Persistence

Polymorphic


Public Member Functions

RWCollectable*
append(RWCollectable*) = 0;
virtual RWCollectable*&
at(size_t i);
virtual const RWCollectable*
at(size_t i) const;
virtual RWCollectable*
first() const = 0;
virtual size_t
index(const RWCollectable* c) const = 0;
void
insertAt(size_t indx, RWCollectable* e);
virtual RWCollectable*
last() const = 0;
RWCollectable*
prepend(RWCollectable*) = 0;