JUCE  v5.4.1-191-g0ab5e696f
JUCE API
Looking for a senior C++ dev?
I'm looking for work. Hire me!
juce::ValueTree::Iterator Struct Reference

Iterator for a ValueTree. More...

#include <juce_ValueTree.h>

Collaboration diagram for juce::ValueTree::Iterator:

Public Types

using difference_type = std::ptrdiff_t
 
using iterator_category = std::forward_iterator_tag
 
using pointer = ValueTree *
 
using reference = ValueTree &
 
using value_type = ValueTree
 

Public Member Functions

 Iterator (const ValueTree &, bool isEnd)
 
bool operator!= (const Iterator &) const
 
ValueTree operator* () const
 
Iteratoroperator++ ()
 
bool operator== (const Iterator &) const
 

Private Attributes

void * internal
 

Detailed Description

Iterator for a ValueTree.

You shouldn't ever need to use this class directly - it's used internally by ValueTree::begin() and ValueTree::end() to allow range-based-for loops on a ValueTree.

Member Typedef Documentation

◆ difference_type

◆ iterator_category

using juce::ValueTree::Iterator::iterator_category = std::forward_iterator_tag

◆ pointer

◆ reference

◆ value_type

Constructor & Destructor Documentation

◆ Iterator()

juce::ValueTree::Iterator::Iterator ( const ValueTree ,
bool  isEnd 
)

Member Function Documentation

◆ operator!=()

bool juce::ValueTree::Iterator::operator!= ( const Iterator ) const

◆ operator*()

ValueTree juce::ValueTree::Iterator::operator* ( ) const

◆ operator++()

Iterator& juce::ValueTree::Iterator::operator++ ( )

◆ operator==()

bool juce::ValueTree::Iterator::operator== ( const Iterator ) const

Member Data Documentation

◆ internal

void* juce::ValueTree::Iterator::internal
private

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