Main Page   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members  

skTreeNodeList Class Reference

This class represents a list of skTreeNodes. More...

#include <skTreeNode.h>

Inheritance diagram for skTreeNodeList:

skTAList< skTreeNode > skAList List of all members.

Public Member Functions

 skTreeNodeList ()
 Constructs a blank list.

 skTreeNodeList (const skTreeNodeList &list)
 Creates a list which is a deep copy of another list.

virtual ~skTreeNodeList ()
 Destroys list and its children.

skTreeNodefindItem (const skString &label) const
 Searches for a child item with the given label.

skTreeNodefindItem (const skString &label, const skString &data) const
 Searches for a child item with the given label and data.

skTreeNodenthElt (USize i) const
 Returns the nth child from this list.

skTreeNodeList & operator= (const skTreeNodeList &list)
 This method performs a deep copy from another list.


Detailed Description

This class represents a list of skTreeNodes.


Constructor & Destructor Documentation

skTreeNodeList::skTreeNodeList const skTreeNodeList &  list  ) 
 

Creates a list which is a deep copy of another list.

Parameters:
list - list to copy


Member Function Documentation

skTreeNode * skTreeNodeList::findItem const skString label,
const skString data
const
 

Searches for a child item with the given label and data.

Parameters:
label - the label of the child to look for
data - the data of the child to look for
Returns:
the first matching child - or 0 if not found

skTreeNode * skTreeNodeList::findItem const skString label  )  const
 

Searches for a child item with the given label.

Parameters:
label - the label of the child to look for
Returns:
the first matching child - or 0 if not found

skTreeNode * skTreeNodeList::nthElt USize  i  )  const
 

Returns the nth child from this list.

Parameters:
i - the zero-based index of the item to retrieve
Returns:
the nth child

skTreeNodeList & skTreeNodeList::operator= const skTreeNodeList &  list  ) 
 

This method performs a deep copy from another list.

Parameters:
list - the other list to copy
Exceptions:
Symbian - a leaving function


The documentation for this class was generated from the following files:
Generated on Fri Dec 17 20:27:36 2004 for Simkin by doxygen1.3