Developer Documentation
PluginFunctions::ObjectRange Class Reference

Range adapter for ObjectIterator. More...

#include <OpenFlipper/BasePlugin/PluginFunctions.hh>

Public Member Functions

 ObjectRange (IteratorRestriction _restriction=ALL_OBJECTS, DataType _dataType=DATA_ALL)
 
ObjectIterator begin () const
 
ObjectIterator 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.

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

Definition at line 594 of file PluginFunctions.hh.


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