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

#include <AppCore/layout/Container.h>

Overview

A range over the container's children:

for (RefPtr<LayoutNode> child : container->children()) { ... }
A nullable smart pointer.
Definition RefPtr.h:126

The range reads through child_at(), so mutating the child list while iterating skews the walk. Collect handles first when a loop mutates.

Public Member Functions

 ChildRange (const Container *container, int count)
ChildIterator begin () const
ChildIterator end () const

Constructor & Destructor Documentation

◆ ChildRange()

ChildRange ( const Container * container,
int count )
inline

Member Function Documentation

◆ begin()

ChildIterator begin ( ) const
inline

◆ end()

ChildIterator end ( ) const
inline

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