Nuke binary plugins 15.1.5
 
Loading...
Searching...
No Matches
DD::Image::ChannelSetIterator Class Reference

#include <ChannelSet.h>

Public Member Functions

 ChannelSetIterator (const ChannelSet &channels, bool end=false)
 
 ChannelSetIterator (const ChannelSet &channels)
 
Channeloperator++ ()
 
bool operator!= (const ChannelSetIterator &other)
 
Channeloperator* ()
 

Detailed Description

An iterator for ChannelSets. This provides just enough to support C++ ranged-for loops and no more. for ( Channel z : channels ) { ... } N.B. In particular, operator!= doesn't check that the iterators are iterating the same ChannelSet. This is because comparing a ChannelSet is slow and we want for loops to have the same performance as the old "foreach" macro.



©2024 The Foundry Visionmongers, Ltd. All Rights Reserved.
www.foundry.com