Language:

The Free and Open Productivity Suite
Apache OpenOffice 4.1.4 released

Developer's Guide

API

SDK

Tips 'n' Tricks

Miscellaneous


Methods of Class OInterfaceIteratorHelper


OInterfaceIteratorHelper
OInterfaceIteratorHelper(
OInterfaceContainerHelper & rCont ) throw();

virtual abstract const volatile template static inline C-linkage
NO NO NO NO NO NO NO NO

Description
Create an iterator over the elements of the container. The iterator copies the elements of the conatainer. A change to the container during the lifetime of an iterator is allowed and does not affect the iterator-instance. The iterator and the container take cares themself for concurrent access, no additional guarding is necessary. Remark: The copy is on demand. The iterator copy the elements only if the container change the contents. It is not allowed to destroy the container as long as an iterator exist.
Parameters
rCont
the container of the elements.

~OInterfaceIteratorHelper
~OInterfaceIteratorHelper() throw();

virtual abstract const volatile template static inline C-linkage
NO NO NO NO NO NO NO NO

Summary
Releases the connection to the container.

hasMoreElements
sal_Bool hasMoreElements() throw();

virtual abstract const volatile template static inline C-linkage
NO NO NO NO NO NO YES NO

Summary
Return sal_True, if there are more elements in the iterator.

next
::com::sun::star::uno::XInterface * next() throw();

virtual abstract const volatile template static inline C-linkage
NO NO NO NO NO NO NO NO

Description
Return the next element of the iterator. Calling this method if hasMoreElements() has returned sal_False, is an error. Cast the returned pointer to the

remove
void remove() throw();

virtual abstract const volatile template static inline C-linkage
NO NO NO NO NO NO NO NO

Description
Removes the current element (the last one returned by next()) from the underlying container. Calling this method before next() has been called or calling it twice with no next() inbetween is an error.

OInterfaceIteratorHelper
OInterfaceIteratorHelper(
const OInterfaceIteratorHelper & ) throw();

virtual abstract const volatile template static inline C-linkage
NO NO NO NO NO NO NO NO


operator=
OInterfaceIteratorHelper & operator=(
const OInterfaceIteratorHelper & ) throw();

virtual abstract const volatile template static inline C-linkage
NO NO NO NO NO NO NO NO


Top of Page

Apache Software Foundation

Copyright & License | Privacy | Contact Us | Donate | Thanks

Apache and the Apache feather logo are trademarks of The Apache Software Foundation. OpenOffice, OpenOffice.org and the seagull logo are registered trademarks of The Apache Software Foundation. Other names appearing on the site may be trademarks of their respective owners.