TSDuck v3.44-4554
MPEG Transport Stream Toolkit
Loading...
Searching...
No Matches
ts::xml::Element::ConstElementSet Class Reference

An iterable set of constant XML elements. More...

#include <tsxmlElement.h>

Public Member Functions

ConstElementIterator begin () const
 Get the iterator to the beginning of the set.
 
ConstElementIterator end () const
 Get the iterator to the end of the set.
 
bool isValid () const
 Check if iterations across the set of constant XML elements can continue.
 

Detailed Description

An iterable set of constant XML elements.

Instances of these classes can only be created using ts::xml::Element::children() and should only be used as temporary objects in range-based "for" loops.

Member Function Documentation

◆ isValid()

bool ts::xml::Element::ConstElementSet::isValid ( ) const
inline

Check if iterations across the set of constant XML elements can continue.

Returns
True if iteration can continue, false if should stop.

◆ begin()

ConstElementIterator ts::xml::Element::ConstElementSet::begin ( ) const

Get the iterator to the beginning of the set.

Returns
The iterator to the beginning of the set.

◆ end()

ConstElementIterator ts::xml::Element::ConstElementSet::end ( ) const
inline

Get the iterator to the end of the set.

Returns
The iterator to the end of the set.

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