Public Member Functions

NumList Class Reference

Search for all occurrences

Detailed Description

See also:
Template Class Tab.

Description:
This class maintains a simple list of integer numbers. All methods of this class are implemented by the system.

#include <imtl.h>

Inheritance diagram for NumList:
Inheritance graph
[legend]

List of all members.

Public Member Functions

CoreExport int  Add (int j, BOOL checkUnique=TRUE)
CoreExport int  Find (int j)

Member Function Documentation

CoreExport int Add ( int  j,
BOOL  checkUnique = TRUE 
)
Remarks:
Adds the number to the list.
Parameters:
int j

The number to add.

BOOL checkUnique=TRUE

If TRUE the number will be added only if it is not in the table already.
Returns:
The index in the table of the added number, or the index where it was found already if checkUnique is used.
CoreExport int Find ( int  j )
Remarks:
Returns the index in the table of the number passed.
Parameters:
int j

The number to find.

NumList NumList NumList NumList NumList NumList NumList NumList NumList NumList
NumList NumList NumList NumList NumList NumList NumList NumList NumList NumList