Gin
Loading...
Searching...
No Matches
Classes | Public Types | Public Member Functions | List of all members
juce::VarIterator Struct Reference

Iterator for a var. More...

#include <gin_varianthelpers.h>

Classes

struct  NamedValue
 

Public Types

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

Public Member Functions

 VarIterator (const juce::var &, bool isEnd)
 
VarIteratoroperator++ ()
 
bool operator== (const VarIterator &) const
 
bool operator!= (const VarIterator &) const
 
NamedValue operator* () const
 

Detailed Description

Iterator for a var.

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


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