docs
Loading...
Searching...
No Matches
Container::ChildIterator

#include <AppCore/layout/Container.h>

Overview

Iterator over a container's children (a forward range of RefPtr<LayoutNode>).

Public Types

using value_type = RefPtr<LayoutNode>
using difference_type = int

Public Member Functions

 ChildIterator ()=default
 ChildIterator (const Container *container, int index)
RefPtr< LayoutNode > operator* () const
ChildIterator & operator++ ()
ChildIterator operator++ (int)

Friends

bool operator== (const ChildIterator &, const ChildIterator &)=default

Member Typedef Documentation

◆ difference_type

using difference_type = int

◆ value_type

Constructor & Destructor Documentation

◆ ChildIterator() [1/2]

ChildIterator ( )
default

◆ ChildIterator() [2/2]

ChildIterator ( const Container * container,
int index )
inline

Member Function Documentation

◆ operator*()

RefPtr< LayoutNode > operator* ( ) const
inline

◆ operator++() [1/2]

ChildIterator & operator++ ( )
inline

◆ operator++() [2/2]

ChildIterator operator++ ( int )
inline

◆ operator==

bool operator== ( const ChildIterator & ,
const ChildIterator &  )
friend

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