CItemList Class Reference

The container to store items. More...

#include <CItemList.h>

List of all members.

Public Member Functions

 CItemList ()
 Constructs an empty CItemList object.
void AddItem (SItem *item)
 Adds an item at the end of the list.
INT8 GetItemCount ()
 Returns the number of items in the list.
SItem * GetItem (INT8 index)
 Gets the item associated with the specified index.

Detailed Description

The container to store items.


Member Function Documentation

void CItemList::AddItem ( SItem *  item  ) 

Adds an item at the end of the list.

Parameters:
item the SItem to be added
SItem * CItemList::GetItem ( INT8  index  ) 

Gets the item associated with the specified index.

Parameters:
index - the position of the item
Returns:
an item that is associated with the specified index
See also:
GetItemCount()
INT8 CItemList::GetItemCount (  )  [inline]

Returns the number of items in the list.

Returns:
an integer equal to the number of items in the list

The documentation for this class was generated from the following files:
Generated on Tue Jun 29 18:34:06 2010 for guilib by  doxygen 1.6.3