AlList
Simple List class for AlLinkItem objects.
Synopsis
#include <AlList.h>
class AlList
AlList( AlLinkItem *item = (AlLinkItem*)0 );
virtual ~AlList();
AlLinkItem* first( void ) const
AlLinkItem* last( void ) const
void append( AlLinkItem* );
int remove( AlLinkItem* );
void clear();
Description
This simple container class provides the ability to create and access a list of objects derived from the AlLinkItem class.
Summary
AlList::AlList( AlLinkItem *item )
Description
Constructor for AlList class.
Arguments
< item - The first object to be added to the list.
AlList::~AlList()
Description
Destructor for AlList class.
void AlList::append( AlLinkItem *item )
Description
Adds an AlLinkItem object to the end of the list.
Arguments
< item - The object to be appended.
int AlList::remove( AlLinkItem *item )
Description
Removes an AlLinkItem object from the AlList. Returns TRUE if the item was removed, FALSE if it was not (because it did not belong in this list).
Arguments
< item - The object to be appended.
void AlList::clear()
Description
Clears the list as an empty list but does not free any of its members.
aliasdocs@aw.sgi.com
Copyright © 1996, Alias|Wavefront, a Silicon Graphics Company. All rights
reserved.