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. @since udk211 (has been added in udk210)
- 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 2002 Sun Microsystems, Inc., 901 San Antonio Road, Palo Alto, CA 94303 USA.