Tag Parser  6.4.0
C++ library for reading and writing MP4 (iTunes), ID3, Vorbis, Opus, FLAC and Matroska tags
Public Member Functions | List of all members
Media::FileElementIterator< ImplementationType > Class Template Reference

The FileElementIterator class helps iterating through the children of a FileElement. More...

#include <genericfileelement.h>

Public Member Functions

 FileElementIterator (ImplementationType *element=nullptr)
 Constructs a new iterator for the specified element. More...
 
ImplementationType * operator* ()
 Returns a reference to the current element. More...
 
const ImplementationType * operator* () const
 Returns a reference the current element (constant). More...
 
 operator bool () const
 Returns whether the iterator points to an element. More...
 
FileElementIterator< ImplementationType > & operator++ ()
 Moves to the next sibling. More...
 

Detailed Description

template<typename ImplementationType>
class Media::FileElementIterator< ImplementationType >

The FileElementIterator class helps iterating through the children of a FileElement.

Definition at line 34 of file genericfileelement.h.

Constructor & Destructor Documentation

◆ FileElementIterator()

template<typename ImplementationType >
Media::FileElementIterator< ImplementationType >::FileElementIterator ( ImplementationType *  element = nullptr)
inline

Constructs a new iterator for the specified element.

Definition at line 52 of file genericfileelement.h.

Member Function Documentation

◆ operator bool()

template<typename ImplementationType >
Media::FileElementIterator< ImplementationType >::operator bool ( ) const
inline

Returns whether the iterator points to an element.

Definition at line 89 of file genericfileelement.h.

◆ operator*() [1/2]

template<typename ImplementationType >
ImplementationType * Media::FileElementIterator< ImplementationType >::operator* ( )
inline

Returns a reference to the current element.

Definition at line 60 of file genericfileelement.h.

◆ operator*() [2/2]

template<typename ImplementationType >
const ImplementationType * Media::FileElementIterator< ImplementationType >::operator* ( ) const
inline

Returns a reference the current element (constant).

Definition at line 69 of file genericfileelement.h.

◆ operator++()

template<typename ImplementationType >
FileElementIterator< ImplementationType > & Media::FileElementIterator< ImplementationType >::operator++ ( )
inline

Moves to the next sibling.

Definition at line 78 of file genericfileelement.h.


The documentation for this class was generated from the following file: