JUCE  v6.1.6 (6.0.8-1114)
JUCE API
Looking for a senior C++ dev?
I'm looking for work. Hire me!
juce::TextLayout::DereferencingIterator< Iterator > Class Template Reference
Collaboration diagram for juce::TextLayout::DereferencingIterator< Iterator >:

Public Types

using difference_type = typename std::iterator_traits< Iterator >::difference_type
 
using iterator_category = typename std::iterator_traits< Iterator >::iterator_category
 
using pointer = value_type *
 
using reference = value_type &
 
using value_type = typename std::remove_reference< decltype(**std::declval< Iterator >())>::type
 

Public Member Functions

 DereferencingIterator (Iterator in)
 
reference operator* () const
 
DereferencingIteratoroperator++ ()
 
DereferencingIterator operator++ (int) const
 
DereferencingIteratoroperator+= (difference_type distance)
 
DereferencingIteratoroperator-- ()
 
DereferencingIterator operator-- (int) const
 
DereferencingIteratoroperator-= (difference_type distance)
 
pointer operator-> () const
 
reference operator[] (difference_type d) const
 

Private Attributes

Iterator iterator
 

Friends

bool operator!= (DereferencingIterator a, DereferencingIterator b)
 
DereferencingIterator operator+ (DereferencingIterator i, difference_type d)
 
DereferencingIterator operator+ (difference_type d, DereferencingIterator i)
 
difference_type operator- (DereferencingIterator a, DereferencingIterator b)
 
DereferencingIterator operator- (DereferencingIterator i, difference_type d)
 
bool operator< (DereferencingIterator a, DereferencingIterator b)
 
bool operator<= (DereferencingIterator a, DereferencingIterator b)
 
bool operator== (DereferencingIterator a, DereferencingIterator b)
 
bool operator> (DereferencingIterator a, DereferencingIterator b)
 
bool operator>= (DereferencingIterator a, DereferencingIterator b)
 

Member Typedef Documentation

◆ difference_type

template<typename Iterator >
using juce::TextLayout::DereferencingIterator< Iterator >::difference_type = typename std::iterator_traits<Iterator>::difference_type

◆ iterator_category

template<typename Iterator >
using juce::TextLayout::DereferencingIterator< Iterator >::iterator_category = typename std::iterator_traits<Iterator>::iterator_category

◆ pointer

template<typename Iterator >
using juce::TextLayout::DereferencingIterator< Iterator >::pointer = value_type*

◆ reference

template<typename Iterator >
using juce::TextLayout::DereferencingIterator< Iterator >::reference = value_type&

◆ value_type

template<typename Iterator >
using juce::TextLayout::DereferencingIterator< Iterator >::value_type = typename std::remove_reference<decltype(**std::declval<Iterator>())>::type

Constructor & Destructor Documentation

◆ DereferencingIterator()

template<typename Iterator >
juce::TextLayout::DereferencingIterator< Iterator >::DereferencingIterator ( Iterator  in)
inlineexplicit

Member Function Documentation

◆ operator*()

template<typename Iterator >
reference juce::TextLayout::DereferencingIterator< Iterator >::operator* ( ) const
inline

◆ operator++() [1/2]

template<typename Iterator >
DereferencingIterator& juce::TextLayout::DereferencingIterator< Iterator >::operator++ ( )
inline

◆ operator++() [2/2]

template<typename Iterator >
DereferencingIterator juce::TextLayout::DereferencingIterator< Iterator >::operator++ ( int  ) const
inline

◆ operator+=()

template<typename Iterator >
DereferencingIterator& juce::TextLayout::DereferencingIterator< Iterator >::operator+= ( difference_type  distance)
inline

References juce::gl::distance.

◆ operator--() [1/2]

template<typename Iterator >
DereferencingIterator& juce::TextLayout::DereferencingIterator< Iterator >::operator-- ( )
inline

◆ operator--() [2/2]

template<typename Iterator >
DereferencingIterator juce::TextLayout::DereferencingIterator< Iterator >::operator-- ( int  ) const
inline

◆ operator-=()

template<typename Iterator >
DereferencingIterator& juce::TextLayout::DereferencingIterator< Iterator >::operator-= ( difference_type  distance)
inline

References juce::gl::distance.

◆ operator->()

template<typename Iterator >
pointer juce::TextLayout::DereferencingIterator< Iterator >::operator-> ( ) const
inline

◆ operator[]()

template<typename Iterator >
reference juce::TextLayout::DereferencingIterator< Iterator >::operator[] ( difference_type  d) const
inline

Friends And Related Function Documentation

◆ operator!=

template<typename Iterator >
bool operator!= ( DereferencingIterator< Iterator >  a,
DereferencingIterator< Iterator >  b 
)
friend

◆ operator+ [1/2]

template<typename Iterator >
DereferencingIterator operator+ ( DereferencingIterator< Iterator >  i,
difference_type  d 
)
friend

◆ operator+ [2/2]

template<typename Iterator >
DereferencingIterator operator+ ( difference_type  d,
DereferencingIterator< Iterator >  i 
)
friend

◆ operator- [1/2]

template<typename Iterator >
difference_type operator- ( DereferencingIterator< Iterator >  a,
DereferencingIterator< Iterator >  b 
)
friend

◆ operator- [2/2]

template<typename Iterator >
DereferencingIterator operator- ( DereferencingIterator< Iterator >  i,
difference_type  d 
)
friend

◆ operator<

template<typename Iterator >
bool operator< ( DereferencingIterator< Iterator >  a,
DereferencingIterator< Iterator >  b 
)
friend

◆ operator<=

template<typename Iterator >
bool operator<= ( DereferencingIterator< Iterator >  a,
DereferencingIterator< Iterator >  b 
)
friend

◆ operator==

template<typename Iterator >
bool operator== ( DereferencingIterator< Iterator >  a,
DereferencingIterator< Iterator >  b 
)
friend

◆ operator>

template<typename Iterator >
bool operator> ( DereferencingIterator< Iterator >  a,
DereferencingIterator< Iterator >  b 
)
friend

◆ operator>=

template<typename Iterator >
bool operator>= ( DereferencingIterator< Iterator >  a,
DereferencingIterator< Iterator >  b 
)
friend

Member Data Documentation

◆ iterator

template<typename Iterator >
Iterator juce::TextLayout::DereferencingIterator< Iterator >::iterator
private

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