Mapper  0.9.0
API documentation
Classes | Public Member Functions | List of all members
OpenOrienteering::MapEditorToolBase::ObjectsRange Class Reference

An accessor to the active objects in a std::vector<EditedItem>. More...

#include <tool_base.h>

Classes

struct  iterator
 

Public Member Functions

 ObjectsRange (container &items)
 
iterator begin () noexcept
 
iterator end () noexcept
 

Detailed Description

An accessor to the active objects in a std::vector<EditedItem>.

This makes the edited objects available in range-for loops by providing forward iteration, but hides the implementation details.

Constructor & Destructor Documentation

◆ ObjectsRange()

OpenOrienteering::MapEditorToolBase::ObjectsRange::ObjectsRange ( container &  items)
inlineexplicit

Member Function Documentation

◆ begin()

iterator OpenOrienteering::MapEditorToolBase::ObjectsRange::begin ( )
inlinenoexcept

◆ end()

iterator OpenOrienteering::MapEditorToolBase::ObjectsRange::end ( )
inlinenoexcept

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