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

skTreeNodeList Class Reference

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

#include <skTreeNodp.h>

List of all members.

Public Methods

 skTreeNodeList ()
 Constructs a blank list.

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

virtual ~skTreeNodeList ()
 Destroys list and its children.

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

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

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

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


Detailed Description

This class represents a list of skTreeNodes.


Constructor & Destructor Documentation

skTreeNodeList::skTreeNodeList const skTreeNodeList &    l
 

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 &    l
 

This method performs a deep copy from another list.

Parameters:
list  - the other list to copy


The documentation for this class was generated from the following files:
Generated on Tue Nov 20 17:56:22 2001 for Simkin by doxygen1.2.11.1 written by Dimitri van Heesch, © 1997-2001