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

IMPORT_C skTreeNodeList ()
 Constructs a blank list.

virtual IMPORT_C ~skTreeNodeList ()
 Destroys list and its children.

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

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

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

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


Detailed Description

This class represents a list of skTreeNodes.


Member Function Documentation

IMPORT_C 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

IMPORT_C 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

IMPORT_C 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

IMPORT_C 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 file:
Generated on Fri Dec 17 20:28:27 2004 for Simkin C++ for Symbian by doxygen1.3