#include <CContentIterator.h>
This class provides a generic implementation of the IContentReadIterator interface. It uses an aggregated instance of CContentIterator to perform the actual work.
The individual methods are not documented here, they correspond exactly to those documented for IContentReadIterator.
- See Also
- IContentReadIterator
- CContentIterator
| bool16 CContentReadIterator::EndOfList | ( | | ) | const |
| inlinevirtual |
Returns kTrue when there are no more IDs in the iterated data stream
- Returns
- kTrue if the data has been exhausted, kFalse if there are more IDs.
Implements IContentReadIterator.
| ClassID CContentReadIterator::GetClassID | ( | | ) | const |
| inlinevirtual |
| uint32 CContentReadIterator::GetLength | ( | | ) | const |
| inlinevirtual |
Return the length (in bytes) of the data associated with the current ID.
- Returns
- Data length
Implements IContentReadIterator.
| int32 CContentReadIterator::GetOriginPosition | ( | | ) | const |
| inlinevirtual |
Returns the initial position of the input stream associated with this iterator. That is – the stream's position at the time the iterator was bound to it.
- Returns
- The original stream position.
Implements IContentReadIterator.
| bool16 CContentReadIterator::IsClassID | ( | | ) | const |
| inlinevirtual |
Used to determine whether the current ID found in the input stream is a Class ID or an Implementation ID.
- Returns
- kTrue if the current ID is a Class ID.
Implements IContentReadIterator.
| bool16 CContentReadIterator::Next | ( | | ) | |
| inlinevirtual |
Advance the iterator to the next ID in the input stream.
- Returns
- kTrue if another ID was found, kFalse if not.
Implements IContentReadIterator.
| IPMStream* CContentReadIterator::QueryContentStream | ( | | ) | |
| inlinevirtual |
Returns an interface pointer to the iterator's associated input stream. The interface is add-refed prior to returning the pointer.
- Returns
- The stream pointer.
Implements IContentReadIterator.
Called when the Conversion Manager wishes to reinitalize the iterator. An output iterator may optionall be associated with this input iterator at this time.
- Parameters
| out | IN Used to bind an output iterator to this input iterator. |
Implements IContentReadIterator.