#include <iterator.h>

Public Member Functions | |
| Iterator () | |
| Default constructor. | |
| Iterator (GstIterator* castitem, bool take_ownership=true) | |
| Creates a Gst::Iterator wrapper for a GstIterator object. | |
| IteratorResult | next () |
| Moves to the next iterator item. | |
| Glib::RefPtr<CppType> | operator* () const |
| Dereferences the iterator and obtains the underlying Glib::RefPtr<>. | |
| CppType* | operator-> () const |
| Accesses underlying object member through the RefPtr<>. | |
| Iterator<CppType>& | operator++ () |
| Prefix auto-increment operator. | |
| Iterator<CppType> | operator++ (int) |
| Postfix auto-increment operator. | |
Gst::Iterator iterates specifically through elements that are reference counted and therefore dereferencing the elements of the iterator yields a Glib::RefPtr<> to the C++ element type.
| Gst::Iterator<CppType>::Iterator | ( | ) |
Default constructor.
| Gst::Iterator<CppType>::Iterator | ( | GstIterator< CppType > * | castitem, | |
| bool | take_ownership = true | |||
| ) |
Creates a Gst::Iterator wrapper for a GstIterator object.
The underlying castitem will be freed with the Gst::Iterator destruction if a take_ownership value of true is given.
| castitem | The C instance to wrap. | |
| take_ownership | Whether to take over the underlying C object. If true, C object is freed when wrapper is destroyed. |
| IteratorResult Gst::Iterator<CppType>::next | ( | ) | [virtual] |
Moves to the next iterator item.
Reimplemented from Gst::IteratorBase<CppType>.
| Glib::RefPtr<CppType> Gst::Iterator<CppType>::operator* | ( | ) | const |
Dereferences the iterator and obtains the underlying Glib::RefPtr<>.
Reimplemented from Gst::IteratorBasic<CppType>.
| CppType* Gst::Iterator<CppType>::operator-> | ( | ) | const |
Accesses underlying object member through the RefPtr<>.
Reimplemented from Gst::IteratorBasic<CppType>.
| Iterator<CppType>& Gst::Iterator<CppType>::operator++ | ( | ) |
Prefix auto-increment operator.
It advances to the next item in the iterator. It is faster than the postfix operator.
| std::runtime_error | (if a Gst::ITERATOR_ERROR is encountered or if a concurrent update to the iterator occurs while it iterates). |
Reimplemented from Gst::IteratorBasic<CppType>.
| Iterator<CppType> Gst::Iterator<CppType>::operator++ | ( | int | ) |
Postfix auto-increment operator.
It advances to the next item in the iterator.
| std::runtime_error | (if a Gst::ITERATOR_ERROR is encountered or if a concurrent update to the iterator occurs while it iterates). |
Reimplemented from Gst::IteratorBasic<CppType>.
1.5.6