Overview | Namespace | Class | Index | Help |
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
Copyright © 2012, The Apache Software Foundation, Licensed under the Apache License, Version 2.0. Apache, the Apache feather logo, Apache OpenOffice and OpenOffice.org are trademarks of The Apache Software Foundation. Other names may be trademarks of their respective owners.