MeshLib Documentation
Loading...
Searching...
No Matches
MR::ViewportIterator Class Reference

iterates over all ViewportIds in given ViewportMask More...

#include <MRViewportId.h>

Public Types

using iterator_category = std::forward_iterator_tag
 
using value_type = ViewportId
 

Public Member Functions

 ViewportIterator ()=default
 constructs end iterator
 
 ViewportIterator (ViewportMask mask)
 constructs begin iterator
 
ViewportIteratoroperator++ ()
 
ViewportMask mask () const
 
ViewportId operator* () const
 

Detailed Description

iterates over all ViewportIds in given ViewportMask

Member Typedef Documentation

◆ iterator_category

using MR::ViewportIterator::iterator_category = std::forward_iterator_tag

◆ value_type

Constructor & Destructor Documentation

◆ ViewportIterator() [1/2]

MR::ViewportIterator::ViewportIterator ( )
default

constructs end iterator

◆ ViewportIterator() [2/2]

MR::ViewportIterator::ViewportIterator ( ViewportMask mask)
inline

constructs begin iterator

Member Function Documentation

◆ mask()

ViewportMask MR::ViewportIterator::mask ( ) const
inline

◆ operator*()

ViewportId MR::ViewportIterator::operator* ( ) const
inline

◆ operator++()

ViewportIterator & MR::ViewportIterator::operator++ ( )
inline

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