Developer Documentation
Loading...
Searching...
No Matches
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.

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

Definition at line 634 of file PluginFunctions.hh.

Constructor & Destructor Documentation

◆ ObjectReferenceRange()

PluginFunctions::ObjectReferenceRange::ObjectReferenceRange ( IteratorRestriction  _restriction = ALL_OBJECTS,
DataType  _dataType = DATA_ALL 
)
inlineexplicit

Definition at line 636 of file PluginFunctions.hh.

Member Function Documentation

◆ begin()

ObjectReferenceIterator PluginFunctions::ObjectReferenceRange::begin ( ) const
inline

Definition at line 642 of file PluginFunctions.hh.

◆ end()

ObjectReferenceIterator PluginFunctions::ObjectReferenceRange::end ( ) const
inline

Definition at line 646 of file PluginFunctions.hh.

Member Data Documentation

◆ dataType_

DataType PluginFunctions::ObjectReferenceRange::dataType_
private

Definition at line 652 of file PluginFunctions.hh.

◆ restriction_

IteratorRestriction PluginFunctions::ObjectReferenceRange::restriction_
private

Definition at line 651 of file PluginFunctions.hh.


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