Developer Documentation
PluginFunctions::ObjectReferenceRange Class Reference

Range adapter for ObjectIterator. More...

#include <OpenFlipper/BasePlugin/PluginFunctions.hh>

Public Member Functions

 ObjectReferenceRange (IteratorRestriction _restriction=ALL_OBJECTS, DataType _dataType=DATA_ALL)
ObjectReferenceIterator begin () const
ObjectReferenceIterator end () const

Private Attributes

IteratorRestriction restriction_
DataType dataType_

Detailed Description

Range adapter for ObjectIterator.

An iterator range suitable for iterating over objects using a C++11 range-based for loop.

Use the PluginFunction::objectReferences factory function as a shorthand for creating object ranges.

Definition at line 624 of file PluginFunctions.hh.

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