Taxonomy Categories:
Member Functions:
Interface Category:
API.
Inherits From:
TSequenceOfIterator
Inherited By:
None.
Purpose:
TSortedSequenceOfIterator is a class that you can use to iterate over the objects in a sorted sequence. TSortedSequenceOfIterator inherits operators for retrieving the first and next objects in the sequence.
Instantiation:
Allocate on the heap or the stack.
Deriving Classes:
You should not derive any classes from TSortedSequenceOfIterator.
TSortedSequenceOfIterator is derived from TSequenceOfIterator.
Concurrency:
Not multithread safe.
Resource Use:
No special requirements.
Other Considerations:
None.
virtual ~ TSortedSequenceOfIterator ()
Interface Category:
API.
Purpose:
Destructor.
Calling Context:
Call this function directly to destroy an object.
Parameters:
Return Value:
None.
Exceptions:
Throws no exceptions, passes all exceptions through.
Concurrency:
Not multithread safe.
Other Considerations:
None.
- TSortedSequenceOfIterator (const TSortedSequenceOf < AType > * sortedSequenceOf)
- TSortedSequenceOfIterator ()
- TSortedSequenceOfIterator (const TSortedSequenceOfIterator < AType > &)
Interface Category:
API.
Purpose:
- Creates an iterator associated with the supplied sorted sequence.
- Default constructor.
- Copy constructor.
Calling Context:
- Call this function directly to create an iterator for the supplied sorted sequence.
- Protect member. Unused constructor.
- Protect member. Unused constructor.
Parameters:
Return Value:
None.
Exceptions:
Throws no exceptions, passes all exceptions through.
Concurrency:
Not multithread safe.
Other Considerations:
None.
AType * StartHere (const AType & obj)
Interface Category:
API.
Purpose:
Sets the current position in the sequence to the object that is equal to the object supplied.
Calling Context:
Call this function directly to set the current position to the object in the sequence that is equal to the supplied object. The member function Next will return the object after the supplied object.
Parameters:
- const AType & obj -The object to match.
Return Value:
A reference to the object in the sequence that matches the object passed.
Exceptions:
Throws no exceptions, passes all exceptions through.
Concurrency:
Not multithread safe.
Other Considerations:
None.
const TSortedSequenceOfIterator < AType > & operator =(const TSortedSequenceOfIterator < AType > &)
Interface Category:
API.
Purpose:
Assignment operator.
Calling Context:
Protected member. Unused.
Parameters:
Return Value:
A reference to the left-hand side object.
Exceptions:
Throws no exceptions, passes all exceptions through.
Concurrency:
Not multithread safe.
Other Considerations:
None.
Click the icon to mail questions or corrections about this material to Taligent personnel.
Copyright©1995 Taligent,Inc. All rights reserved.