Taxonomy Categories:
Member Functions:
Interface Category:
API.
Inherits From:
MCollectible
Inherited By:
None.
Purpose:
TArchiveLocaleIterator iterates through the various locales within an archive, returning a TLocale instance for each locale.
Instantiation:
Allocate on the heap or the stack.
Deriving Classes:
This class is designed to be used directly. Do not derive.
Concurrency:
Not multithread safe.
Resource Use:
No special requirements.
virtual ~ TArchiveLocaleIterator ()
Interface Category:
API.
Purpose:
Destructor.
Calling Context:
Call this function directly.
Parameters:
Return Value:
None.
Exceptions:
Throws no exceptions, passes all exceptions through.
Concurrency:
Not Multithread safe.
Other Considerations:
None.
virtual void ComputeSetOfLocales ()
Interface Category:
API.
Purpose:
Computes the set of locales contained by the archive.
Calling Context:
Called by sub-classes to initialize the iterator.
Parameters:
Return Value:
None.
Exceptions:
Throws no exceptions, passes all exceptions through.
Concurrency:
Not Multithread safe.
Other Considerations:
None.
virtual bool Next (TLocale & nextLocale)
Interface Category:
API.
Purpose:
Fills in the given TLocale with the next locale found by the iterator. This function may be called repeatedly until all objects are found.
Calling Context:
Call this function directly.
Parameters:
Return Value:
Returns true if a locale object was found, false otherwise.
Exceptions:
Throws no exceptions, passes all exceptions through.
Concurrency:
Not Multithread safe.
Other Considerations:
None.
virtual bool First (TLocale & firstLocale)
Interface Category:
API.
Purpose:
Fills in the given TLocale with the first locale found by the iterator.
Calling Context:
Call this function directly.
Parameters:
Return Value:
Returns true if a locale object was found, false otherwise.
Exceptions:
Throws no exceptions, passes all exceptions through.
Concurrency:
Not Multithread safe.
Other Considerations:
None.
TArchiveLocaleIterator (const TArchive *)
Interface Category:
API.
Purpose:
Constructs an iterator for the locales containing objects in the given archive.
Calling Context:
Call this function directly.
Parameters:
- const TArchive * -The archive over which to iterate.
Return Value:
None.
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.